---
sidebar:
  hidden: true
title: roboto.domain.orgs.org_records
---
## Module Contents

### OrgInviteRecord

```python
class roboto.domain.orgs.org_records.OrgInviteRecord(/, **data: Any)
```

`from roboto.domain.orgs import OrgInviteRecord`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/domain/orgs/org_records.py#L97-L110)

Bases: `pydantic.BaseModel`

A wire-transmissible representation of an organization invite.

**Parameters**

- **data** (`Any`)

**Attributes**

- **OrgInviteRecord.invite_id** (`str`): Unique identifier for the invitation.
- **OrgInviteRecord.invited_by** (`roboto.domain.users.UserRecord`): User information for the person who created the invitation.
- **OrgInviteRecord.org** (`OrgRecord`): Organization information for the organization being invited to.
- **OrgInviteRecord.user_id** (`str`): User ID of the person who was invited.

### OrgRecord

```python
class roboto.domain.orgs.org_records.OrgRecord(/, **data: Any)
```

`from roboto.domain.orgs import OrgRecord`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/domain/orgs/org_records.py#L46-L65)

Bases: `pydantic.BaseModel`

A wire-transmissible representation of an organization.

**Parameters**

- **data** (`Any`)

**Attributes**

- **OrgRecord.created** (`datetime.datetime`): Timestamp when the organization was created.
- **OrgRecord.created_by** (`str | None`) = `None`: User ID of the organization creator.
- **OrgRecord.name** (`str`): Human-readable name of the organization.
- **OrgRecord.org_id** (`str`): Unique identifier for the organization.
- **OrgRecord.status** (`OrgStatus`): Current operational status of the organization.
- **OrgRecord.tier** (`OrgTier`): Subscription tier of the organization.

### OrgRoleName

```python
class roboto.domain.orgs.org_records.OrgRoleName
```

`from roboto.domain.orgs import OrgRoleName`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/domain/orgs/org_records.py#L68-L81)

Bases: `roboto.compat.StrEnum`

Organization role enumeration.

Defines the different permission levels users can have within an organization.

**Attributes**

- **OrgRoleName.admin** = `'admin'`: Administrative role with management permissions for organization resources.
- **OrgRoleName.owner** = `'owner'`: Owner role with full control over the organization including billing and deletion.
- **OrgRoleName.user** = `'user'`: Basic user role with read access to organization resources.

### OrgStatus

```python
class roboto.domain.orgs.org_records.OrgStatus
```

`from roboto.domain.orgs import OrgStatus`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/domain/orgs/org_records.py#L16-L29)

Bases: `roboto.compat.StrEnum`

Organization status enumeration.

Represents the current operational state of an organization.

**Attributes**

- **OrgStatus.Active** = `'active'`: Organization is fully operational and ready for use.
- **OrgStatus.Deprovisioning** = `'de-provisioning'`: Organization is being deleted and resources are being cleaned up.
- **OrgStatus.Provisioning** = `'provisioning'`: Organization is being set up and is not yet ready for use.

### OrgTier

```python
class roboto.domain.orgs.org_records.OrgTier
```

`from roboto.domain.orgs import OrgTier`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/domain/orgs/org_records.py#L32-L43)

Bases: `roboto.compat.StrEnum`

Organization tier enumeration.

See our pricing page for details on different organization tiers and their associated features and limits.

**Attributes**

- **OrgTier.free** = `'free'`: Free tier with basic features and usage limits.
- **OrgTier.premium** = `'premium'`: Premium tier with advanced features and higher usage limits.

### OrgUserRecord

```python
class roboto.domain.orgs.org_records.OrgUserRecord(/, **data: Any)
```

`from roboto.domain.orgs import OrgUserRecord`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/domain/orgs/org_records.py#L84-L94)

Bases: `pydantic.BaseModel`

A wire-transmissible representation of an organization user.

**Parameters**

- **data** (`Any`)

**Attributes**

- **OrgUserRecord.org** (`OrgRecord`): Organization information.
- **OrgUserRecord.roles** (`list[OrgRoleName]`): List of roles the user has within the organization.
- **OrgUserRecord.user** (`roboto.domain.users.UserRecord`): User information for the organization member.
