Archive an agent
DELETE
Archives the agent and answers it as it was, with archived_at. Its conversations stop being answered by it and workflows that assign it are paused. Archiving twice answers 404.
Scope: agents:write.
bearerAuthheader
AuthorizationBearer <token>An organization API key, rky_live_…, created in Settings → API. Send it only from a server.
agent_id*stringAgent ID.
Format
uuidSuccess.
application/json- response
data*An AI agent that answers conversations alongside the team.
curl -X DELETE 'https://getricky.ai/api/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "data": { "id": "7e8f9a0b-1c2d-4e3f-a4b5-c6d7e8f9a0b1", "name": "Asistente de ventas", "description": "Atiende consultas de pedidos y horarios.", "instructions": "Saluda por el nombre y confirma el pedido antes de dar la fecha de entrega.", "model": "deepseek/deepseek-v4.1-flash", "voice": "diana", "capabilities": [ "ricky.handoff.request" ], "handoff_user_ids": [ "2d4f6a8c-1b3d-4e5f-8a7b-9c0d1e2f3a4b" ], "created_at": "2026-10-14T15:30:00.000Z", "updated_at": "2026-10-14T15:30:00.000Z", "archived_at": "2026-10-14T15:30:00.000Z" }}