Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 2.36 KB

user.md

File metadata and controls

29 lines (23 loc) · 2.36 KB

User

Represents an individual user within an organization.

Example Usage

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,
};

Fields

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.