Documentation Index
Fetch the complete documentation index at: https://docs.enagrams.com/llms.txt
Use this file to discover all available pages before exploring further.
Validate API Key
Check if an API key is valid and get the associated user.
POST /users/validate-key
Authorization: Bearer ek_your_key_here
Response
{
"valid": true,
"user_id": "usr_abc123",
"email": "developer@example.com"
}
Invalid key:
{
"valid": false,
"error": "Key not found or revoked"
}
Get User Profile
GET /users/profile
Authorization: Bearer ek_your_key_here
Response
{
"id": "usr_abc123",
"email": "developer@example.com",
"name": "Developer A",
"created_at": "2026-01-01T00:00:00Z",
"workspaces": [
{
"id": "ws_xyz",
"slug": "my-startup",
"name": "My Startup",
"role": "owner"
}
]
}