Skip to Content
Get a 'generate-chapters' job
get

Retrieves the current status and results of a 'generate-chapters' job.

Request path & query params
JOB_ID
string
get
200
/robots/v0/jobs/generate-chapters/{JOB_ID}
Response
(application/json)
{
  "data": {
    "id": "rjob_example123",
    "workflow": "generate-chapters",
    "status": "completed",
    "units_consumed": 1,
    "created_at": 1700000000,
    "updated_at": 1700000060,
    "parameters": {
      "asset_id": "mux_asset_123abc"
    },
    "outputs": {
      "chapters": [
        {
          "start_time": 0,
          "title": "Introduction"
        },
        {
          "start_time": 45,
          "title": "Setting Up the Workspace"
        },
        {
          "start_time": 180,
          "title": "Core Implementation"
        },
        {
          "start_time": 420,
          "title": "Testing and Debugging"
        },
        {
          "start_time": 600,
          "title": "Wrap-Up and Next Steps"
        }
      ]
    }
  }
}