Agentic Control Plane Introspect API
Read-only self-introspection over the caller's own governed footprint.
Read-only self-introspection over the caller's own governed footprint.
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/agenticcontrolplane-com:agenticcontrolplane-com-introspect-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: Agentic Control Plane — Gateway Introspect 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: Introspect
description: Read-only self-introspection over the caller's own governed footprint.
paths:
/api/v1/introspect/usage:
get:
tags:
- Introspect
operationId: introspectUsage
summary: Plan meter + caller's own share
description: The workspace-shared plan meter (used / limit / state) plus the caller's own contribution. Lets an agent answer "am I about to lose governance?" itself.
responses:
'200':
description: Usage.
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'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/introspect/cost:
get:
tags:
- Introspect
operationId: introspectCost
summary: Model spend, by model
description: Principal-scoped by default; a key with the `admin` scope may pass `?scope=workspace`.
parameters:
- name: window
in: query
required: false
schema:
type: string
enum:
- today
- 24h
- 7d
- 30d
- 90d
default: 30d
description: Time window (endpoints accept the subset that makes sense for them; default 30d).
- name: scope
in: query
required: false
schema:
type: string
enum:
- workspace
responses:
'200':
description: Spend.
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'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/introspect/decisions:
get:
tags:
- Introspect
operationId: introspectDecisions
summary: Recent governance decisions, risk-annotated
parameters:
- name: window
in: query
required: false
schema:
type: string
enum:
- today
- 24h
- 7d
- 30d
- 90d
default: 30d
description: Time window (endpoints accept the subset that makes sense for them; default 30d).
- name: limit
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 500
default: 100
- name: scope
in: query
required: false
schema:
type: string
enum:
- workspace
responses:
'200':
description: Decisions.
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'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/introspect/trace/{sessionId}:
get:
tags:
- Introspect
operationId: introspectTrace
summary: Run trace for one session
parameters:
- name: sessionId
in: path
required: true
schema:
type: string
responses:
'200':
description: Ordered runs for the session.
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'
'403':
description: Not your session.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No trace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/introspect/agents:
get:
tags:
- Introspect
operationId: introspectAgents
summary: Agent identities the caller has run
parameters:
- name: window
in: query
required: false
schema:
type: string
enum:
- today
- 24h
- 7d
- 30d
- 90d
default: 30d
description: Time window (endpoints accept the subset that makes sense for them; default 30d).
- name: scope
in: query
required: false
schema:
type: string
enum:
- workspace
responses:
'200':
description: Aggregated agents.
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'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/introspect/recommendations:
get:
tags:
- Introspect
operationId: introspectRecommendations
summary: Evidence-backed policy recommendations
description: Ranked suggestions mined from the caller's approval + decision history, each carrying a mergeable policy patch. Read-only — nothing is applied.
responses:
'200':
description: Recommendations.
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'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/introspect/cost-insights:
get:
tags:
- Introspect
operationId: introspectCostInsights
summary: Quantified cost-optimization insights
parameters:
- name: window
in: query
required: false
schema:
type: string
enum:
- today
- 24h
- 7d
- 30d
- 90d
default: 30d
description: Time window (endpoints accept the subset that makes sense for them; default 30d).
- name: scope
in: query
required: false
schema:
type: string
enum:
- workspace
responses:
'200':
description: Insights.
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'
'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
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'