Exports & team

Exports produced in the table workspace and organization APIs for collaboration.

Exports

The UI exports CSV, Markdown, PDF, JSON, and HTML for the current filter/sort. The REST export endpoint (planned) returns the same bundle with scope metadata and content hash so automation can verify parity with UI runs.

Team

GET/api/team

Organization members, roles, and pending invitations for the signed-in user.

POST/api/team/invitations

Invite by email with organization role and optional project scopes. Requires outbound email (503 email_not_configured if missing).

Request body
{ "email": "collab@company.com", "role": "read", "projectIds": ["…"] }
GET/api/billing

Current plan, credit balance, and usage counters. Agent chat returns 402 billing_limit when quota is exhausted.

GET/api/user/profile

Signed-in profile (display name, avatar, email). 401 unauthorized without session.