Endpoints
Analyze Video
Endpoints
Analyze Video
POST
/
analyze
curl --request POST \
--url https://api.scribesocial.ai/v1/analyze \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"post_url": "<string>",
"callback_url": "<string>",
"query": null
}'
{
"status": "completed",
"operation_id": "<string>",
"data": [
{
"video_summary": "<string>",
"query_result": {
"answer": "<string>"
},
"detected_brands": [
{
"name": "<string>",
"description": "<string>"
}
],
"video_url": "<string>",
"post_url": "<string>",
"description": "<string>",
"transcription": "<string>",
"paragraphs": [
{
"sentences": [
{
"text": "<string>",
"start": 123,
"end": 123
}
],
"num_words": 123,
"start": 123,
"end": 123
}
],
"video_id": "<string>",
"transcribed_duration": 123,
"total_duration": 123,
"status": "completed",
"platform": "<string>",
"title": "<string>",
"metadata": {
"upload_time": "2023-11-07T05:31:56Z",
"comment_count": 123,
"like_count": 123,
"thumbnail": "<string>",
"retweet_count": 123,
"quote_count": 123
}
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Response
200
application/json
Success
Available options:
queued
, in_progress
, failed
, completed
, completed_with_failures
Available options:
in_progress
, failed
, completed
curl --request POST \
--url https://api.scribesocial.ai/v1/analyze \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"post_url": "<string>",
"callback_url": "<string>",
"query": null
}'
{
"status": "completed",
"operation_id": "<string>",
"data": [
{
"video_summary": "<string>",
"query_result": {
"answer": "<string>"
},
"detected_brands": [
{
"name": "<string>",
"description": "<string>"
}
],
"video_url": "<string>",
"post_url": "<string>",
"description": "<string>",
"transcription": "<string>",
"paragraphs": [
{
"sentences": [
{
"text": "<string>",
"start": 123,
"end": 123
}
],
"num_words": 123,
"start": 123,
"end": 123
}
],
"video_id": "<string>",
"transcribed_duration": 123,
"total_duration": 123,
"status": "completed",
"platform": "<string>",
"title": "<string>",
"metadata": {
"upload_time": "2023-11-07T05:31:56Z",
"comment_count": 123,
"like_count": 123,
"thumbnail": "<string>",
"retweet_count": 123,
"quote_count": 123
}
}
]
}