Properties
| Name | Type | Description |
|---|---|---|
| workspace | object | The workspace this credential acts on. |
| auth | object | The credential. |
| user | objectnull | The person behind an OAuth token or a session; null for an API key, which has no person behind it. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/mentio-dev/json-schema/mentio-dev-whoami-schema.json",
"title": "Whoami",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/mentio-dev-auth-api-openapi.yml#/components/schemas/Whoami",
"type": "object",
"properties": {
"workspace": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Workspace id (org_...)."
},
"name": {
"type": "string",
"description": "The workspace name, as the dashboard shows it."
}
},
"required": [
"id",
"name"
],
"description": "The workspace this credential acts on."
},
"auth": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"api_key",
"oauth",
"session"
],
"description": "How the request authenticated: an API key, an OAuth access token (MCP sign-in), or the dashboard session."
},
"scope": {
"type": "string",
"enum": [
"read",
"write"
],
"description": "What the credential may do: read (GET only) or write."
},
"apiKeyId": {
"type": [
"string",
"null"
],
"description": "The key id (key_...) when authenticated with an API key; null otherwise."
},
"expiresAt": {
"type": [
"string",
"null"
],
"description": "When an API key stops working; null for a key that never expires, an OAuth token or a session."
}
},
"required": [
"kind",
"scope",
"apiKeyId",
"expiresAt"
],
"description": "The credential."
},
"user": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string",
"description": "User id, what assigneeId and ownerId take."
},
"email": {
"type": "string",
"description": "The account's email address."
},
"name": {
"type": [
"string",
"null"
],
"description": "The name on the account; null when they never set one."
}
},
"required": [
"id",
"email",
"name"
],
"description": "The person behind an OAuth token or a session; null for an API key, which has no person behind it."
}
},
"required": [
"workspace",
"auth",
"user"
]
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/mentio-dev-whoami"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.