Create Api Key

Create a new Deeptrace API key for the authenticated user.

API keys are used to trigger and retrieve investigations via the REST API (POST /api/v1/investigate, GET /api/v1/investigations/{id}).

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

post/api/api-keys

Request

  • Base URL: https://api.deeptrace.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.deeptrace.com/api/api-keys
  • Auth: none declared

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

Changes

No recorded changes to this operation across all 39 revisions of this API.