Get editor asset status
Return processing status (PENDING, PROCESSING, READY, FAILED), duration, dimensions, proxy readiness, and canonical /edit deep link for an editor asset. Costs 0 credits.
Request examples
curl -sS "https://hitfactorapp.com/api/v1/editor/assets/status" \
-H "x-api-key: $HITFACTOR_API_KEY"const response = await fetch("https://hitfactorapp.com/api/v1/editor/assets/status", {
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_asset_status",
"arguments": {
"assetId": "edasset_01j9example0000000000000",
"sessionId": "edsess_01j9example0000000000000"
}
}
}'Parameters
assetIdquerystringrequiredminLength: 1maxLength: 120sessionIdquerystringminLength: 1maxLength: 120Response (200 OK)
Every successful response wraps the payload in data alongside billing and request metadata in meta.
assetIdstringrequiredsessionIdstringrequiredprojectIdstringrequirednullablekindenum (7 values)required"UPLOAD""CLIP""BCAM""VFX""EXPORT""DUB""IMAGE"namestringrequirednullablestatus"PENDING" | "PROCESSING" | "READY" | "FAILED"requiredassetStatus"PENDING" | "PROCESSING" | "COMPLETE" | "FAILED"requireddurationMsintegerrequirednullablemin: -9007199254740991max: 9007199254740991durationSecondsnumberrequirednullablewidthintegerrequirednullablemin: -9007199254740991max: 9007199254740991heightintegerrequirednullablemin: -9007199254740991max: 9007199254740991hasAudiobooleanrequiredsizeBytesintegerrequirednullablemin: -9007199254740991max: 9007199254740991proxyReadybooleanrequiredproxyUrlstringrequirednullableerrorstringrequirednullableeditUrlstring (uri)requirednullableExample 200 response
{
"data": {
"assetId": "edasset_01j9example0000000000000",
"sessionId": "edsess_01j9example0000000000000",
"projectId": "proj_01j9example0000000000000",
"kind": "UPLOAD",
"name": "example_name",
"status": "PENDING",
"assetStatus": "PENDING",
"durationMs": -9007199254740991,
"durationSeconds": 0.85,
"width": -9007199254740991,
"height": -9007199254740991,
"hasAudio": true,
"sizeBytes": -9007199254740991,
"proxyReady": true,
"proxyUrl": "https://example.com/resource",
"error": "example_error",
"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