Get A/B Tests Properties

Retrieves the full details of a specific A/B test, including participating videos.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

GET /comparison/{id}

Returns a single A/B test with its full list of video variants.

📘

Authorization

Requires a valid API Key in the Authorization header. Send the key directly — no Bearer prefix.

HTTP Method & Path

GET /comparison/{id}

Base URL: https://api-v2.pandavideo.com.br

Path Parameters

NameTypeRequiredDescription
idstringyesA/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

FieldTypeDescription
idstringComparison id (636f6d70-… prefix).
name / descriptionstringAuthor‑supplied metadata.
statusstringDRAFT | IN_PROGRESS | COMPLETED.
winner_video_idstring | nullSet when status=COMPLETED.
started_at / ended_atstring (ISO date‑time) | nullLifecycle timestamps.
videos[]arrayAttached variants (joined through comparison_video; the join row is stripped from the response).
videos[].idstring (uuid)Video identifier.
videos[].title / descriptionstringVideo metadata.
videos[].statusstringVideo processing status (converted, etc.).
videos[].video_external_idstringExternal provider id for the player URL.
videos[].metadataobjectIncludes length (seconds).
videos[].configobjectPlayer configuration.
pullzonestringUser 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>'

Recipes

Path Params
string
required

A/B test ID (uuid)

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json