GET
/
extract
/
{job_id}
Retrieve the current state of an extraction job
curl --request GET \
  --url https://api.cloudglue.dev/v1/extract/{job_id} \
  --header 'Authorization: Bearer <token>'
{
  "job_id": "<string>",
  "status": "pending",
  "url": "<string>",
  "created_at": 123,
  "extract_config": {
    "prompt": "<string>",
    "schema": {},
    "enable_video_level_entities": false,
    "enable_segment_level_entities": true
  },
  "data": {
    "entities": {},
    "segment_entities": [
      {
        "start_time": 123,
        "end_time": 123,
        "entities": {}
      }
    ]
  },
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

job_id
string
required

The unique identifier of the extraction job

Response

Successful response with job details

job_id
string
required
status
enum<string>
required
Available options:
pending,
processing,
completed,
failed,
not_applicable
url
string

The URL of the processed video

created_at
integer

Unix timestamp of when the job was created

extract_config
object

Configuration for automatic entity extraction from videos

data
object

The structured data extracted from the video based on prompt or schema

error
string

Error message if status is 'failed'