Generate Chapters (v0)

Get a 'generate-chapters' job

Changed on

Deprecated: use GET /robots/v1/jobs/generate-chapters/{job_id} instead. 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}

Request

  • Base URL
    https://api.mux.com
  • Auth
    • HTTP basic
    • or HTTP bearer

Path parameters

JOB_IDstring required

Robots job ID returned by job creation or listing (rjob_...).

Response

Current status for the requested job

Example response

{
  "data": {
    "parameters": {
      "asset_id": "mux_asset_123abc",
      "update_asset_chapters": true,
      "output_steering": {
        "chapter_style": "descriptive",
        "chapter_granularity": "balanced",
        "audience": "Developers"
      }
    },
    "resources": {
      "assets": [
        {
          "id": "abc123asset",
          "meta": {
            "title": "My Video",
            "creator_id": "user123",
            "external_id": "ext456"
          },
          "_links": {
            "self": {
              "href": "/video/v1/assets/abc123asset"
            }
          }
        }
      ]
    },
    "outputs": {
      "asset_updates": {
        "chapters": {
          "status": "created",
          "track_id": "chaptersabc123def456"
        }
      },
      "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"
        }
      ]
    }
  }
}

Changes

    • info

      endpoint deprecated

    • info

      api operation id get-generate-chapters-job removed and replaced with get-generate-chapters-job-v0

    • info

      api tag Generate Chapters (v0) added

    • info

      api tag Generate Chapters removed