Transcription jobs
Cancel remaining transcription work
POST
Stops new work and fences late results, then settles only unique committed audio intervals and releases the remaining reservation. Repeating cancellation is safe.
Already committed partial results remain retrievable until expiry. Recognition and alignment retries add no second customer charge. See cancellation.
inferenceBearerAuthheader
AuthorizationBearer <token>Use an Inference API key. Access and keys.
id*stringFormat
uuidIdempotency-Key*stringRequired. Reuse the same key to retry this write safely. Retries and idempotency.
Match
^[A-Za-z0-9!#$%&'*+.^_`|~-]+$Length
1 <= length <= 255application/json- body
Cancel remaining transcription work
application/json- response
id*stringFormat
uuidupload_id*stringFormat
uuidmodel*stringlanguage*stringValue in
"ar""en""auto"timestamp_granularity*stringValue in
"none""chunk""word"status*stringValue in
"validating""awaiting_credits""queued""processing""finalizing""completed""failed""cancelled"phase*stringCurrent preparation, capacity, recognition, alignment, finalization or terminal phase.
duration_ms*|nullprogress*request_id*|nullerror_code*|nullcreated_at*stringFormat
date-timeupdated_at*stringFormat
date-timedeadline_at*stringFormat
date-timecompleted_at*|nullresult_expires_at*|nullcontent_expired*booleanhas_partial_result*booleancurl -X POST 'https://api.kejue.co/v1/inference/transcription-jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "upload_id": "f2ef591b-135b-46fa-a604-3d4fda5bfbfb", "model": "string", "language": "ar", "timestamp_granularity": "none", "status": "validating", "phase": "string", "duration_ms": 0, "progress": { "total_chunks": 0, "completed_chunks": 0, "processed_ms": 0 }, "request_id": "266ea41d-adf5-480b-af50-15b940c2b846", "error_code": "invalid_audio", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "deadline_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z", "result_expires_at": "2019-08-24T14:15:22Z", "content_expired": true, "has_partial_result": true}