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: turva.dev Agent Acp API
version: 3.268.1
description: Read-only metadata + endpoints that declare payment, for AI agents. MPP and x402 on the /api/agent/* routes; the x402 manifest also names /x402 and /api as challenge roots. ACP checkout sessions live under /api/acp/checkout_sessions and are stateless. The free endpoint index is /api/v1. It also lists the free llms.txt validator, the free Markdown parity check, the ACP index and the A2A task routes.
contact:
name: Erik Rekola
email: info@turva.dev
url: https://turva.dev/
license:
name: Proprietary
url: https://turva.dev/legal
servers:
- url: https://turva.dev
tags:
- name: Acp
paths:
/api/acp/checkout_sessions:
post:
summary: Create an ACP checkout session
operationId: acpCreateCheckoutSession
description: 'Agentic Commerce Protocol, api-version 2026-01-16. Body: { items: [{ id, quantity }] } with id one of audit, advisory, implementation (omit id for the default service, but id must not be null) and quantity, if present, exactly 1. Sessions are stateless and the response status is not_ready_for_payment: the engagement is confirmed in writing before any payment.'
responses:
'201':
description: session
content:
application/json:
schema:
type: object
'400':
description: body is not a JSON object, items is not an array of item objects, more than one item, an item id is null, an item quantity is present and not exactly 1, or an unknown item id
content:
application/json:
schema:
type: object
'405':
description: POST only
content:
application/json:
schema:
type: object
'413':
description: body larger than 16384 bytes
content:
application/json:
schema:
type: object
tags:
- Acp
/api/acp/checkout_sessions/{session_id}:
get:
summary: Retrieve an ACP checkout session
operationId: acpGetCheckoutSession
parameters:
- name: session_id
in: path
required: true
schema:
type: string
responses:
'200':
description: session
content:
application/json:
schema:
type: object
'404':
description: unknown session id
content:
application/json:
schema:
type: object
'405':
description: GET only
content:
application/json:
schema:
type: object
tags:
- Acp
/api/acp/checkout_sessions/{session_id}/complete:
post:
summary: Complete an ACP checkout session
operationId: acpCompleteCheckoutSession
description: Scope is agreed in writing before payment; no API completes it. The response is 422 intervention_required, never 200.
parameters:
- name: session_id
in: path
required: true
schema:
type: string
responses:
'404':
description: unknown session id
content:
application/json:
schema:
type: object
'405':
description: POST only
content:
application/json:
schema:
type: object
'422':
description: 'intervention_required: human confirmation in writing is required before this session can complete'
content:
application/json:
schema:
type: object
tags:
- Acp
/api/acp/checkout_sessions/{session_id}/cancel:
post:
summary: Cancel an ACP checkout session
operationId: acpCancelCheckoutSession
parameters:
- name: session_id
in: path
required: true
schema:
type: string
responses:
'200':
description: canceled
content:
application/json:
schema:
type: object
'404':
description: unknown session id
content:
application/json:
schema:
type: object
'405':
description: POST only
content:
application/json:
schema:
type: object
tags:
- Acp
/api/acp:
get:
summary: 'ACP base: lists the checkout session routes and points at the discovery manifest'
operationId: getAcpIndex
responses:
'200':
description: ok
content:
application/json:
schema:
type: object
tags:
- Acp
x-payment-protocols:
- x402
- mpp
- acp
x-service-info:
categories:
- developer-tools
docs:
homepage: https://turva.dev/
llms: https://turva.dev/llms.txt
apiReference: https://turva.dev/openapi.json