Agents

Get agent run status

Retrieve the current status, credit-blocked state (needs_credits), and outputs of an agent run.

get/agent_run/{run_id}

Request

  • Base URL
    https://api.mosaic.so
  • URL
    https://api.mosaic.so/agent_run/{run_id}
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Path parameters

run_idstring required

The ID of the agent run

Response

Agent run status retrieved successfully

agent_idstring

ID of the agent that started this run.

started_atstring date-time

When the agent run started

status'running' | 'completed' | 'failed' | 'partial_complete' | 'cancelled'

Current status of the agent run

status_messagestring nullable

Optional message providing details about the current status

needs_creditsboolean

True when one or more runtime tasks in this run are marked needs_credits=true (insufficient credits).

Changes

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