Search Results for

    Show / Hide Table of Contents

    Class CreateAgentRequest

    Inheritance
    object
    CreateAgentRequest
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Seclai.Models
    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
    Type Description
    Dictionary<string, JsonElement>

    Description

    Declaration
    [JsonPropertyName("description")]
    public string? Description { get; set; }
    Property Value
    Type Description
    string

    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
    Type Description
    Dictionary<string, string>

    IsPublic

    Declaration
    [JsonPropertyName("is_public")]
    public bool? IsPublic { get; set; }
    Property Value
    Type Description
    bool?

    Name

    Declaration
    [JsonPropertyName("name")]
    public string? Name { get; set; }
    Property Value
    Type Description
    string

    SolutionId

    Declaration
    [JsonPropertyName("solution_id")]
    public string? SolutionId { get; set; }
    Property Value
    Type Description
    string

    Tags

    Declaration
    [JsonPropertyName("tags")]
    public List<string>? Tags { get; set; }
    Property Value
    Type Description
    List<string>
    In this article
    Back to top Generated by DocFX