Using the API
Rich Transcripts Collection
Entity Collection
Common Collection Operations
Extraction
Extract from Video
Creates a new extract
POST
/
extract
Copy
curl --request POST \
--url https://api.cloudglue.dev/v1/extract \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "<string>",
"prompt": "<string>",
"schema": {},
"enable_video_level_entities": false,
"enable_segment_level_entities": true
}'
Copy
{
"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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Extract structured data from a video
The body is of type object
.
Response
200
application/json
Successful response
The response is of type object
.
Copy
curl --request POST \
--url https://api.cloudglue.dev/v1/extract \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "<string>",
"prompt": "<string>",
"schema": {},
"enable_video_level_entities": false,
"enable_segment_level_entities": true
}'
Copy
{
"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>"
}
Assistant
Responses are generated using AI and may contain mistakes.