Skip to Content
API ReferenceAgentPOST /delete

POST /agent/delete

Delete Agent

Bulk delete agents — composable infra architecture.

Request Body (DeleteAgentApiRequest)

FieldTypeRequiredDescription
agent_idsstring[]NoUUIDs of agents to delete (required on first call when all is false)
allbooleanNoWhen true, delete every agent matching the filter fields below (minus excluded_ids)
excluded_idsstring[]NoUUIDs to skip even when matched by all-mode filters
searchstringNoFull-text search query
filter_department_idsstring[]NoFilter by department UUIDs
filter_model_idsstring[]NoFilter by model UUIDs
filter_tool_idsstring[]NoFilter by tool UUIDs
department_searchstringNoSearch text for department facet (no-op for row filtering)
model_searchstringNoSearch text for model facet (no-op for row filtering)
tool_searchstringNoSearch text for tool facet (no-op for row filtering)
flag_searchstringNoSearch text for flag facet (no-op for row filtering)
idempotency_keystringNoOperation key for ack — confirms or rejects a dormant delete
softbooleanNoStage the delete dormant (active=False) — propose; the ack ({idempotency_key, accept}) promotes/rejects it
acceptbooleanNoAccept (confirm) or reject dormant state. Only meaningful with idempotency_key

Response (DeleteAgentApiResponse)

FieldTypeRequiredDescription
resultsDeleteAgentResult[]YesList of operation results
idempotency_keystringNoIdempotency key echoed back for client correlation
Last updated on