Skip to main content
POST
/
auth
/
validate-key
Validate an API key
curl --request POST \
  --url https://api.qontext.ai/auth/validate-key \
  --header 'X-API-Key: <api-key>'
{
  "message": "API key confirmed",
  "workspace": {
    "id": "ws_123e4567-e89b-12d3-a456-426614174000",
    "name": "My Workspace",
    "url": "https://myworkspace.com",
    "slackChannelLink": "https://qontext.slack.com/channels/workspace-support",
    "type": "ai_tool",
    "createdAt": "2021-01-01T00:00:00.000Z",
    "updatedAt": "2021-01-01T00:00:00.000Z"
  },
  "knowledgeGraphId": "kg_123e4567-e89b-12d3-a456-426614174000"
}

Documentation Index

Fetch the complete documentation index at: https://docs.qontext.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

API key for the Qontext API

Response

API key valid

message
string
required

Confirmation message.

Example:

"API key confirmed"

workspace
object
required

The workspace associated with the validated API key.

knowledgeGraphId
string

Optional ID of the knowledge graph (vault) this API key is scoped to. If absent, the key is workspace-scoped.

Example:

"kg_123e4567-e89b-12d3-a456-426614174000"