v31

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-28124212862.9 KB
Generate Chapters

Get a 'generate-chapters' job

Retrieves the current status and results of a 'generate-chapters' job. Jobs are automatically deleted after 30 days.

get/robots/v0/jobs/generate-chapters/{JOB_ID}

Path parameters

JOB_IDstring required

Response

Current status for the requested job

Example response

{
  "data": {
    "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"
        }
      ]
    },
    "resources": {
      "assets": [
        {
          "id": "abc123asset",
          "meta": {
            "title": "My Video",
            "creator_id": "user123",
            "external_id": "ext456"
          },
          "_links": {
            "self": {
              "href": "https://api.mux.com/video/v1/assets/abc123asset"
            }
          }
        }
      ]
    }
  }
}