Create Api Key
curl --request POST \
--url https://api.example.com/v1/api-keys \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"scopes": [
"<string>"
],
"key_type": "human",
"expires_at": "2023-11-07T05:31:56Z",
"allowed_sources": [
"<string>"
]
}
'{
"data": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"key_prefix": "<string>",
"key": "<string>",
"scopes": [
"<string>"
],
"key_type": "<string>",
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"allowed_sources": [
"<string>"
]
},
"meta": {}
}API Keys
Create API Key
POST
/
v1
/
api-keys
Create Api Key
curl --request POST \
--url https://api.example.com/v1/api-keys \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"scopes": [
"<string>"
],
"key_type": "human",
"expires_at": "2023-11-07T05:31:56Z",
"allowed_sources": [
"<string>"
]
}
'{
"data": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"key_prefix": "<string>",
"key": "<string>",
"scopes": [
"<string>"
],
"key_type": "<string>",
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"allowed_sources": [
"<string>"
]
},
"meta": {}
}Documentation Index
Fetch the complete documentation index at: https://docs.calseta.com/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
Human-readable label
Required string length:
1 - 255Granted scopes
Minimum array length:
1Key type: 'human' or 'agent'
Optional expiry (UTC ISO 8601)
Restrict ingestion to these source names (null = unrestricted)
⌘I

