View Source ExOpenAI.Components.User (ex_openai.ex v2.0.0-beta2)

Represents an individual user within an organization.

Fields

  • :added_at - required - integer()
    The Unix timestamp (in seconds) of when the user was added.

  • :email - required - String.t()
    The email address of the user

  • :id - required - String.t()
    The identifier, which can be referenced in API endpoints

  • :name - required - String.t()
    The name of the user

  • :object - required - :"organization.user"
    The object type, which is always organization.user
    Allowed values: "organization.user"

  • :role - required - :owner | :reader
    owner or reader
    Allowed values: "owner", "reader"

Summary

Types

@type t() :: %ExOpenAI.Components.User{
  added_at: integer(),
  email: String.t(),
  id: String.t(),
  name: String.t(),
  object: :"organization.user",
  role: :owner | :reader
}