Skip to Content
Get a 'generate-contextual-text' job
get

Retrieves the current status and generated text artifacts. Jobs are automatically deleted after 30 days.

Request path & query params
JOB_ID
string

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

get
200
https://api.mux.com/robots/v1/jobs/generate-contextual-text/{JOB_ID}
Response
(application/json)
{
  "data": {
    "id": "rjob_example123",
    "workflow": "generate-contextual-text",
    "status": "completed",
    "units_consumed": 1,
    "created_at": 1700000000,
    "updated_at": 1700000060,
    "parameters": {
      "asset_id": "mux_asset_123abc",
      "output_steering": {
        "audience": "Video developers",
        "voice": "conversational"
      },
      "variants": [
        {
          "key": "product_led",
          "instructions": "Use a promotional, product-led angle."
        },
        {
          "key": "insight_led",
          "instructions": "Use an educational, insight-led angle."
        }
      ],
      "artifacts": [
        {
          "key": "x_post",
          "channel": "x",
          "max_length": {
            "unit": "characters",
            "value": 280
          }
        },
        {
          "key": "blog_post",
          "max_length": {
            "unit": "words",
            "value": 1200
          },
          "format": "markdown"
        }
      ]
    },
    "outputs": {
      "variants": [
        {
          "key": "insight_led",
          "artifacts": [
            {
              "key": "x_post",
              "content": "The hard part of repurposing video isn't generating more words. It's keeping every piece grounded in the original story."
            },
            {
              "key": "blog_post",
              "content": "# Why video repurposing breaks down after the first draft\n\nMost content workflows treat every deliverable as a separate generation problem. A shared source keeps the whole set grounded."
            }
          ]
        }
      ]
    }
  }
}