Skip to main content
Version: 0.1.0

CortexHub API

REST API for managing your CortexHub organisation: agents, governance, platform utilities, webhook integrations, and API keys.

Create a Platform OAuth client in org settings, exchange credentials at POST /v1/oauth/token, then send Authorization: Bearer on each request.

Documentation: https://docs.cortexhub.ai/docs/

Authentication​

OAuth 2.0 client credentials. Exchange client_id and client_secret at POST /v1/oauth/token for a short-lived bearer access token. Request only the scopes your integration needs.

Security Scheme Type:

oauth2

OAuth Flow (clientCredentials):

Scopes:

  • api_keys.mint: Mint, rotate, and revoke org API keys.

  • org.context.compress: Compress message context before LLM calls.

  • org.documents.parse: Parse documents into markdown and text chunks.

  • org.read: Read organisation profile and members.

  • org.router.invoke: List org LLM models and invoke the CortexHub LLM router.

  • org.toolkits.connect: Connect and disconnect member toolkit credentials.

  • org.toolkits.read: Read toolkit catalogue, entitlements, and connection status.

  • org.write: Manage organisation settings, governance groups, toolkits, and members.