v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBOrganization API Keys
Create Api Key
Create a new API key for a user.
post/v1/organizations/users/{user_email}/api-keys
Path parameters
user_emailstring required
Request body
Example request
{
"description": "Service account for ingestion pipeline",
"name": "backend-service",
"permissions": [
"read",
"write"
],
"rate_limit_override": 120
}Response
Successful Response
Example response
{
"created_at": "2025-01-01T00:00:00Z",
"created_by": "usr_admin",
"description": "Service account for ingestion",
"internal_id": "int_x1y2z3",
"key_hash": "2c26b46b68ffc68ff99b453c1d304134",
"key_id": "key_a1b2c3d4e5f6g7h",
"key_prefix": "sk_abc123...",
"name": "backend-service",
"organization_id": "org_demo123",
"permissions": [
"read",
"write"
],
"scopes": [],
"status": "active",
"user_id": "usr_a1b2c3d4e5f6g7h"
}