Generated by API Evangelist
Written by API Evangelist tooling for imgauth — API di attestazione opere digitali's API. It is a proposal applied on top of the contract, not a document imgauth — API di attestazione opere digitali publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for imgauth — API di attestazione opere digitali Agent API
version: 1.0.0
extends: openapi/imgauth-api-di-attestazione-opere-digitali-agent-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-17'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 4
- target: $.paths['/api/agent/authorize'].post
update:
x-apievangelist-phrasing:
intent: Start a device-flow authorization for an agent
effect: write
questions:
- How does an AI agent or MCP client get authorized to attest works on my behalf?
- Can I kick off the agent device flow without any credentials?
- What does starting a device authorization request give back, and how long does it last?
instructions:
- text: Start a new device-flow authorization request for my agent.
- text: Begin the short-lived agent authorization so a human can approve it.
method: generated
generated: '2026-11-17'
- target: $.paths['/agent/authorize'].get
update:
x-apievangelist-phrasing:
intent: Open the human approval page for an agent
effect: read
questions:
- Where does a person go to approve an agent's device-flow code?
- Can the agent authorization page be shown in English instead of Italian?
instructions:
- text: Open the agent authorization page for code {code}.
slots:
code: query.code
- text: Show the device-flow approval page for {code} in {lang}.
slots:
code: query.code
lang: query.lang
method: generated
generated: '2026-11-17'
- target: $.paths['/api/agent/approve'].post
update:
x-apievangelist-phrasing:
intent: Approve an agent's device-flow request
effect: write
questions:
- What happens after I pass the Turnstile check on the agent approval page?
- Which values are needed to approve a pending agent and mint its session token?
instructions:
- text: Approve device-flow code {code} using Turnstile token {turnstile_token}.
slots:
code: requestBody.code
turnstile_token: requestBody.turnstile_token
- text: Grant the agent session token for code {code} after challenge {turnstile_token}.
slots:
code: requestBody.code
turnstile_token: requestBody.turnstile_token
method: generated
generated: '2026-11-17'
- target: $.paths['/api/agent/token'].get
update:
x-apievangelist-phrasing:
intent: Poll for an agent's session token
effect: read
questions:
- How does my agent find out whether the human approved its request?
- Why does polling return 'claimed' after I already picked up the token?
- Can the device-flow session token be fetched more than once?
instructions:
- text: Poll the device flow for the token issued to code {code}.
slots:
code: query.code
- text: Check whether authorization {code} has been approved and collect the token.
slots:
code: query.code
method: generated
generated: '2026-11-17'
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.