Skip to main content
GET
/
short
Get Video Generation Status
curl --request GET \
  --url https://longstories.ai/api/v1/short \
  --header 'x-api-key: <api-key>'
{
  "data": {
    "status": "COMPLETED",
    "isCompleted": true,
    "isSuccess": true,
    "output": {
      "url": "https://storage.example.com/videos/abc123.mp4",
      "size": 15728640
    },
    "error": null,
    "projectId": "proj_123abc"
  },
  "requestId": "req_123abc"
}

Base URL

https://longstories.ai/api/v1

Authorizations

x-api-key
string
header
required

Your API key for authenticating requests. Example: 'x-api-key: MY_SECRET_KEY'

Query Parameters

runId
string
required

The generation run ID previously returned by the POST /short call.

Response

Successfully retrieved the run's current status and, if complete, the video download URL and size.

Generic success envelope containing data and a request identifier.

data
object
required

Describes the current progress or final result of a video generation.

requestId
string

Unique identifier associated with the request for debugging/tracking.