List of A/B Tests

Returns a list of all A/B tests associated with the authenticated parent account.

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

GET /comparison

Lists all A/B tests owned by the authenticated user.

📘

Authorization

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

HTTP Method & Path

GET /comparison

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

📘

Trailing slash optional. The Panda dashboard calls GET /comparison/ with a trailing slash; both forms reach the same handler.

Authentication Requirements

HeaderValue
Authorization<your-api-key> (no Bearer prefix)

Response

Success Response (200)

{
  "comparisons": [
    {
      "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"
    }
  ],
  "pullzone": "myzone"
}

Response Schema

FieldTypeDescription
comparisons[]arrayRaw comparison rows (no nested videos at this level — use Get A/B Tests Properties for the variant list).
comparisons[].idstringComparison id — always starts with 636f6d70-.
comparisons[].name / descriptionstringAuthor‑supplied metadata.
comparisons[].statusstringDRAFT | IN_PROGRESS | COMPLETED.
comparisons[].winner_video_idstring | nullSet only when the test is COMPLETED.
comparisons[].started_at / ended_atstring (ISO date‑time) | nullLifecycle timestamps.
pullzonestringUser CDN pullzone, useful to build player URLs.

Error Responses

  • 401 — missing/invalid API Key.
  • 500"Library not found" when the user has no CDN library; any other internal error.

Example Usage

cURL

curl --request GET \
  --url 'https://api-v2.pandavideo.com.br/comparison' \
  --header 'Authorization: <your-api-key>'

Recipes

Responses

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