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 via the generate template endpoint.

Response

{
"fileId": String,
"status": String,
"progress": Number | undefined,
"download": String | undefined
}
KeyTypeDescription
fileIdstringThe unique identifier for the file.
statusstringIndicates whether the file generation status.
progressnumber | undefinedThe progress percentage of the file generation (if available).
downloadstring | undefinedThe URL to download the file (if available).

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

I'm a text that doesn't belong to any tab. So I'm always visible.