users

Get User Organizations

Get all organizations for the specified user.

Returns a list of organizations with membership metadata.

Requires authentication. Users can only fetch their own organizations.

get/users/{user_id}/organizations

Request

  • Base URL: https://backend.pruna.ai (the document declares no server; this is the origin it was published from)
  • URL: https://backend.pruna.ai/users/{user_id}/organizations
  • Auth: HTTP bearer

Path parameters

user_idstring required

Response

Successful Response

organizationIdstring required

Organization ID

namestring required

Organization name

status'ACTIVE' | 'AWS_PENDING_ACTIVATION' | 'SUSPENDED' | 'DELETED' required

Status of a tenant account.

billingType'usage' | 'credit' | 'aws_marketplace_usage' required

Billing mode for a tenant.

createdAtstring date-time required

Organization creation timestamp

memberCountinteger nullable

Number of members in the organization

currentUserRolestring nullable

Role of the requesting user within the organization

termsOfUseAcceptedboolean

Whether the user has accepted the terms of use

dpaAcceptedboolean

Whether the user has accepted the Data Processing Agreement

isNewSelfServeboolean

True when org was just auto-created for self-serve user (show welcome modal)

Changes

No recorded changes to this operation across all 1 revision of this API.