Aleph Alpha Namespace API

Management of namespaces

GitHub OpenAPI

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /namespaces List document namespaces · List namespaces #
Ask an LLM
“Which namespaces contain my document collections?”
“Can I see all the namespaces I have access to?”
Tell an agent
List all document namespaces.
Show every namespace with its collections.
PUT /namespaces/{namespace} Create a document namespace · Create namespace #
Ask an LLM
“How do I create a new namespace for my document collections?”
“Can I give a namespace a name that avoids naming conflicts with other organisations?”
Tell an agent
Create namespace {namespace}.
Set up a new document namespace called {namespace}.
DELETE /namespaces/{namespace} Delete a document namespace · Delete namespace #
Ask an LLM
“Can I delete a namespace that still has collections in it?”
“What happens to collections when I delete their namespace?”
Tell an agent destructive · confirm first
Delete namespace {namespace}.
Remove the {namespace} namespace and its collections.

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:aleph-alpha-namespace-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. 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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

aleph-alpha-namespace-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Aleph Alpha Document Index Namespace API
  version: 0.0.0
  description: 'The Document Index is a service that provides semantic search over your knowledge base. It

    takes care of the chunking and embedding of your documents, and it keeps these embeddings in

    sync when your documents change.'
  contact:
    email: support@aleph-alpha.com
servers:
- url: '{host}/v1/studio/search'
  variables:
    host:
      default: https://api.pharia.example.com
tags:
- name: Namespace
  description: Management of namespaces
paths:
  /namespaces:
    get:
      tags:
      - Namespace
      security:
      - token: []
      summary: List namespaces
      description: List all namespaces
      responses:
        '200':
          description: A list of namespace names
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
                example:
                - namespace_1
                - namespace_2
      operationId: getNamespaces
      x-operation-id-source: derived
  /namespaces/{namespace}:
    put:
      tags:
      - Namespace
      security:
      - token: []
      summary: Create namespace
      parameters:
      - $ref: '#/components/parameters/namespace'
      responses:
        '200':
          description: Namespace successfully created
      operationId: putNamespacesByNamespace
      x-operation-id-source: derived
    delete:
      tags:
      - Namespace
      security:
      - token: []
      summary: Delete namespace
      description: Delete namespace. Only possible if there are no collections in the namespace.
      parameters:
      - $ref: '#/components/parameters/namespace'
      responses:
        '200':
          description: Namespace successfully deleted
      operationId: deleteNamespacesByNamespace
      x-operation-id-source: derived
components:
  parameters:
    namespace:
      description: 'Namespace for collections of documents. Namespaces support preventing naming conflicts

        for collections. A namespace typically corresponds to an organisation.

        Namespaces may only contain alphanumeric characters (a-z, A-Z, -, . and 0-9) and

        cannot be longer than 100 characters.

        '
      name: namespace
      in: path
      schema:
        type: string
        maxLength: '100'
        pattern: ^[a-zA-Z0-9\-\.]+$
      required: 'true'
      example: aleph-alpha
  securitySchemes:
    token:
      type: http
      scheme: bearer
      description: Can be generated in your [Aleph Alpha profile](https://app.aleph-alpha.com/profile)