Read editor timeline
Read an editor session timeline on the display clock: editVersion, durationSeconds, transcript lines, optional word timestamps and pauses, uploaded assets, timeline placements, VFX assets, and canonical /edit deep link. Costs 0 credits.
Request examples
curl -sS "https://hitfactorapp.com/api/v1/editor/timeline" \
-H "x-api-key: $HITFACTOR_API_KEY"const response = await fetch("https://hitfactorapp.com/api/v1/editor/timeline", {
headers: {
"x-api-key": process.env.HITFACTOR_API_KEY!,
},
})
const { data, meta } = await response.json()
console.log(data, meta)curl -sS -X POST "https://hitfactorapp.com/api/v1/mcp" \
-H "Content-Type: application/json" \
-H "x-api-key: $HITFACTOR_API_KEY" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "editor_get_timeline",
"arguments": {
"sessionId": "edsess_01j9example0000000000000",
"wordsFrom": 0,
"wordsTo": 0,
"pauses": 0.1
}
}
}'Parameters
sessionIdquerystringrequiredminLength: 1wordsFromquerynumbermin: 0wordsToquerynumbermin: 0pausesquerynumbermin: 0.1max: 10Response (200 OK)
Every successful response wraps the payload in data alongside billing and request metadata in meta.
sessionIdstringrequirededitVersionintegerrequiredmin: -9007199254740991max: 9007199254740991durationSecondsnumberrequiredacamobjectShow object fields
assetIdstringrequiredfaceobjectrequirednullableShow object fields
cxnumberrequiredcynumberrequiredhnumberrequiredforegroundMask"PROCESSING" | "COMPLETE" | "FAILED"requirednullablelinesobject[]requiredShow item fields
startnumberrequiredendnumberrequiredtextstringrequiredplacementsobject[]requiredShow item fields
oidstringrequiredassetIdstringrequirednamestringrequiredkindstringrequiredstartnumberrequiredendnumberrequiredmodestringrequiredbehindbooleantimelapseobjectShow object fields
speednumberrequiredfitbooleanrequiredeasedbooleanrequiredlookobjectassetsobject[]requiredShow item fields
idstringrequiredkindstringrequirednamestringrequiredstatusstringrequiredreadybooleanrequireddurationSecondsnumberrequirednullablewidthintegerrequirednullablemin: -9007199254740991max: 9007199254740991heightintegerrequirednullablemin: -9007199254740991max: 9007199254740991hasAudiobooleanrequiredvfxAssetsobject[]requiredShow item fields
idstringrequirednamestringrequireddurationSecondsnumberrequiredstatusstringrequiredspecKindstringrequirednullablewordsobject[]Show item fields
textstringrequiredatnumberrequiredpausesobject[]Show item fields
fromSecondsnumberrequiredtoSecondsnumberrequiredsecondsnumberrequiredbeforestringrequiredafterstringrequiredseambooleanrequirededitUrlstring (uri)requirednullableExample 200 response
{
"data": {
"sessionId": "edsess_01j9example0000000000000",
"editVersion": -9007199254740991,
"durationSeconds": 0.85,
"acam": {
"assetId": "edasset_01j9example0000000000000",
"face": {
"cx": 0.85,
"cy": 0.85,
"h": 0.85
},
"foregroundMask": "PROCESSING"
},
"lines": [
{
"start": 0.85,
"end": 0.85,
"text": "Every developer builds an AI agent demo in an afternoon, then watches it loop forever in production. Here are the three fixes that actually hold up."
}
],
"placements": [
{
"oid": "br_01j9example",
"assetId": "edasset_01j9example0000000000000",
"name": "example_name",
"kind": "example_kind",
"start": 0.85,
"end": 0.85,
"mode": "example_mode",
"behind": true,
"timelapse": {
"speed": null,
"fit": null,
"eased": null
},
"look": {}
}
],
"assets": [
{
"id": "example_id",
"kind": "example_kind",
"name": "example_name",
"status": "example_status",
"ready": true,
"durationSeconds": 0.85,
"width": -9007199254740991,
"height": -9007199254740991,
"hasAudio": true
}
],
"vfxAssets": [
{
"id": "example_id",
"name": "example_name",
"durationSeconds": 0.85,
"status": "example_status",
"specKind": "example_specKind"
}
],
"words": [
{
"text": "Every developer builds an AI agent demo in an afternoon, then watches it loop forever in production. Here are the three fixes that actually hold up.",
"at": 0.85
}
],
"pauses": [
{
"fromSeconds": 0.85,
"toSeconds": 0.85,
"seconds": 0.85,
"before": "example_before",
"after": "example_after",
"seam": true
}
],
"editUrl": "https://hitfactorapp.com/acme/videos/proj_01j9example0000000000000/edit"
},
"meta": {
"requestId": "req_01j9example0000000000000",
"creditsCharged": 1,
"creditsRemaining": 499,
"replayed": false
}
}Error responses
400invalid_input401Missing or invalid API key402insufficient_credits403insufficient_scope404operation_not_found409channel_sync_pending or idempotency_conflict429rate_limited