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.
openapi: 3.2.0
info:
title: Abmeter Ai Spaces API
version: 1.0.0
contact:
name: ABMeter Support
email: info@abmeter.com
license:
name: Commercial
url: https://abmeter.ai/terms
description: 'Operations tagged Spaces across 2 of this provider''s published API definitions: spec.yaml, abmeter-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://abmeter.ai/api/v1
description: ABMeter API
security:
- bearerAuth: []
tags:
- name: Spaces
paths:
/spaces:
get:
summary: List all spaces
description: Retrieve all spaces for your organization
security:
- bearerAuth: []
responses:
'200':
description: List of spaces
content:
application/json:
example:
- allocation_available: 100
allocation_used: 0
created_at: '2026-01-30T12:00:00Z'
description: Main experimentation space
slug: main
updated_at: '2026-01-30T12:00:00Z'
- allocation_available: 100
allocation_used: 0
created_at: '2026-01-30T12:00:00Z'
description: Demo space for experimentation examples
slug: demo-space
updated_at: '2026-01-30T12:00:00Z'
- allocation_available: 100
allocation_used: 0
created_at: '2026-01-30T12:00:00Z'
description: Parameters and experiments related to user onboarding
slug: space-user-onboarding
updated_at: '2026-01-30T12:00:00Z'
schema:
type: array
items:
$ref: '#/components/schemas/Space'
tags:
- Spaces
operationId: getSpaces
x-operation-id-source: derived
post:
summary: Create a new space
description: Create a new space for organizing parameters and experiments
security:
- bearerAuth: []
parameters: []
responses:
'201':
description: Space created successfully
'400':
description: Bad request
content:
application/json:
example:
error: Bad request
status: 400
details:
slug:
- can only contain lowercase letters, numbers and hyphens
schema:
$ref: '#/components/schemas/Error'
requestBody:
content:
application/json:
schema:
type: object
properties:
slug:
$ref: '#/components/schemas/Slug'
description:
type: string
required:
- slug
example:
slug: space-user-onboarding
description: Parameters and experiments related to user onboarding
tags:
- Spaces
operationId: postSpaces
x-operation-id-source: derived
servers:
- url: https://abmeter.ai/api/v1
description: ABMeter API
/spaces/{space_slug}:
parameters:
- name: space_slug
in: path
schema:
$ref: '#/components/schemas/Slug'
description: The space slug
required: true
get:
summary: Get space details
description: Retrieve a specific space
security:
- bearerAuth: []
responses:
'200':
description: Space details
content:
application/json:
example:
allocation_available: 100
allocation_used: 0
created_at: '2026-01-30T12:00:00Z'
description: Parameters and experiments related to user onboarding
slug: space-user-onboarding
updated_at: '2026-01-30T12:00:00Z'
schema:
$ref: '#/components/schemas/Space'
'404':
description: Space not found
content:
application/json:
example:
error: Space 'non-existent' not found
status: 404
schema:
$ref: '#/components/schemas/Error'
tags:
- Spaces
operationId: getSpacesBySpaceSlug
x-operation-id-source: derived
patch:
summary: Update space
description: Update a space's details
security:
- bearerAuth: []
parameters: []
responses:
'200':
description: Space updated successfully
content:
application/json:
example:
allocation_available: 100
allocation_used: 0
created_at: '2026-01-30T12:00:00Z'
description: Onboarding flow with presenting different content
slug: space-user-onboarding
updated_at: '2026-01-30T12:00:00Z'
schema:
$ref: '#/components/schemas/Space'
'404':
description: Space not found
content:
application/json:
example:
error: Space 'non-existent' not found
status: 404
schema:
$ref: '#/components/schemas/Error'
requestBody:
content:
application/json:
schema:
type: object
properties:
description:
type: string
example:
description: Onboarding flow with presenting different content
tags:
- Spaces
operationId: patchSpacesBySpaceSlug
x-operation-id-source: derived
delete:
summary: Delete space
description: Delete a space
security:
- bearerAuth: []
responses:
'204':
description: Space deleted successfully
'422':
description: Cannot delete main space
content:
application/json:
example:
error: Unprocessable entity
status: 422
details:
base:
- The 'main' space cannot be deleted
'404':
description: Space not found
content:
application/json:
example:
error: Space 'non-existent' not found
status: 404
tags:
- Spaces
operationId: deleteSpacesBySpaceSlug
x-operation-id-source: derived
servers:
- url: https://abmeter.ai/api/v1
description: ABMeter API
components:
schemas:
Error:
type: object
description: 'Standard error response format for all API endpoints
**Important:** The response is ALWAYS an object/hash, never null or any other type.
The `details` field, when present, is ALWAYS an object/hash (e.g., `{}` not `null` or `[]`).
The `details` field may be omitted when there are no additional details to provide.'
properties:
error:
type: string
description: Human-readable error message
code:
type: string
description: Machine-readable error code (optional)
details:
type: object
description: 'Additional error details. When present, ALWAYS an object/hash.
May contain field-specific errors or other structured information.
Examples: `{"name": ["can''t be blank"]}` for validation errors, `{"message": "Invalid state"}` for other errors'
additionalProperties: true
required:
- error
Slug:
type: string
description: 'Standardized identifier for entities used across the API. Recommended format: each entity type has its own prefix pattern followed by a short alphanumeric identifier (e.g., parameter-ab4c, space-main, audience-control).'
Space:
type: object
description: Container for organizing related experiments and feature flags. Assures the user could be exposed to only one experiment or feature flag within a space
properties:
slug:
$ref: '#/components/schemas/Slug'
description:
type: string
created_at:
type: string
format: date-time
readOnly: true
updated_at:
type: string
format: date-time
readOnly: true
required:
- slug
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: API key from the ABMeter dashboard. Pass it in the Authorization header with 'Bearer' prefix.
x-refined-from:
- spec.yaml
- abmeter-ai-openapi.yml