Create single API key. Returns the actual sk_ key (only time it's exposed) and api_key_id for future operations.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length between 1 and 255
^[a-zA-Z0-9_-]+$

Unique identifier for the Company

Query Params
integer
≥ 1
Defaults to 1

Page number for pagination

integer
1 to 100
Defaults to 20

Number of items per page

string

Field to sort by

string
enum
Defaults to desc

Sort order (ascending or descending)

Allowed:
string
length between 1 and 255

Search term to filter results

Body Params

Input schema for creating ApiKey

string

User who owns this API key

string
required

Company this API key belongs to

int64
required

Role/permission level for this API key

string

Type of API key (analytics, mcp, or endpoint)

boolean

True if key was auto-generated for MCP deployment

string

MCP deployment this key is tied to (NULL for analytics/endpoint keys)

string

Endpoint this key is tied to (NULL for analytics/mcp keys)

string

Human-readable name for this API key

date-time

When this API key expires (NULL = never expires)

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json