Represents a team within an organization, including members, models, and permissions.

_id
string
required

Unique identifier for the team.

dateCreated
string
required

The date when the team was created.

embeddingModel
object
required

The embedding model associated with the team.

llmModel
object
required

The large language model associated with the team.

members
string[]
required

List of member identifiers belonging to the team.

name
string
required

The name of the team.

orgId
string
required

Identifier of the organization to which the team belongs.

ownerId
string
required

Identifier of the owner of the team.

permissions
object
required

A mapping of user, team, or org IDs to their permissions within the team.