---
title: "POST robots.job.find_key_moments.cancelled"
method: POST
path: "robots.job.find_key_moments.cancelled"
---

# POST robots.job.find_key_moments.cancelled

`POST robots.job.find_key_moments.cancelled` (webhook)

## Payload

- object
  - `type` 'robots.job.find_key_moments.cancelled', required — Type for the webhook event
  - `id` string, required — Unique identifier for the event
  - `created_at` string, date-time, required — Time the event was created
  - `object` object, required
    - `type` string, required
    - `id` string, required
  - `environment` object, required
    - `name` string, required — Name for the environment
    - `id` string, required — Unique identifier for the environment
  - `attempts` object[], required — Attempts for sending out the webhook event
    - `webhook_id` integer — Unique identifier for the webhook
    - `response_status_code` integer — HTTP response status code for the webhook attempt
    - `response_headers` object — HTTP response headers for the webhook attempt
    - `response_body` string, nullable — HTTP response body for the webhook attempt
    - `max_attempts` integer — Max attempts number for the webhook attempt
    - `id` string — Unique identifier for the webhook attempt
    - `created_at` string, date-time — Time the webhook request was attempted
    - `address` string — URL address for the webhook attempt
  - `request_id` string, nullable
  - `accessor` string, nullable
  - `accessor_source` string, nullable
  - `data` object, required — The job that triggered the webhook event. In the actual payload this is nested under a dynamic event name key (e.g. `robots.job.summarize.completed`), not at the top level.
    - `id` string, required — Unique job identifier.
    - `passthrough` string — Arbitrary string supplied at creation, returned as-is.
    - `units_consumed` integer, required — Number of Mux AI units consumed by this job.
    - `created_at` integer, required — Unix timestamp (seconds) when the job was created.
    - `updated_at` integer, required — Unix timestamp (seconds) when the job was last updated.
    - `workflow` 'find-key-moments', required
    - `parameters` object, required
      - `asset_id` string, required — The Mux asset ID of the video to analyze.
      - `max_moments` integer — Maximum number of key moments to extract. Defaults to 5.
      - `target_duration_ms` object — Preferred highlight duration range in milliseconds. When provided, the model will aim to select moments within this range.
        - `min` integer, required — Preferred minimum highlight duration in milliseconds.
        - `max` integer, required — Preferred maximum highlight duration in milliseconds.
    - `status` 'pending' | 'processing' | 'completed' | 'errored' | 'cancelled', required — Current job status.
    - `outputs` object — Workflow results. Present when status is 'completed'.
      - `moments` object[], required — Extracted key moments, ordered by position in the video.
        - `start_ms` number, required — Moment start time in milliseconds.
        - `end_ms` number, required — Moment end time in milliseconds.
        - `cues` object[], required — Contiguous transcript segments that comprise this moment.
          - `start_ms` number, required — Cue start time in milliseconds.
          - `end_ms` number, required — Cue end time in milliseconds.
          - `text` string, required — Transcript text for this cue.
        - `overall_score` number, required — Weighted quality score from 0.0 to 1.0 based on hook strength, clarity, emotional intensity, novelty, and soundbite quality.
        - `title` string, required — Short catchy title for the moment (3-8 words).
        - `audible_narrative` string, required — One-sentence summary of what is being said during the moment.
        - `notable_audible_concepts` string[], required — Multi-word descriptive phrases (2-5 words each) capturing key audible concepts.
        - `visual_narrative` string — One-sentence summary of what is visually happening. Present for video assets only.
        - `notable_visual_concepts` object[] — Scored visual concepts extracted from sampled frames. Present for video assets only.
          - `concept` string, required — Multi-word visual concept (2-5 words).
          - `score` number, required — Relevance score from 0.0 to 1.0 measuring how closely the visual concept relates to the audible narrative.
          - `rationale` string, required — Brief explanation of the relevance score.
    - `errors` object[] — Error details. Present when status is 'errored'.
      - `type` string, required — Stable public error category identifier.
      - `message` string, required — Human-readable public error message.
      - `retryable` boolean — Whether retrying this job may resolve the error.
    - `resources` object — Related Mux resources linked to this job.
      - `assets` object[], required — Mux assets associated with this job.
        - `id` string, required — Mux asset ID.
        - `meta` object — Mux asset metadata, if available.
          - `title` string — Asset title from Mux metadata.
          - `creator_id` string — Creator identifier from Mux metadata.
          - `external_id` string — External identifier from Mux metadata.
        - `passthrough` string — Passthrough string from the Mux asset.
        - `_links` object, required — Hypermedia links for the asset.
          - `self` object, required
            - `href` string, required — URL to the Mux asset resource.

## Acknowledgement `200`

Return a 200 to indicate that the data was received successfully

---

[API](https://skmtc.net/muxinc/apis/mux-api.md) · [All operations](https://skmtc.net/muxinc/apis/mux-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/muxinc/mux-api/versions/34a65dce0f31/schema)
