agents

Get an agent run's status and output

get/v1/agent-runs/{run_id}

Request

  • Base URL: https://barchin.net/api
  • URL: https://barchin.net/api/v1/agent-runs/{run_id}
  • Auth: HTTP bearer

Path parameters

run_idstring uuid required

Query parameters

include_outputboolean

Response

Successful Response

idstring uuid required
agent_slugstring required
statusstring required
inputobject required
credits_heldinteger required
credits_chargedinteger nullable required
refunded_creditsinteger required
children_creditsinteger required
modelstring nullable required
tokens_ininteger nullable required
tokens_outinteger nullable required
cost_breakdownobject nullable
error_codestring nullable required
error_messagestring nullable required
created_atstring date-time required
started_atstring date-time nullable required
finished_atstring date-time nullable required
outputobject nullable required
webhook_urlstring nullable
webhook_statusstring nullable

Changes

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