OpenAI API

User

object

Represents an individual user within an organization.

objectstringrequired

The object type, which is always organization.user

Allowed values:organization.user

idstringrequired

The identifier, which can be referenced in API endpoints

namestringrequired

The name of the user

emailstringrequired

The email address of the user

rolestringrequired

owner or reader

Allowed values:ownerreader

added_atintegerrequired

The Unix timestamp (in seconds) of when the user was added.

Example

UserDeleteResponse

object
objectstringrequired

Allowed values:organization.user.deleted

idstringrequired
deletedbooleanrequired
Example

UserListResponse

object
objectstringrequired

Allowed values:list

dataarray[object]required

Represents an individual user within an organization.

Show Child Parameters
first_idstringrequired
last_idstringrequired
has_morebooleanrequired
Example

UserRoleUpdateRequest

object
rolestringrequired

owner or reader

Allowed values:ownerreader

Example

Vector store expiration policy

object

The expiration policy for a vector store.

anchorstringrequired

Anchor timestamp after which the expiration policy applies. Supported anchors: last_active_at.

Allowed values:last_active_at

daysintegerrequired

The number of days after the anchor time that the vector store will expire.

>= 1<= 365

Example