Class CreateAgentRequest
Inheritance
CreateAgentRequest
Assembly: Seclai.dll
Syntax
public sealed class CreateAgentRequest
Properties
AgentDefinition
Optional payload in the same format produced by GET /agents/{id}/export.
When provided, replaces any template-derived workflow and pre-fills metadata/trigger
fields the request does not specify explicitly. Validation errors include 1-indexed
line/column references against a canonical pretty-printed echo of the supplied payload
(returned as AgentDefinitionImportErrorResponse on HTTP 422).
Declaration
[JsonPropertyName("agent_definition")]
public Dictionary<string, JsonElement>? AgentDefinition { get; set; }
Property Value
Description
Declaration
[JsonPropertyName("description")]
public string? Description { get; set; }
Property Value
EntityRemap
Optional UUID-substitution map applied to the imported workflow before save.
Keys are source-account UUIDs (as returned by POST /agents/preview-import's
unresolved_refs); values are the target-account UUIDs to substitute. Used to
relink knowledge bases, memory banks, source connections, and sub-agents on
cross-account imports.
Declaration
[JsonPropertyName("entity_remap")]
public Dictionary<string, string>? EntityRemap { get; set; }
Property Value
IsPublic
Declaration
[JsonPropertyName("is_public")]
public bool? IsPublic { get; set; }
Property Value
Name
Declaration
[JsonPropertyName("name")]
public string? Name { get; set; }
Property Value
SolutionId
Declaration
[JsonPropertyName("solution_id")]
public string? SolutionId { get; set; }
Property Value
Declaration
[JsonPropertyName("tags")]
public List<string>? Tags { get; set; }
Property Value