ReferenceHTTP API
Team
Reads X-FEATHERLANE-AI-User-Id (required, UUID) and X-FEATHERLANE-AI-User-Email
(optional). When the email is present we first bulk-accept any
pending invites addressed to it; the membership query then sees
the new rows in the same response. This is the dashboard's
"auto-bind on next request" mechanism.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/team/my-workspaces"{ "is_platform_admin": true, "workspaces": [ { "id": "string", "is_attacks_enabled": true, "is_knowledge_base_enabled": true, "is_mcp_gateway_enabled": true, "name": "string", "organization_id": "string", "role": "owner", "slug": "string" } ]}Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
POST /v1/team/my-workspaces body. Creates a fresh organization +
workspace pair and grants the calling user owner on both.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/team/my-workspaces" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "id": "string", "is_attacks_enabled": true, "is_knowledge_base_enabled": true, "is_mcp_gateway_enabled": true, "name": "string", "organization_id": "string", "role": "owner", "slug": "string"}