Skip to main content

Status

Check the status of generate.

Request

GEThttps://api.fliki.ai/v1/generate/status

Headers

{
"Content-type": "application/json",
"Authorization": "Bearer API_KEY"
}
KeyValueDescription
Content-Typeapplication/jsonSpecifies that the request body format is JSON, allowing the server to parse the data correctly.
AuthorizationBearer YOUR_API_KEYGenerate your API Key in the account/api. section and replace YOUR_API_KEY with your actual key.

Query params

{
"fileId": String
}

Obtain fileId from the response of the audio, video, or template generate endpoints.

Response

{
"fileId": String,
"status": "queued" | "processing" | "success" | "error" | "canceled",
"progress": Number | undefined,
"download": String | undefined // CDN URL, only present when status is "success"
}
KeyTypeDescription
fileIdstringThe unique identifier for the file.
statusstringThe current generation status: queued, processing, success, error, or canceled.
progressnumber | undefinedThe progress percentage of the file generation (if available).
downloadstring | undefinedThe CDN URL to download the finished file. Only present once status is success.
note

status and download track the final exported file. This is a separate asset from the per-scene voiceover you can hear when opening the file in the Fliki editor. A file can be playable in the editor while its export is still queued or processing; the download URL only becomes available after the export completes (status: "success"). Poll every few seconds, or use the webhook (see audio) to be notified on completion.

Example

cURL Request
curl  
-H "Authorization: Bearer <API KEY>"
-H "Content-Type: application/json"
-G -d "fileId=..."
-X GET https://api.fliki.ai/v1/generate/status