Uniform Tests API
The Tests API from Uniform — 1 operation(s) for tests.
The Tests API from Uniform — 1 operation(s) for tests.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/uniform:uniform-tests-api"
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.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Uniform Platform Tests API
version: '2.0'
tags:
- name: Tests
paths:
/api/v2/test:
options:
tags:
- Tests
description: Handles preflight requests. This endpoint allows CORS.
responses:
'204':
description: OK
summary: Describe api test
x-summary-source: derived
operationId: optionsApiV2Test
x-operation-id-source: derived
get:
tags:
- Tests
description: Gets A/B test definitions for a project
parameters:
- in: query
name: projectId
description: The project to fetch tests for
required: true
schema:
type: string
format: uuid
- in: query
name: testId
description: Limit the results to a specific test public ID
required: false
schema:
type: string
minLength: 1
maxLength: 100
security:
- ApiKeyAuth: []
- BearerAuth: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
required:
- tests
properties:
tests:
type: array
items:
$ref: '#/components/schemas/Test1'
'400':
$ref: '#/components/responses/BadRequestError'
'401':
$ref: '#/components/responses/UnauthorizedError'
'403':
$ref: '#/components/responses/ForbiddenError'
'429':
$ref: '#/components/responses/RateLimitError'
'500':
$ref: '#/components/responses/InternalServerError'
summary: Get api test
x-summary-source: derived
operationId: getApiV2Test
x-operation-id-source: derived
put:
tags:
- Tests
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- projectId
- test
properties:
test:
$ref: '#/components/schemas/Test1'
projectId:
type: string
format: uuid
additionalProperties: false
security:
- ApiKeyAuth: []
- BearerAuth: []
responses:
'204':
description: OK
'400':
$ref: '#/components/responses/BadRequestError'
'401':
$ref: '#/components/responses/UnauthorizedError'
'403':
$ref: '#/components/responses/ForbiddenError'
'429':
$ref: '#/components/responses/RateLimitError'
'500':
$ref: '#/components/responses/InternalServerError'
summary: Replace api test
x-summary-source: derived
operationId: putApiV2Test
x-operation-id-source: derived
delete:
tags:
- Tests
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- projectId
- testId
properties:
testId:
type: string
minLength: 1
maxLength: 100
projectId:
type: string
format: uuid
additionalProperties: false
security:
- ApiKeyAuth: []
- BearerAuth: []
responses:
'204':
description: OK
'400':
$ref: '#/components/responses/BadRequestError'
'401':
$ref: '#/components/responses/UnauthorizedError'
'403':
$ref: '#/components/responses/ForbiddenError'
'429':
$ref: '#/components/responses/RateLimitError'
'500':
$ref: '#/components/responses/InternalServerError'
summary: Delete api test
x-summary-source: derived
operationId: deleteApiV2Test
x-operation-id-source: derived
components:
responses:
InternalServerError:
description: Execution error occurred
UnauthorizedError:
description: API key or token was not valid
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
ForbiddenError:
description: Permission was denied
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
BadRequestError:
description: Request input validation failed
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimitError:
description: Too many requests in allowed time period
schemas:
Error:
type: object
properties:
errorMessage:
description: Error message(s) that occurred while processing the request
oneOf:
- type: array
items:
type: string
- type: string
Test1:
type: object
required:
- id
- name
properties:
id:
type: string
minLength: 1
maxLength: 100
pattern: ^[^<>]+$
name:
type: string
minLength: 1
maxLength: 100
pattern: ^[^<>]+$
winning_variant_id:
type: string
minLength: 1
maxLength: 100
pattern: ^[^<>]+$
default_variant_id:
type: string
minLength: 1
maxLength: 100
pattern: ^[^<>]+$
closed:
type: boolean
default: false
additionalProperties: false
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key
BearerAuth:
type: http
scheme: bearer
x-provenance:
method: harvested
publisher: Uniform
source: https://docs.uniform.app/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)