OpenAI API

InviteRequest

object
emailstringrequired

Send an email to this address

rolestringrequired

owner or reader

Allowed values:readerowner

projectsarray[object]

An array of projects to which membership is granted at the same time the org invite is accepted. If omitted, the user will be invited to the default project for compatibility with legacy behavior.

Show Child Parameters
Example

ListAssistantsResponse

object
objectstringrequired

Example:list

dataarray[object]required

Represents an assistant that can call the model and use tools.

Show Child Parameters
first_idstringrequired

Example:asst_abc123

last_idstringrequired

Example:asst_abc456

has_morebooleanrequired
Example

ListAuditLogsResponse

object
objectstringrequired

Allowed values:list

dataarray[object]required

A log of a user action or configuration change within this organization.

Show Child Parameters
first_idstringrequired

Example:audit_log-defb456h8dks

last_idstringrequired

Example:audit_log-hnbkd8s93s

has_morebooleanrequired
Example

ListBatchesResponse

object
dataarray[object]required
Show Child Parameters
first_idstring

Example:batch_abc123

last_idstring

Example:batch_abc456

has_morebooleanrequired
objectstringrequired

Allowed values:list

Example

ListFilesResponse

object
objectstringrequired

Example:list

dataarrayrequired

The File object represents a document that has been uploaded to OpenAI.

Show Child Parameters
first_idstringrequired

Example:file-abc123

last_idstringrequired

Example:file-abc456

has_morebooleanrequired
Example