ABMeter Feature Flags API

The Feature Flags API from ABMeter — 4 operation(s) for feature flags.

Operations 7

GET /feature-flags/{feature_flag_slug}/exposure-stats Get feature flag exposure statistics #
GET /feature-flags List all feature flags #
POST /feature-flags Create feature flag #
GET /feature-flags/{feature_flag_slug} Get feature flag details #
PATCH /feature-flags/{feature_flag_slug} Update feature flag #
DELETE /feature-flags/{feature_flag_slug} Delete feature flag #
POST /feature-flags/{feature_flag_slug}/transition Transition feature flag state #

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/abmeter-ai:abmeter-ai-feature-flags-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

abmeter-ai-feature-flags-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Abmeter Ai Feature Flags API
  version: 1.0.0
  contact:
    name: ABMeter Support
    email: info@abmeter.com
  license:
    name: Commercial
    url: https://abmeter.ai/terms
  description: 'Operations tagged Feature Flags 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: Feature Flags
paths:
  /feature-flags/{feature_flag_slug}/exposure-stats:
    parameters:
    - name: feature_flag_slug
      in: path
      required: true
      schema:
        type: string
      description: The feature flag slug
    - name: space_slug
      in: query
      schema:
        $ref: '#/components/schemas/Slug'
      required: false
      description: 'Space slug (default: main)'
    get:
      summary: Get feature flag exposure statistics
      description: 'Get exposure statistics for a feature flag, showing unique user count over time.


        Returns an array with a single record containing unique_users count.

        If time_dimension is specified, returns multiple records with time_bucket field

        showing how exposures accumulated over time.'
      security:
      - bearerAuth: []
      parameters:
      - name: time_dimension
        in: query
        required: false
        schema:
          type: string
          enum:
          - hour
          - day
          - week
          - month
        description: Time bucket size for grouping exposures. If omitted, returns total counts without time buckets.
      - name: from
        in: query
        required: false
        schema:
          type: string
          format: date-time
        description: Start time for filtering exposures (ISO 8601 format). Defaults to feature flag creation time.
      - name: to
        in: query
        required: false
        schema:
          type: string
          format: date-time
        description: End time for filtering exposures (ISO 8601 format). Defaults to current time.
      responses:
        '200':
          description: successful
          content:
            application/json:
              example:
              - audience_slug: audience-example-domain
                unique_users: 3
                time_bucket: '2026-01-30T00:00:00.000Z'
              schema:
                type: array
                items:
                  type: object
                  properties:
                    audience_slug:
                      type: string
                    unique_users:
                      type: integer
                    time_bucket:
                      type: string
                      format: date-time
                  required:
                  - audience_slug
                  - unique_users
        '404':
          description: not found
          content:
            application/json:
              example:
                error: Feature flag 'nonexistent' not found in space 'main'
                status: 404
      tags:
      - Feature Flags
      operationId: getFeatureFlagsByFeatureFlagSlugExposureStats
      x-operation-id-source: derived
    servers:
    - url: https://abmeter.ai/api/v1
      description: ABMeter API
  /feature-flags:
    get:
      summary: List all feature flags
      description: Retrieve all feature flags across all spaces
      security:
      - bearerAuth: []
      parameters:
      - name: state
        in: query
        schema:
          type: string
          enum:
          - enabled
          - disabled
        required: false
        description: Filter by feature flag state
      - name: space_slug
        in: query
        schema:
          type: string
        required: false
        description: Filter by space
      responses:
        '200':
          description: List of feature flags
          content:
            application/json:
              example:
              - audience_slug: audience-beta-testers
                created_at: '2026-01-30T12:00:00Z'
                description: Controls access to the new dashboard interface
                slug: feature-flag-new-dashboard
                space_slug: main
                state: enabled
                updated_at: '2026-01-30T12:00:00Z'
                variant_slug: variant-new-dashboard
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FeatureFlag'
      tags:
      - Feature Flags
      operationId: getFeatureFlags
      x-operation-id-source: derived
    post:
      summary: Create feature flag
      description: Create a new feature flag using existing audience and variant
      security:
      - bearerAuth: []
      parameters: []
      responses:
        '201':
          description: Feature flag created successfully
        '400':
          description: Bad request - validation error or referenced audience/variant not found
          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
                space_slug:
                  $ref: '#/components/schemas/Slug'
                state:
                  type: string
                  enum:
                  - enabled
                  - disabled
                  default: disabled
                audience_slug:
                  $ref: '#/components/schemas/Slug'
                  description: Slug of an existing global audience
                variant_slug:
                  $ref: '#/components/schemas/Slug'
                  description: Slug of an existing variant
              required:
              - slug
              - space_slug
              - audience_slug
              - variant_slug
              example:
                slug: feature-flag-new-dashboard
                description: Controls access to the new dashboard interface
                space_slug: main
                state: enabled
                audience_slug: audience-beta-testers
                variant_slug: variant-new-dashboard
      tags:
      - Feature Flags
      operationId: postFeatureFlags
      x-operation-id-source: derived
    servers:
    - url: https://abmeter.ai/api/v1
      description: ABMeter API
  /feature-flags/{feature_flag_slug}:
    parameters:
    - name: feature_flag_slug
      in: path
      schema:
        $ref: '#/components/schemas/Slug'
      description: The feature flag slug
      required: true
    - name: space_slug
      in: query
      schema:
        $ref: '#/components/schemas/Slug'
      required: false
      description: 'Space slug (default: main)'
    get:
      summary: Get feature flag details
      description: Retrieve a specific feature flag
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Feature flag details
          content:
            application/json:
              example:
                audience_slug: audience-beta-testers
                created_at: '2026-01-30T12:00:00Z'
                description: Controls access to the new dashboard interface
                slug: feature-flag-new-dashboard
                space_slug: main
                state: enabled
                updated_at: '2026-01-30T12:00:00Z'
                variant_slug: variant-new-dashboard
              schema:
                $ref: '#/components/schemas/FeatureFlag'
        '404':
          description: Feature flag not found
          content:
            application/json:
              example:
                error: Feature flag 'non-existent' not found in space 'main'
                status: 404
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Feature Flags
      operationId: getFeatureFlagsByFeatureFlagSlug
      x-operation-id-source: derived
    patch:
      summary: Update feature flag
      description: Update specific fields of a feature flag. Only provided fields will be updated.
      security:
      - bearerAuth: []
      parameters: []
      responses:
        '200':
          description: Feature flag updated successfully
          content:
            application/json:
              example:
                audience_slug: audience-beta-testers
                created_at: '2026-01-30T12:00:00Z'
                description: Updated description
                slug: feature-flag-new-dashboard
                space_slug: main
                state: enabled
                updated_at: '2026-01-30T12:00:00Z'
                variant_slug: variant-new-dashboard
              schema:
                $ref: '#/components/schemas/FeatureFlag'
        '404':
          description: Feature flag not found
          content:
            application/json:
              example:
                error: Feature flag 'non-existent' not found in space 'main'
                status: 404
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                description:
                  type: string
                  description: New description for the feature flag
                audience_slug:
                  $ref: '#/components/schemas/Slug'
                  description: New audience to target with this feature flag
                variant_slug:
                  $ref: '#/components/schemas/Slug'
                  description: New variant to use for this feature flag
              description: Only include the fields you want to update
              example:
                description: Updated description
      tags:
      - Feature Flags
      operationId: patchFeatureFlagsByFeatureFlagSlug
      x-operation-id-source: derived
    delete:
      summary: Delete feature flag
      description: Delete a feature flag
      security:
      - bearerAuth: []
      responses:
        '204':
          description: Feature flag deleted successfully
        '404':
          description: Feature flag not found
          content:
            application/json:
              example:
                error: Feature flag 'non-existent' not found in space 'main'
                status: 404
      tags:
      - Feature Flags
      operationId: deleteFeatureFlagsByFeatureFlagSlug
      x-operation-id-source: derived
    servers:
    - url: https://abmeter.ai/api/v1
      description: ABMeter API
  /feature-flags/{feature_flag_slug}/transition:
    parameters:
    - name: feature_flag_slug
      in: path
      schema:
        $ref: '#/components/schemas/Slug'
      description: The feature flag slug
      required: true
    - name: space_slug
      in: query
      schema:
        $ref: '#/components/schemas/Slug'
      required: false
      description: 'Space slug (default: main)'
    post:
      summary: Transition feature flag state
      description: 'Change the feature flag state using one of the available transitions:

        - enable: Enable the feature flag (disabled → enabled)

        - disable: Disable the feature flag (enabled → disabled)'
      security:
      - bearerAuth: []
      parameters: []
      responses:
        '200':
          description: Feature flag state changed successfully
          content:
            application/json:
              example:
                audience_slug: audience-beta-testers
                created_at: '2026-01-30T12:00:00Z'
                description: Controls access to the new dashboard interface
                slug: feature-flag-new-dashboard
                space_slug: main
                state: enabled
                updated_at: '2026-01-30T12:00:00Z'
                variant_slug: variant-new-dashboard
              schema:
                $ref: '#/components/schemas/FeatureFlag'
        '400':
          description: Invalid transition for current state
          content:
            application/json:
              example:
                error: Invalid transition action
                status: 400
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Feature flag not found
          content:
            application/json:
              example:
                error: Feature flag 'non-existent' not found in space 'main'
                status: 404
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                action:
                  type: string
                  enum:
                  - enable
                  - disable
                  description: The state transition to perform
              required:
              - action
              example:
                action: enable
      tags:
      - Feature Flags
      operationId: postFeatureFlagsByFeatureFlagSlugTransition
      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).'
    FeatureFlag:
      type: object
      description: Feature toggle with audience targeting and parameter overrides
      properties:
        slug:
          $ref: '#/components/schemas/Slug'
        description:
          type: string
        space_slug:
          $ref: '#/components/schemas/Slug'
        state:
          type: string
          enum:
          - enabled
          - disabled
        audience_slug:
          $ref: '#/components/schemas/Slug'
          description: Slug of the global audience that determines who sees this feature
        variant_slug:
          $ref: '#/components/schemas/Slug'
          description: Slug of the variant containing parameter overrides for this feature
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
      required:
      - slug
      - state
      - audience_slug
      - variant_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