Aleph Alpha Tokens API

Manage tokens associated with your user account for API access.

Operations 3

GET /users/me/tokens Get issued API tokens #
POST /users/me/tokens Create a new API token #
DELETE /users/me/tokens/{token_id} Delete an API token #

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/aleph-alpha-tokens-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

aleph-alpha-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Aleph Alpha Tokens API
  version: 4.7.0
  description: Access and interact with Aleph Alpha models and functionality over HTTP endpoints.
  contact:
    email: support@aleph-alpha.com
servers:
- url: '{host}/v1'
  variables:
    host:
      default: https://api.pharia.example.com
tags:
- name: tokens
  description: Manage tokens associated with your user account for API access.
paths:
  /users/me/tokens:
    get:
      summary: Get issued API tokens
      description: 'Will return a list of API tokens that are registered for this user (only token metadata is returned, not the actual tokens)

        '
      operationId: tokens
      tags:
      - tokens
      security:
      - token: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    description:
                      type: string
                      example: token used on my laptop
                      description: 'A simple description that was supplied when creating the token

                        '
                    token_id:
                      type: integer
                      description: 'The token ID to use when calling other endpoints

                        '
                  required:
                  - description
                  - token_id
    post:
      summary: Create a new API token
      description: 'Create a new token to authenticate against the API with (the actual API token is only returned when calling this endpoint)

        '
      operationId: newToken
      tags:
      - tokens
      security:
      - token: []
      requestBody:
        required: 'true'
        content:
          application/json:
            schema:
              type: object
              properties:
                description:
                  type: string
                  example: token used on my laptop
                  description: 'a simple description to remember the token by

                    '
              required:
              - description
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  metadata:
                    type: object
                    properties:
                      description:
                        type: string
                        description: the description you provided
                      token_id:
                        type: number
                        description: the ID of the API token
                    required:
                    - description
                    - token_id
                  token:
                    type: string
                    description: the API token that can be used in the Authorization header
                required:
                - metadata
                - token
  /users/me/tokens/{token_id}:
    parameters:
    - name: token_id
      schema:
        type: integer
        format: int32
      in: path
      description: API token ID
      required: 'true'
    delete:
      summary: Delete an API token
      operationId: deleteToken
      tags:
      - tokens
      security:
      - token: []
      responses:
        '204':
          description: No Content
components:
  securitySchemes:
    token:
      type: http
      scheme: bearer
      description: Can be generated in your [Aleph Alpha profile](https://app.aleph-alpha.com/profile)