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 .well Known API
version: 1.0.0
description: 'Operations tagged .well Known 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: .well Known
paths:
/.well-known/cotal-mesh:
get:
operationId: auth-mesh-discovery
summary: Read the generated mesh registration bundle
description: 'GET only. Permits Origin headers, with no CORS headers. Fetch only from the pinned HTTPS authority origin: this generated bundle contains trust pins and a deny-all sentinel credential. endpoints.url is the advertised post-bind public URL; optional agentProvisioningUrl advertises a separate host endpoint, not a route in this listener.'
security: []
responses:
'200':
description: Successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/MeshBundle'
'405':
$ref: '#/components/responses/RequestError'
'500':
$ref: '#/components/responses/InternalServerError'
'503':
$ref: '#/components/responses/Unavailable'
tags:
- .well Known
servers:
- url: https://auth.example.invalid
description: Replace with the configured HTTPS public authority URL; TLS terminates at the operator proxy.
components:
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'
schemas:
Error:
type: object
properties:
error:
type: string
code:
type: string
outcome:
type: string
enum:
- not-executed
- executed
- unknown
required:
- error
MeshBundle:
type: object
properties:
space:
type: string
minLength: 1
server:
type: string
minLength: 1
tlsRequired:
const: true
userAuth:
type: object
properties:
provider:
const: cotal
idp:
type: object
properties:
url:
type: string
minLength: 1
issuer:
type: string
minLength: 1
audience:
type: string
minLength: 1
required:
- url
- issuer
- audience
endpoints:
type: object
properties:
url:
type: string
minLength: 1
managerAuthorityUrl:
type: string
minLength: 1
agentProvisioningUrl:
type: string
minLength: 1
required:
- url
- managerAuthorityUrl
required:
- provider
- idp
- endpoints
sentinelCreds:
type: string
minLength: 1
required:
- space
- server
- tlsRequired
- userAuth
- sentinelCreds
x-refined-from:
- cotal-ai-auth-openapi.json
- cotal-ai-auth-openapi.yml
x-source: implementations/auth/src/service.ts ROUTES and loopback handlers