Panda Video Comparison API

The Comparison API from Panda Video — 4 operation(s) for comparison.

GitHub OpenAPI

Operations 7

GET /comparison List of A/B Tests #
POST /comparison Create new A/B Test #
DELETE /comparison Delete A/B Tests #
GET /comparison/{id} Get A/B Tests Properties #
PUT /comparison/{id} Start A/B Test #
PUT /comparison/{id}?type=finish End A/B Test #
PUT /comparison/{id}?type=update Update A/B Test #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pandavideo-com:pandavideo-com-comparison-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pandavideo-com-comparison-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: videos Comparison API
  version: '2.0'
servers:
- url: https://api-v2.pandavideo.com.br
security:
- sec0: []
tags:
- name: Comparison
paths:
  /comparison:
    get:
      description: Returns a list of all A/B tests associated with the authenticated parent account.
      responses:
        '200':
          description: ''
          content:
            application/json:
              examples:
                OK:
                  summary: OK
                  value:
                    comparisons:
                    - id: 636f6d70-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                      name: Test name
                      description: Test description
                      status: IN_PROGRESS
                      started_at: '2026-01-01T00:00:00.000Z'
                      ended_at: null
                      winner_video_id: null
                      user_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                      created_at: '2026-01-01T00:00:00.000Z'
                      updated_at: '2026-01-01T00:00:00.000Z'
                    pullzone: https://example.pandavideo.com
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Unauthorized:
                  summary: Unauthorized
                  value:
                    statusCode: 401
                    error: Unauthorized
                    message: Missing or invalid API token
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Internal Server Error:
                  summary: Internal Server Error
                  value:
                    statusCode: 500
                    error: Internal Server Error
                    message: Unexpected server error
      parameters: []
      operationId: get_comparison
      summary: List of A/B Tests
      tags:
      - Comparison
    post:
      description: Creates a new A/B test with a name, description, and optional video IDs.
      responses:
        '200':
          description: ''
          content:
            application/json:
              examples:
                OK:
                  summary: OK
                  value:
                    comparisons:
                      id: 636f6d70-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                      name: Test name
                      description: Test description
                      status: DRAFT
                      started_at: null
                      ended_at: null
                      winner_video_id: null
                      user_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                      created_at: '2026-01-01T00:00:00.000Z'
                      updated_at: '2026-01-01T00:00:00.000Z'
                      videos: []
                    pullzone: https://example.pandavideo.com
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Unauthorized:
                  summary: Unauthorized
                  value:
                    statusCode: 401
                    error: Unauthorized
                    message: Missing or invalid API token
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Forbidden:
                  summary: Forbidden
                  value:
                    statusCode: 403
                    error: Forbidden
                    message: Caller is not a parent account
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Unprocessable Entity:
                  summary: Unprocessable Entity
                  value:
                    statusCode: 422
                    error: Unprocessable Entity
                    message: 'Validation error: missing required fields or invalid data'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Internal Server Error:
                  summary: Internal Server Error
                  value:
                    statusCode: 500
                    error: Internal Server Error
                    message: Unexpected server error
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name of the A/B test
                description:
                  type: string
                  description: Description of the A/B test
                video_ids:
                  type: array
                  items:
                    type: string
                  description: List of video IDs to include. Accepts empty array.
              required:
              - name
              - description
      operationId: post_comparison
      summary: Create new A/B Test
      tags:
      - Comparison
    delete:
      description: Deletes one or more A/B tests (comparisons) in bulk.
      operationId: delete_comparison
      summary: Delete A/B Tests
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - comparison_ids
              properties:
                comparison_ids:
                  type: array
                  description: IDs of the A/B tests to be deleted.
                  items:
                    type: string
                    format: uuid
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                OK:
                  summary: OK
                  value:
                    message: Comparison deleted
        '401':
          description: '401'
          content:
            application/json:
              examples:
                Unauthorized:
                  summary: Unauthorized
                  value:
                    statusCode: 401
                    error: Unauthorized
                    message: Missing or invalid API key.
        '403':
          description: '403'
          content:
            application/json:
              examples:
                Forbidden:
                  summary: Forbidden
                  value:
                    statusCode: 403
                    error: Forbidden
                    message: Insufficient permissions.
        '422':
          description: '422'
          content:
            application/json:
              examples:
                Unprocessable Entity:
                  summary: Unprocessable Entity
                  value:
                    statusCode: 422
                    error: Unprocessable Entity
                    message: Invalid or missing comparison_ids.
        '500':
          description: '500'
          content:
            application/json:
              examples:
                Internal Server Error:
                  summary: Internal Server Error
                  value:
                    statusCode: 500
                    error: Internal Server Error
                    message: An unexpected error occurred.
      tags:
      - Comparison
  /comparison/{id}:
    get:
      description: Retrieves the full details of a specific A/B test, including participating videos.
      responses:
        '200':
          description: ''
          content:
            application/json:
              examples:
                OK:
                  summary: OK
                  value:
                    comparisons:
                      id: 636f6d70-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                      name: Test name
                      description: Test description
                      status: IN_PROGRESS
                      started_at: '2026-01-01T00:00:00.000Z'
                      ended_at: null
                      winner_video_id: null
                      user_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                      created_at: '2026-01-01T00:00:00.000Z'
                      updated_at: '2026-01-01T00:00:00.000Z'
                      videos:
                      - id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                        title: Video A
                        description: Description of video A
                        status: CONVERTED
                        folder_id: null
                        video_external_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                      - id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                        title: Video B
                        description: Description of video B
                        status: CONVERTED
                        folder_id: null
                        video_external_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                    pullzone: https://example.pandavideo.com
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Unauthorized:
                  summary: Unauthorized
                  value:
                    statusCode: 401
                    error: Unauthorized
                    message: Missing or invalid API token
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Forbidden:
                  summary: Forbidden
                  value:
                    statusCode: 403
                    error: Forbidden
                    message: Caller is not a parent account
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Not Found:
                  summary: Not Found
                  value:
                    statusCode: 404
                    error: Not Found
                    message: A/B test with the given ID does not exist
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Internal Server Error:
                  summary: Internal Server Error
                  value:
                    statusCode: 500
                    error: Internal Server Error
                    message: Unexpected server error
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
        description: A/B test ID (uuid)
      operationId: get_comparison-id
      summary: Get A/B Tests Properties
      tags:
      - Comparison
    put:
      description: Starts an A/B test, changing status to IN_PROGRESS.
      operationId: put_comparison_id_start
      summary: Start A/B Test
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: The unique identifier of the A/B test to start
      - name: type
        in: query
        required: true
        schema:
          type: string
          enum:
          - start
        description: Must be "start" to indicate a start operation
      responses:
        '200':
          description: A/B test started successfully
          content:
            application/json:
              examples:
                OK:
                  summary: OK
                  value:
                    id: 636f6d70-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                    name: My A/B Test
                    description: Comparing two video versions
                    status: IN_PROGRESS
                    started_at: '2026-05-08T14:00:00.000Z'
                    ended_at: null
                    winner_video_id: null
                    videos:
                    - video_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                      video_external_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                      title: Video A
                      views: 0
                      play_rate: 0
                      retention: 0
                    - video_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                      video_external_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                      title: Video B
                      views: 0
                      play_rate: 0
                      retention: 0
                    user_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                    created_at: '2026-01-01T00:00:00.000Z'
                    updated_at: '2026-05-08T14:00:00.000Z'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Unauthorized:
                  summary: Unauthorized
                  value:
                    statusCode: 401
                    error: Unauthorized
                    message: Missing or invalid API key
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Forbidden:
                  summary: Forbidden
                  value:
                    statusCode: 403
                    error: Forbidden
                    message: You do not have permission to start this A/B test
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Not Found:
                  summary: Not Found
                  value:
                    statusCode: 404
                    error: Not Found
                    message: No A/B test found with the specified ID
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Internal Server Error:
                  summary: Internal Server Error
                  value:
                    statusCode: 500
                    error: Internal Server Error
                    message: An unexpected error occurred
      tags:
      - Comparison
  /comparison/{id}?type=finish:
    put:
      summary: End A/B Test
      description: Declare a winner and end an A/B test. Sets the winner_video_id, fills ended_at, and changes the test status to COMPLETED. This action is irreversible.
      operationId: put_comparison-id-type-finish
      parameters:
      - name: id
        in: path
        description: Unique ID of the A/B test (prefix 636f6d70-)
        schema:
          type: string
          format: uuid
        required: true
      - name: type
        in: query
        description: Operation type. Must be "finish".
        schema:
          type: string
          default: finish
        required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - winner_video_id
              properties:
                winner_video_id:
                  type: string
                  format: uuid
                  description: ID of the video declared as the winner of the test
      responses:
        '200':
          description: A/B test ended successfully
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                OK:
                  summary: OK
                  value:
                    id: 636f6d70-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                    name: My A/B Test
                    description: Testing two versions
                    status: COMPLETED
                    videos:
                    - video_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                      title: Video A
                      views: 1250
                      weight: 50
                    - video_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                      title: Video B
                      views: 980
                      weight: 50
                    pullzone: https://player-vz-xxxxxxxx.tv.pandavideo.com.br
                    created_at: '2024-01-15T10:30:00.000Z'
                    updated_at: '2024-01-20T16:45:00.000Z'
                    started_at: '2024-01-16T08:00:00.000Z'
                    ended_at: '2024-01-20T16:45:00.000Z'
                    winner_video_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                    user_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                    organization_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Unauthorized:
                  summary: Unauthorized
                  value:
                    statusCode: 401
                    error: Unauthorized
                    message: Missing or invalid API token
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Forbidden:
                  summary: Forbidden
                  value:
                    statusCode: 403
                    error: Forbidden
                    message: No permission to modify this A/B test
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Not Found:
                  summary: Not Found
                  value:
                    statusCode: 404
                    error: Not Found
                    message: A/B test not found
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Unprocessable Entity:
                  summary: Unprocessable Entity
                  value:
                    statusCode: 422
                    error: Unprocessable Entity
                    message: Invalid winner_video_id or test is not in a valid state to finish
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Internal Server Error:
                  summary: Internal Server Error
                  value:
                    statusCode: 500
                    error: Internal Server Error
                    message: Unexpected server error
      deprecated: false
      tags:
      - Comparison
  /comparison/{id}?type=update:
    put:
      summary: Update A/B Test
      description: Update the name, description, or video list of an existing A/B test. Only the fields included in the request body will be updated.
      operationId: put_comparison-id-type-update
      parameters:
      - name: id
        in: path
        description: Unique ID of the A/B test (prefix 636f6d70-)
        schema:
          type: string
          format: uuid
        required: true
      - name: type
        in: query
        description: Operation type. Must be "update".
        schema:
          type: string
          default: update
        required: true
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: New name for the A/B test
                description:
                  type: string
                  description: New description for the A/B test
                video_ids:
                  type: array
                  items:
                    type: string
                  description: List of video UUIDs to include in the test
      responses:
        '200':
          description: A/B test updated successfully
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                OK:
                  summary: OK
                  value:
                    id: 636f6d70-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                    name: Updated test name
                    description: Updated description
                    status: DRAFT
                    videos:
                    - video_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                      title: Video A
                      views: 0
                      weight: 50
                    - video_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                      title: Video B
                      views: 0
                      weight: 50
                    pullzone: https://player-vz-xxxxxxxx.tv.pandavideo.com.br
                    created_at: '2024-01-15T10:30:00.000Z'
                    updated_at: '2024-01-16T14:00:00.000Z'
                    started_at: null
                    ended_at: null
                    winner_video_id: null
                    user_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
                    organization_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Unauthorized:
                  summary: Unauthorized
                  value:
                    statusCode: 401
                    error: Unauthorized
                    message: Missing or invalid API token
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Forbidden:
                  summary: Forbidden
                  value:
                    statusCode: 403
                    error: Forbidden
                    message: No permission to modify this A/B test
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Not Found:
                  summary: Not Found
                  value:
                    statusCode: 404
                    error: Not Found
                    message: A/B test not found
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Unprocessable Entity:
                  summary: Unprocessable Entity
                  value:
                    statusCode: 422
                    error: Unprocessable Entity
                    message: Invalid request body or video IDs
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                Internal Server Error:
                  summary: Internal Server Error
                  value:
                    statusCode: 500
                    error: Internal Server Error
                    message: Unexpected server error
      deprecated: false
      tags:
      - Comparison
