media_preview
Retrieve metadata and a temporary playback URL.
REST · POST /api/v1/operations/media_preview · MCP · media_preview
Required scope · read. This operation reads data.
Example request body
{
"id": "RECORD_ID"
}
REST returns the output below directly. In MCP read structuredContent.result. Check the current installation at /api/v1/openapi.json.
For 401 check credential validity. For 403 inspect the role, scopes and selected accounts. For 409 reread the record before retrying.
JSON Schema · Input
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"id"
],
"additionalProperties": false
}
JSON Schema · Output
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"project_id": {
"type": "string"
},
"status": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"type": "object",
"properties": {
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"duration": {
"type": "number"
},
"codec": {
"type": "string"
},
"size": {
"type": "number"
}
},
"required": [
"width",
"height",
"duration",
"codec",
"size"
],
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"url": {
"type": "string"
}
},
"required": [
"id",
"name",
"project_id",
"status",
"metadata",
"url"
],
"additionalProperties": {}
}