Class UpdateAgentRequest
Inheritance
UpdateAgentRequest
Assembly: Seclai.dll
Syntax
public sealed class UpdateAgentRequest
Properties
AgentDefinition
Optional payload in the same format produced by GET /agents/{id}/export.
When provided, the agent's workflow is replaced from agent.definition and
metadata fields the request does not set explicitly are taken from the payload.
Unlike POST /agents, update does NOT apply alert_configs,
evaluation_criteria, governance_policies, schedules, or
solution links from the imported file. Validation errors are 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
(same shape as on POST /agents).
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