Admiral Experiments API

The experiments API from Admiral — 5 operation(s) for experiments.

GitHub OpenAPI

Operations 6

GET /fleet/experiments List Experiments #
POST /fleet/experiments Create Experiment #
GET /fleet/experiments/preflight Preflight #
POST /fleet/experiments/{experiment_id}/end End Experiment #
POST /fleet/experiments/{experiment_id}/archive Archive Experiment #
POST /fleet/experiments/{experiment_id}/publish-creatives Publish Creatives #

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/meetadmiral-com:meetadmiral-com-experiments-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

meetadmiral-com-experiments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Admiral Experiments API
  version: 0.1.0
tags:
- name: Experiments
paths:
  /fleet/experiments:
    get:
      tags:
      - Experiments
      summary: List Experiments
      operationId: list_experiments_fleet_experiments_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
    post:
      tags:
      - Experiments
      summary: Create Experiment
      operationId: create_experiment_fleet_experiments_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExperimentCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /fleet/experiments/preflight:
    get:
      tags:
      - Experiments
      summary: Preflight
      description: 'Is a test between these two worth starting?


        Read from the last 30 days of both campaigns: for every link without a

        running test, or, given `a_*` and `b_*`, for any two campaigns before

        they are linked. It warns; it never blocks — Admiral proposes, the user

        disposes.'
      operationId: preflight_fleet_experiments_preflight_get
      parameters:
      - name: a_account
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: A Account
      - name: a_campaign
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: A Campaign
      - name: b_account
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: B Account
      - name: b_campaign
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: B Campaign
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /fleet/experiments/{experiment_id}/end:
    post:
      tags:
      - Experiments
      summary: End Experiment
      description: 'End a running test now and record what it found.


        Classified on evidence alone — the user asked, so the day counters

        don''t get a vote. Ending writes nothing to Google or Meta; it freezes

        a finding. Any budget move it suggests still lands as a proposal to

        approve.'
      operationId: end_experiment_fleet_experiments__experiment_id__end_post
      parameters:
      - name: experiment_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Experiment Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /fleet/experiments/{experiment_id}/archive:
    post:
      tags:
      - Experiments
      summary: Archive Experiment
      operationId: archive_experiment_fleet_experiments__experiment_id__archive_post
      parameters:
      - name: experiment_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Experiment Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /fleet/experiments/{experiment_id}/publish-creatives:
    post:
      tags:
      - Experiments
      summary: Publish Creatives
      description: 'Same concept, both channels, one grouped receipt. Both ads land

        PAUSED; the Facebook Page id is the explicit gate — no Page, no Meta

        creative. Scoped to direct-token accounts per the app-review note.'
      operationId: publish_creatives_fleet_experiments__experiment_id__publish_creatives_post
      parameters:
      - name: experiment_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Experiment Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublishRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PublishRequest:
      properties:
        page_id:
          type: string
          title: Page Id
      type: object
      required:
      - page_id
      title: PublishRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ExperimentCreate:
      properties:
        pair_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Pair Id
        a:
          anyOf:
          - $ref: '#/components/schemas/CampaignRef'
          - type: 'null'
        b:
          anyOf:
          - $ref: '#/components/schemas/CampaignRef'
          - type: 'null'
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        min_days:
          type: integer
          title: Min Days
          default: 7
        min_conversions:
          type: integer
          title: Min Conversions
          default: 30
        max_days:
          type: integer
          title: Max Days
          default: 30
        concept:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Concept
      type: object
      title: ExperimentCreate
      description: 'Start a test on an existing link (`pair_id`), or on any two

        campaigns (`a` and `b`): the link between them is found or made.'
    CampaignRef:
      properties:
        account_id:
          type: string
          format: uuid
          title: Account Id
        campaign_external_id:
          type: string
          title: Campaign External Id
      type: object
      required:
      - account_id
      - campaign_external_id
      title: CampaignRef