ASAP Flags API

Feature flags evaluated for the active org.

Operations 1

GET /v1/flags GET /v1/flags #

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/asap-cool:asap-cool-flags-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

asap-cool-flags-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ASAP Platform Flags API
  description: 'Public HTTP API for ASAP Platform (api.asap.cool).


    All `/v1` responses are wrapped in a standard envelope. Success responses are `{ "data": , "meta": { "request_id", "next_cursor"?, "has_more"? } }` — the schema documented for each operation describes the inner `data` value. Errors are `{ "error": { "code", "message", "field"?, "request_id" } }`. Every response also carries an `X-Request-Id` header matching `meta.request_id` / `error.request_id`.'
  license:
    name: BUSL-1.1
  version: 0.0.0
servers:
- url: https://api.asap.cool
  description: Production
tags:
- name: Flags
  description: Feature flags evaluated for the active org.
paths:
  /v1/flags:
    get:
      tags:
      - Flags
      summary: GET /v1/flags
      operationId: list_flags
      responses:
        '200':
          description: Feature flags evaluated for the active org.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlagsView'
        '401':
          description: Caller is not authenticated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
components:
  schemas:
    ErrorBody:
      type: object
      description: 'Generic error body returned by API handlers when they fail. `code` is a

        stable machine-readable token; `message` is human-friendly and meant for

        surfacing to end users.'
      required:
      - code
      - message
      properties:
        code:
          type: string
          description: Stable machine token (e.g. `invalid_credentials`).
        field:
          type:
          - string
          - 'null'
          description: Offending request field for validation errors, when known.
        message:
          type: string
          description: Human-readable message.
    FlagsView:
      type: object
      description: Body of `GET /v1/flags`.
      required:
      - flags
      properties:
        flags:
          type: array
          items:
            $ref: '#/components/schemas/FlagState'
          description: Every declared flag, evaluated for the caller's org.
    FlagState:
      type: object
      description: One evaluated flag.
      required:
      - key
      - enabled
      properties:
        enabled:
          type: boolean
          description: Whether the flag is on for the caller's org.
        key:
          $ref: '#/components/schemas/FlagKey'
          description: Flag key.
    FlagKey:
      type: string
      description: 'Key of a declared feature flag. Mirrors `asap_core_flags::Flag`; the

        `OpenAPI` enum is what types the SPA''s flag keys (a parity test keeps the

        two in sync).'
      enum:
      - payments_connect_embedded
      - automation_proposals
      - inbox_triage
  securitySchemes:
    api_key:
      type: http
      scheme: bearer
    session:
      type: apiKey
      in: cookie
      name: asap_session