Tembo Authentication API

The Authentication API from Tembo — 1 operation(s) for authentication.

Operations 1

GET /auth/context Get the authenticated principal #

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tembo:tembo-authentication-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

tembo-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tembo Authentication API
  version: 1.0.0
  description: 'Operations tagged Authentication across 2 of this provider''s published API definitions: tembo-openapi-original.json, tembo-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.tembo.io/
  description: Tembo API
tags:
- name: Authentication
paths:
  /auth/context:
    get:
      operationId: retrieveMcpAuthContext
      summary: Get the authenticated principal
      description: Returns the user or service identity and organization associated with the supplied OAuth access token, API key, or agent credential. Agent requests must specify the organization in the X-Agent-Org-Id header.
      tags:
      - Authentication
      responses:
        '200':
          description: The authenticated principal and organization. OAuth responses also include the client, granted scopes, and token expiration.
          content:
            application/json:
              schema:
                anyOf:
                - type: object
                  properties:
                    userId:
                      type: string
                    organizationId:
                      type: string
                    clientId:
                      type: string
                    scopes:
                      type: array
                      items:
                        type: string
                    expiresAt:
                      type: number
                  required:
                  - userId
                  - organizationId
                  - clientId
                  - scopes
                  - expiresAt
                - type: object
                  properties:
                    userId:
                      type: string
                    organizationId:
                      type: string
                  required:
                  - userId
                  - organizationId
                - type: object
                  properties:
                    principal:
                      type: string
                      const: agent
                    organizationId:
                      type: string
                  required:
                  - principal
                  - organizationId
        '401':
          description: The credential is missing or invalid.
        '403':
          description: The credential does not grant access to the requested organization.
        '503':
          description: The authentication provider is unavailable.
    servers:
    - url: https://api.tembo.io/
      description: Tembo API
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
x-refined-from:
- tembo-openapi-original.json
- tembo-openapi.yml
x-provenance:
  method: harvested
  publisher: Tembo
  source: https://www.tembo.io/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)