v5

latestOpenAPI 3.1.02026-08-08341215300.9 KB

Create Mcp Api Key

Create a new MCP API key for the authenticated user.

The API key is returned only once upon creation and cannot be retrieved later. Store it securely.

Use this key in Claude Code or Cursor with: { "mcpServers": { "deeptrace": { "url": "https://api.deeptrace.ai/mcp/sse", "headers": { "Authorization": "Bearer <your_api_key>" } } } }

post/api/mcp-api-keys

Request body

namestring required

A descriptive name for this API key (e.g., 'My Cursor', 'Claude Desktop')

expires_in_daysinteger nullable

Number of days until the key expires. Null for no expiration.

Response

Successful Response

idstring required
namestring required
api_keystring required
key_prefixstring required
expires_atstring nullable required
created_atstring required