Run an agent, track progress and download outputs.
Query | Type | Default | Notes |
---|---|---|---|
limit | integer (1-100) | all | Caps the number of agents returned (newest first) |
mk_…
) or X-API-Key
header
The endpoint returns only your agents; there is no global marketplace yet. Results are sorted by created_at
descending.
Field | Type | Required | Description |
---|---|---|---|
file_id | string (uuid-v4 or youtube_<videoId> ) | ✅ | Upload UUID or YouTube video ID prefixed with youtube_ |
agent_id | string (UUID) | ⚠️ | ID of the agent to run (mutually exclusive with prompt ) |
prompt | string | ⚠️ | Natural-language instruction; Mosaic picks an agent & parameters (mutually exclusive with agent_id ) |
parameters | object | Key-value overrides for agent fields | |
auto | boolean | Let Mosaic choose optimal parameters (only used with agent_id ) |
agent_id
OR prompt
, not both. To process a public YouTube video without uploading, pass a file_id
like youtube_dQw4w9WgXcQ
.Field | Type | Required | Description |
---|---|---|---|
agent_run_node_id (path) | UUID | ✅ | ID of the node to retry. Must currently have status=failed . |
mk_…
) or Supabase session. Anonymous requests are rejected with 401
.
not_started
; the parent run switches back to `