For the complete documentation index, see llms.txt. This page is also available as Markdown.

User Management

Operations for user authentication and account management

Generate a new API key

post

Generates a new API key for the authenticated user (replaces existing key)

Authorizations
AuthorizationstringRequired

JWT token for user session authentication.

Responses
200

API key generated successfully

application/json
apiKeystringOptional

The generated API key (only returned once)

Example: dw_1234567890abcdef
messagestringOptionalExample: API key generated successfully
post/generateApiKey

Get API key status

get

Checks if the user has an API key and returns its creation date

Authorizations
AuthorizationstringRequired

JWT token for user session authentication.

Responses
200

API key status retrieved successfully

application/json
hasApiKeybooleanOptional

Whether the user has an API key

createdAtstring · date-time · nullableOptional

When the API key was created (if it exists)

get/apiKeyStatus

Submit and validate user API key

post

Validates and stores a user's external API key (e.g., OpenRouter)

Authorizations
AuthorizationstringRequired

JWT token for user session authentication.

Body
apiKeystringRequired

The API key to validate and store

Responses
200

API key validated and stored successfully

application/json
messagestringOptionalExample: API key validated and stored successfully
post/submitApiKey

Last updated