Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/codai-ro:codai-ro-user-info-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Codai Ro User Info API
version: '1'
description: 'Operations tagged UserInfo across 2 of this provider''s published API definitions: codai-ro-auth-openapi.json, codai-ro-auth-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://auth.codai.ro
description: Production
security: []
tags:
- name: User Info
description: OpenID Connect UserInfo.
paths:
/me:
get:
operationId: userinfo
tags:
- User Info
summary: UserInfo
description: 'Returns the claims granted to the access token: `sub` always; `email`, `email_verified`
with the `email` scope; `name`, `picture` with `profile`. Send the access token as
`Authorization: Bearer`. `role` is **not** returned here — it rides in the ID token and in
JWT access tokens. Only opaque (non-MCP) access tokens are accepted.'
security:
- bearerAuth: []
responses:
'200':
description: Claims for the token's subject.
content:
application/json:
schema:
$ref: '#/components/schemas/UserInfo'
'401':
$ref: '#/components/responses/OAuthInvalidToken'
servers:
- url: https://auth.codai.ro
description: Production
components:
responses:
OAuthInvalidToken:
description: Missing, unknown or expired bearer token (`invalid_token`).
headers:
WWW-Authenticate:
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/OAuthError'
schemas:
OAuthError:
type: object
title: OAuth error
description: RFC 6749 §5.2 error envelope, also used by the codai extensions on this host.
required:
- error
properties:
error:
type: string
description: Machine-readable code.
examples:
- invalid_request
- invalid_client
- invalid_grant
- invalid_token
- insufficient_scope
- authorization_pending
- slow_down
- rate_limited
error_description:
type: string
description: Human-readable detail.
UserInfo:
type: object
title: UserInfo
required:
- sub
properties:
sub:
type: string
description: codai user id (UUID).
email:
type: string
format: email
email_verified:
type: boolean
name:
type: string
picture:
type: string
format: uri
securitySchemes:
oauth2:
type: oauth2
description: codai OpenID Connect provider. PKCE `S256` required on the authorization code flow.
flows:
authorizationCode:
authorizationUrl: https://auth.codai.ro/auth
tokenUrl: https://auth.codai.ro/token
refreshUrl: https://auth.codai.ro/token
scopes:
openid: Verify your codai identity
profile: See your name and profile picture
email: See your email address
inference: Run AI inference through your codai account
keys:manage: Create and manage codai API keys on your behalf
usage:read: Read your codai usage statistics
subscriptions:read: Read your codai subscription plan
mcp: Use codai tools and memory from an MCP client
offline_access: Stay signed in on this device
deviceCode:
deviceAuthorizationUrl: https://auth.codai.ro/device/auth
tokenUrl: https://auth.codai.ro/token
scopes:
openid: Verify your codai identity
profile: See your name and profile picture
email: See your email address
inference: Run AI inference through your codai account
keys:manage: Create and manage codai API keys on your behalf
usage:read: Read your codai usage statistics
subscriptions:read: Read your codai subscription plan
mcp: Use codai tools and memory from an MCP client
offline_access: Stay signed in on this device
bearerAuth:
type: http
scheme: bearer
description: OAuth access token issued by `/token` (used by `/me` and `/connect/key`).
clientSecretBasic:
type: http
scheme: basic
description: '`client_secret_basic` client authentication. `client_secret_post` and `private_key_jwt` go in the form body instead; public clients send only `client_id`.'
x-refined-from:
- codai-ro-auth-openapi.json
- codai-ro-auth-openapi.yml