Skip to content
OpenTrain AIOpenTrain AIOpenTrain AIDocs

Ask OpenTrain

Answers from the documentation, with sources.

What would you like to do with OpenTrain?

AI answers can be mistaken. Check the linked sources. Don’t include private account information.

Open app

DEVELOPER DOCUMENTATION

List Team Members

Read the workspace team: organization, members with roles, and pending email invites.

GET/api/public/v1/team

Reads the employer team for the account: the organization, every member with their role, and any pending email invites. Team members share the account’s jobs and team inbox — invite humans with POST /team/invites.

Member email here is the team member’s own login email — these are humans on your workspace, not AI trainers (AI trainer contact always goes through the Work Email system).

Requirements: team:read scope + the public_api_team feature. Works pre-claim.

No parameters.

teamobject
team
organizationobject

{id, name, ownerUserId, ownerName} — the workspace organization and its owner.

membersobject[]

Each member: {userId, role, name, email, joinedAt}. role is OWNER or MEMBER; email can be null.

invitesobject[]

Pending invites that have not been accepted yet: {id, email, createdAt, expiresAt}.

StatuscodeMeaning
401UNAUTHORIZEDMissing or invalid token
403FORBIDDENMissing team:read (details.requiredScopes, details.grantedScopes), public_api_team disabled, or employer teams not enabled for the account (details.reason: "teams_not_enabled")