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: Cotal Ai Jwks API
version: 1.0.0
description: 'Operations tagged Jwks across 2 of this provider''s published API definitions: cotal-ai-auth-openapi.json, cotal-ai-auth-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://auth.example.invalid
description: Replace with the configured HTTPS public authority URL; TLS terminates at the operator proxy.
tags:
- name: JWKS
paths:
/jwks:
get:
operationId: auth-jwks
summary: Read issuer verification keys
description: GET only. Permits Origin headers. No CORS headers are emitted. Retired signing keys remain published for their cache window.
security: []
responses:
'200':
description: Successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/Jwks'
headers:
Cache-Control:
schema:
type: string
const: max-age=300
'405':
$ref: '#/components/responses/RequestError'
'500':
$ref: '#/components/responses/InternalServerError'
'503':
$ref: '#/components/responses/Unavailable'
tags:
- JWKS
servers:
- url: https://auth.example.invalid
description: Replace with the configured HTTPS public authority URL; TLS terminates at the operator proxy.
components:
schemas:
Jwks:
type: object
properties:
keys:
type: array
items:
$ref: '#/components/schemas/PublicKey'
required:
- keys
Error:
type: object
properties:
error:
type: string
code:
type: string
outcome:
type: string
enum:
- not-executed
- executed
- unknown
required:
- error
PublicKey:
type: object
properties:
kty:
const: OKP
crv:
const: Ed25519
kid:
type: string
minLength: 1
x:
type: string
minLength: 1
required:
- kty
- crv
- kid
- x
responses:
RequestError:
description: JSON error from a named request refusal. Route guards run before proof evaluation; parser failures are 400 and byte overflow is 413.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
InternalServerError:
description: Server failure. An unexpected failure reaching the listener boundary returns only {"error":"internal server error"}; details are logged server-side. A route's named server failure may include its error code and outcome.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error: internal server error
Unavailable:
description: Public admission cap (64 in flight), 10 second request deadline, or a route-specific unavailable read/effect. A service authority 503 may follow a binding; retain the request identity.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
x-refined-from:
- cotal-ai-auth-openapi.json
- cotal-ai-auth-openapi.yml
x-source: implementations/auth/src/service.ts ROUTES and loopback handlers