Mager API
Transcription

Ambil status job

GET/api/v1/jobs/{jobId}

Memantau job klip, highlight, atau transkrip mana pun. Status publiknya adalah queued, running, finished, dan failed. Payload terstrukturnya — caption untuk transkrip, daftar klip untuk job klip, URL video untuk highlight — muncul di output begitu job selesai.

Autentikasi

MagerApiKey
x-mager-api-key<token>

API key Mager

Di: header

Parameter path

jobId*string

Parameter header

x-mager-api-key*string

API key Mager

Body response

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/jobs/string" \  -H "x-mager-api-key: YOUR_API_KEY"
{  "status": 200,  "message": "Success",  "data": {    "task_id": "cmclip01hxyz123",    "status": "finished",    "model": null,    "template_id": null,    "callback_url": "https://client.example.com/webhooks/mager",    "created_at": "2026-08-14T06:00:00.000Z",    "updated_at": "2026-08-14T06:00:00.000Z",    "completed_at": "2026-08-14T06:04:00.000Z",    "error": null,    "billing": {      "base_moods": 1,      "charged_moods": 2,      "extra_moods_charged": 2    },    "output": {      "segments": 128,      "captions": [        {          "text": "the first thing we got wrong was pricing",          "start": 12.4,          "end": 15.1,          "words": [            {              "word": "the",              "start": 12.4,              "end": 12.55,              "score": 0.99            }          ]        }      ]    },    "result": [],    "webhooks": []  }}