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.
Inherited Members
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 |