Represents an individual user
within an organization.
import { User } from "argot-open-ai/models/components";
let value: User = {
object: "organization.user",
id: "<id>",
name: "<value>",
email: "[email protected]",
role: "owner",
addedAt: 470621,
};
Field | Type | Required | Description |
---|---|---|---|
object |
components.UserObject | ✔️ | The object type, which is always organization.user |
id |
string | ✔️ | The identifier, which can be referenced in API endpoints |
name |
string | ✔️ | The name of the user |
email |
string | ✔️ | The email address of the user |
role |
components.UserRole | ✔️ | owner or reader |
addedAt |
number | ✔️ | The Unix timestamp (in seconds) of when the user was added. |