GET
/
story
/
{task_id}

This endpoint allows to poll for updates on the progress of a story task, providing information such as whether the task is in progress, completed, or failed.

Authorizations

x-api-key
string
header
required

The x-api-key is a custom header required for authenticating requests to our API. Include this header in your request with the appropriate API key value to securely access our endpoints. You can find your API key(s) in the 'API' section of our studio website.

Path Parameters

task_id
string
required

A unique identifier for the task. This is used to query the status of the story task that is running. It is returned when a create request is made for a story.

Response

200 - application/json
run_id
integer | null
status
enum<string>
Available options:
SUCCESS,
PENDING,
TIMEOUT,
ERROR,
PAYMENT_REQUIRED