components:
  securitySchemes:
    sec0:
      type: apiKey
      name: Authorization
      in: header
x-readme-fauxas: true
x-provenance:
  method: searched
  source: https://docs.pandavideo.com/reference
  harvested: '2026-11-20'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://docs.pandavideo.com/reference/configure-video-offline.md
  - https://docs.pandavideo.com/reference/create-new-ab-test.md
  - https://docs.pandavideo.com/reference/create-subaccount.md
  - https://docs.pandavideo.com/reference/delete-ab-tests.md
  - https://docs.pandavideo.com/reference/delete-subaccount-api-key-1.md
  - https://docs.pandavideo.com/reference/delete-video.md
  - https://docs.pandavideo.com/reference/delete_organizations-action-delete-sub-account.md
  - https://docs.pandavideo.com/reference/duplicate-video.md
  - https://docs.pandavideo.com/reference/end-ab-test.md
  - https://docs.pandavideo.com/reference/generate-subaccount-api-key-1.md
  - https://docs.pandavideo.com/reference/get-ab-tests-properties.md
  - https://docs.pandavideo.com/reference/get-video-properties.md
  - https://docs.pandavideo.com/reference/get_new-endpoint.md
  - https://docs.pandavideo.com/reference/get_user-apikey-subaccount.md
  - https://docs.pandavideo.com/reference/list-of-ab-tests.md
  - https://docs.pandavideo.com/reference/list-subaccounts-usage-1.md
  - https://docs.pandavideo.com/reference/partial-deletion-cancel.md
  - https://docs.pandavideo.com/reference/partial-deletion-list.md
  - https://docs.pandavideo.com/reference/partial-deletion-remove.md
  - https://docs.pandavideo.com/reference/recover-video.md
  - https://docs.pandavideo.com/reference/start-ab-test.md
  - https://docs.pandavideo.com/reference/update-ab-test.md
  - https://docs.pandavideo.com/reference/update-organization-1-1.md
  - https://docs.pandavideo.com/reference/update-video.md
  merge:
    pages: 24
    deduped: 28
    conflicts_kept_first: 0