admin

Get agent run

Retrieve a single agent run by ID.

get/v1/admin/agent-runs/{id}

Request

  • Base URL: https://api.patricia.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.patricia.app/v1/admin/agent-runs/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Response

The requested agent run.

idstring uuid required
tenant_idstring uuid required
conversation_idstring uuid nullable
actor_idstring uuid nullable
trigger_code'mention' | 'dm' | 'message' | 'proactive' | 'cron' | 'event' | 'heartbeat' | 'discovery' | 'onboarding' | 'manual' | 'spawn' required
message_excerptstring nullable
status_code'queued' | 'running' | 'waiting_approval' | 'suspended' | 'completed' | 'failed' | 'cancelled' | 'denied_autonomous' required
truncatedboolean
no_resultboolean
silentboolean
modelstring required
input_tokensinteger required
output_tokensinteger required
cache_read_tokensinteger required
cache_write_tokensinteger required
cost_micro_usdinteger required
budget_micro_usdinteger nullable
duration_msinteger nullable
errorstring nullable
started_atstring date-time nullable
completed_atstring date-time nullable
created_atstring date-time required
updated_atstring date-time required
creditsinteger required

Credits fixed when the run finished, with live-rate conversion for runs without a snapshot.

Changes

No recorded changes to this operation across all 1 revision of this API.