get
https://api-v2.pandavideo.com.br/comparison/
Retrieves the full details of a specific A/B test, including participating videos.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
GET /comparison/{id}
{id}Returns a single A/B test with its full list of video variants.
AuthorizationRequires a valid API Key in the
Authorizationheader. Send the key directly — noBearerprefix.
HTTP Method & Path
GET /comparison/{id}
Base URL: https://api-v2.pandavideo.com.br
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | A/B test identifier — always starts with 636f6d70-. |
Response
Success Response (200)
{
"id": "636f6d70-e29b-41d4-a716-446655440000",
"name": "Thumb test — Q1",
"description": "Comparing 2 thumbnails for the welcome video.",
"status": "IN_PROGRESS",
"user_id": "11111111-2222-3333-4444-555555555555",
"winner_video_id": null,
"started_at": "2025-01-15T10:00:00.000Z",
"ended_at": null,
"created_at": "2025-01-15T09:30:00.000Z",
"updated_at": "2025-01-15T10:00:00.000Z",
"videos": [
{
"id": "f1f2f3f4-aaaa-bbbb-cccc-d1d2d3d4d5d6",
"title": "Welcome — variant A",
"description": "Calmer intro.",
"status": "converted",
"folder_id": null,
"video_external_id": "abc123",
"config": {},
"created_at": "2025-01-10T10:00:00.000Z",
"metadata": { "length": 120 }
},
{
"id": "f1f2f3f4-aaaa-bbbb-cccc-d1d2d3d4d5d7",
"title": "Welcome — variant B",
"description": "Punchier intro.",
"status": "converted",
"folder_id": null,
"video_external_id": "abc124",
"config": {},
"created_at": "2025-01-10T10:00:00.000Z",
"metadata": { "length": 120 }
}
],
"pullzone": "myzone"
}Response Schema
| Field | Type | Description |
|---|---|---|
id | string | Comparison id (636f6d70-… prefix). |
name / description | string | Author‑supplied metadata. |
status | string | DRAFT | IN_PROGRESS | COMPLETED. |
winner_video_id | string | null | Set when status=COMPLETED. |
started_at / ended_at | string (ISO date‑time) | null | Lifecycle timestamps. |
videos[] | array | Attached variants (joined through comparison_video; the join row is stripped from the response). |
videos[].id | string (uuid) | Video identifier. |
videos[].title / description | string | Video metadata. |
videos[].status | string | Video processing status (converted, etc.). |
videos[].video_external_id | string | External provider id for the player URL. |
videos[].metadata | object | Includes length (seconds). |
videos[].config | object | Player configuration. |
pullzone | string | User CDN pullzone — combine with video_external_id to build the player URL: https://player-{pullzone}.tv.pandavideo.com.br/embed/?v={video_external_id}. |
Error Responses
- 401 — missing/invalid API Key.
- 500 —
"Library not found","Comparison not found", or any other internal error. The handler does not distinguish 404 from 500 for unknown IDs.
Example Usage
cURL
curl --request GET \
--url 'https://api-v2.pandavideo.com.br/comparison/636f6d70-e29b-41d4-a716-446655440000' \
--header 'Authorization: <your-api-key>'