Skip to main content
POST /api/v1/cloud/agents/{agent_id}/archive Archives the specified Agent. Archived Agents are hidden from the default list but remain retrievable by ID.

Headers

Path parameters

Request body

No request body.

Example request

Example response

HTTP 200 OK

Response fields

Returns the full Agent object after archival. updated_at reflects the time of the archive operation.

Errors

See Errors for the full error envelope.

Notes

  • Archive retains Agent data.
  • Archived Agents are excluded from the default list returned by GET /api/v1/cloud/agents.
  • Pass include_archived=true on GET /api/v1/cloud/agents to include archived Agents in list results.
  • They remain retrievable via GET /api/v1/cloud/agents/{agent_id}.
  • The operation is idempotent; archiving an already-archived Agent does not raise an error.
  • Archiving does not increment the Agent version and does not create a version snapshot.

Agent setup

Create a reusable, versioned agent configuration.