Class AgentImportPreviewResponse
Summary of a successfully validated agent_definition import payload (no DB writes).
Counts reflect what the payload requested; cross-account skips (recipients, KB names) only happen on commit.
Inherited Members
Namespace: Seclai.Models
Assembly: Seclai.dll
Syntax
public sealed class AgentImportPreviewResponse
Properties
AgentName
Imported agent name, if any.
Declaration
[JsonPropertyName("agent_name")]
public string? AgentName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AlertConfigs
Number of alert configs in the payload.
Declaration
[JsonPropertyName("alert_configs")]
public int AlertConfigs { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Description
Imported agent description, if any.
Declaration
[JsonPropertyName("description")]
public string? Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EvaluationCriteria
Number of evaluation criteria in the payload.
Declaration
[JsonPropertyName("evaluation_criteria")]
public int EvaluationCriteria { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
GovernancePolicies
Number of agent-scoped governance policies in the payload.
Declaration
[JsonPropertyName("governance_policies")]
public int GovernancePolicies { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Ok
Always true on a 200 response; failures use HTTP 422.
Declaration
[JsonPropertyName("ok")]
public bool Ok { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
PayloadExportVersion
Export-format version the payload claims (or null for legacy payloads). Differences against SupportedExportVersion indicate cross-version imports.
Declaration
[JsonPropertyName("payload_export_version")]
public string? PayloadExportVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Schedules
Number of trigger schedules in the payload.
Declaration
[JsonPropertyName("schedules")]
public int Schedules { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Solutions
Number of solutions the source agent belonged to. Solutions are matched by name in the target account; unmatched names are silently skipped on commit.
Declaration
[JsonPropertyName("solutions")]
public int Solutions { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StepCount
Total number of steps in the workflow tree (recursive).
Declaration
[JsonPropertyName("step_count")]
public int StepCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
SupportedExportVersion
Export-format version this server understands.
Declaration
[JsonPropertyName("supported_export_version")]
public string? SupportedExportVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UnresolvedRefs
Entity references in the imported workflow that don't exist in the target account.
Each entry contains category, ref_id, optional ref_name,
locations, and alternatives. Pass {source_uuid: target_uuid}
as entity_remap on the create/update call to substitute these references
before save.
Declaration
[JsonPropertyName("unresolved_refs")]
public List<Dictionary<string, JsonElement>>? UnresolvedRefs { get; set; }
Property Value
| Type | Description |
|---|---|
| List<Dictionary<string, JsonElement>> |