Api Keys
Responses
200
Successful Response
application/json
404
Not found
get
GET /api-keys HTTP/1.1
Host:
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"preview": "text",
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"expires_at": "2025-08-12T08:41:18.749Z",
"created": "2025-08-12T08:41:18.749Z"
}
]
Body
nameany ofOptional
A human-readable name for the API key
stringOptional
nullOptional
expires_atany ofOptional
The date and time when the API key will expire
string · date-timeOptional
nullOptional
Responses
200
Successful Response
text/plain
Responsestring
404
Not found
422
Validation Error
application/json
post
POST /api-keys HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 55
{
"name": "text",
"expires_at": "2025-08-12T08:41:18.749Z"
}
text