Agentic Control Plane Credentials API

Short-lived scoped tokens bound to a user's stored OAuth credential.

Operations 2

POST /api/v1/scoped-tokens Issue a short-lived scoped token #
POST /api/v1/scoped-tokens/{tokenId}/revoke Revoke a scoped token #

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/agenticcontrolplane-com:agenticcontrolplane-com-credentials-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

agenticcontrolplane-com-credentials-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Agentic Control Plane — Gateway Credentials API
  version: 0.1.0
  description: 'The public, gsk_-key-authenticated surface of the ACP gateway: agent profiles, run summaries,

    self-introspection (cost / usage / decisions / traces), delegation-chain child-key minting,

    scoped-token issuance, the governed model proxy, and the MCP endpoint.


    **Rate limits.** Rate-limited endpoints return IETF draft-7 `RateLimit` / `RateLimit-Policy`

    headers on every response and a 429 with the same headers when exceeded.


    **Errors.** Three envelopes coexist and are documented per-endpoint: `{ error: string }` on

    /api/v1/*, `{ error: ''validation_failed'', details }` on schema-validated bodies, and the

    OpenAI-compatible `{ error: { message, type, param, code } }` on the model proxy.


    **Feature-flagged surfaces.** `/api/v1/keys/child`, `/api/v1/scoped-tokens`, and

    `/v1/sandbox-tenants` are deployment-flagged; when disabled they 404.


    Human docs: https://agenticcontrolplane.com/agents/configure-as-code — agent-facing site

    index: https://agenticcontrolplane.com/llms.txt'
  contact:
    name: Agentic Control Plane
    email: hello@agenticcontrolplane.com
    url: https://agenticcontrolplane.com/contact
servers:
- url: https://api.agenticcontrolplane.com
security:
- ApiKeyAuth: []
tags:
- name: Credentials
  description: Short-lived scoped tokens bound to a user's stored OAuth credential.
paths:
  /api/v1/scoped-tokens:
    post:
      tags:
      - Credentials
      operationId: issueScopedToken
      summary: Issue a short-lived scoped token
      description: Issues an opaque, short-lived ACP-managed token bound to the calling user's stored OAuth credential for a provider — the agent never sees the underlying vendor token. 409 with a `connectUrl` when the provider isn't connected yet. Per-tenant feature flag; 404 when disabled. Rate limited per tenant.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - provider
              properties:
                provider:
                  type: string
                  description: Canonical lowercase provider key (e.g. "github", "google", "slack").
                scopes:
                  type: array
                  items:
                    type: string
                  description: Optional narrowing; cannot widen beyond the user's OAuth grant.
                ttlSeconds:
                  type: integer
                  minimum: 60
                  maximum: 86400
                  default: 3600
                reason:
                  type: string
                  maxLength: 200
              additionalProperties: false
      responses:
        '200':
          description: The scoped token (returned once).
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                additionalProperties: true
        '400':
          description: Validation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
        '401':
          description: Missing, malformed, invalid, or revoked gsk_ API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: No associated user.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Feature disabled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Provider not connected — response carries a connectUrl.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited. Standard draft-7 RateLimit / RateLimit-Policy headers are set; retry after the window resets.
          headers:
            RateLimit:
              schema:
                type: string
              description: IETF draft-7 rate-limit header.
            RateLimit-Policy:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/v1/scoped-tokens/{tokenId}/revoke:
    post:
      tags:
      - Credentials
      operationId: revokeScopedToken
      summary: Revoke a scoped token
      parameters:
      - name: tokenId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Revoked.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                additionalProperties: true
        '401':
          description: Missing, malformed, invalid, or revoked gsk_ API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Unknown token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      description: 'Default error shape on /api/v1/*: a single machine-readable-ish message string.'
      required:
      - error
      properties:
        error:
          type: string
    ValidationError:
      type: object
      description: Returned (HTTP 400) when a zod-validated body or query fails. `details` is the zod treeified error.
      required:
      - error
      properties:
        error:
          type: string
          enum:
          - validation_failed
        details:
          type: object
          additionalProperties: true
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Workspace API key (`gsk_{slug}_…`) as a Bearer token. Mint keys in the console: https://cloud.agenticcontrolplane.com'