Search Results for

    Show / Hide Table of Contents

    Class AgentDefinitionImportErrorResponse

    422 response body for invalid agent_definition payloads on POST /agents, PUT /agents/{id}, and POST /agents/preview-import.

    Errors carry 1-indexed line/column references into the canonical Source echo.

    Inheritance
    object
    AgentDefinitionImportErrorResponse
    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 AgentDefinitionImportErrorResponse

    Properties

    Error

    Discriminator (defaults to invalid_agent_definition).

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

    Errors

    Per-field errors with source positions.

    Declaration
    [JsonPropertyName("errors")]
    public List<ImportFieldErrorModel> Errors { get; set; }
    Property Value
    Type Description
    List<ImportFieldErrorModel>

    Message

    Human-readable summary of the failure.

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

    Source

    Canonical pretty-printed echo of the supplied payload. Each error's Line and Column refer to this string.

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