Organizations
List User’s Organizations
string
Organization UUID
string
Organization display name
string
URL-safe organization identifier
string
Billing plan ID (e.g., “free”, “business”, “enterprise”)
string
AI template generation context (optional)
string
ISO 8601 timestamp
Get Organization Details
string
required
Organization UUID
string
Organization UUID
string
Organization display name
string
URL-safe organization identifier
string
Billing plan ID
string
AI template generation context
string
ISO 8601 timestamp
Update Organization
org_owner or org_admin role.
Path Parameters:
string
required
Organization UUID
string
New organization name
string
AI context for template generation
Teams
List Organization Teams
string
required
Organization UUID
string
Team UUID
string
Parent organization UUID
string
Team display name
string
URL-safe team identifier
string
ISO 8601 timestamp
Create Team
org_owner or org_admin role. The creator is automatically added as team admin.
Path Parameters:
string
required
Organization UUID
string
required
Team name
Get Team Details
string
required
Organization UUID
string
required
Team UUID
Update Team
org_owner, org_admin, or team_admin role.
Request Body:
string
required
New team name
Delete Team
org_owner or org_admin role.
Response: 204 No Content
Organization Members
List Organization Members
string
User ID (also used for member operations)
string
User UUID
string
User email address
string
Organization role:
org_owner, org_admin, or org_memberstring
ISO 8601 timestamp
Update Organization Member Role
org_owner role.
Request Body:
string
required
New role:
org_owner, org_admin, or org_memberRemove Organization Member
org_owner role.
Response: 204 No Content
Team Members
List Team Members
string
User ID
string
User UUID
string
User email address
string
Team role:
team_admin, team_developer, or team_viewerstring
ISO 8601 timestamp
Update Team Member Role
org_owner, org_admin, or team_admin role.
Request Body:
string
required
New role:
team_admin, team_developer, or team_viewerRemove Team Member
Team Invitations
List Team Invites
string
Invite UUID
string
Invited user’s email
string
Role the user will receive:
team_admin, team_developer, or team_viewerstring
ISO 8601 timestamp when invite expires
string
ISO 8601 timestamp
Create Team Invite
org_owner, org_admin, or team_admin role. If email sender is configured, an invite email is automatically sent.
Request Body:
string
required
Email address to invite
string
Team role (default:
team_developer)string
Invite UUID
string
Invite token for URL generation
Delete Team Invite
Accept Invite
org_member) and the team with the specified role.
Request Body:
string
required
Invite token from invitation URL or email
string
Team UUID the user joined
string
Organization UUID
string
Team role assigned
Current User Context
Get Current User
string
User UUID
string
User email
string
Unique username
string
Subscription tier
string
Platform-level role (e.g.,
platform_admin)array
Array of organizations with user’s role in each
object
Current active team context
Switch Team Context
string
required
Team UUID to switch to (empty string to show all teams)
boolean
Whether the switch succeeded
string
Active team ID (or null if showing all)
Audit Logs
List Organization Audit Logs
org_owner or org_admin role.
Response:
string
Log entry UUID
string
User who performed the action
string
User’s email
string
Action type (e.g., “create”, “update”, “delete”)
string
Type of resource (e.g., “deployment”, “template”, “secret”)
string
Resource identifier
string
Human-readable resource name
string
Result: “success” or “failure”
string
ISO 8601 timestamp