OpenAI API

ProjectUserDeleteResponse

object
objectstringrequired

Allowed values:organization.project.user.deleted

idstringrequired
deletedbooleanrequired
Example

ProjectUserListResponse

object
objectstringrequired
dataarray[object]required

Represents an individual user in a project.

Show Child Parameters
first_idstringrequired
last_idstringrequired
has_morebooleanrequired
Example

ProjectUserUpdateRequest

object
rolestringrequired

owner or member

Allowed values:ownermember

Example

RealtimeClientEventConversationItemCreate

object

Add a new Item to the Conversation’s context, including messages, function
calls, and function call responses. This event can be used both to populate a
“history” of the conversation and to add new items mid-stream, but has the
current limitation that it cannot populate assistant audio messages.

If successful, the server will respond with a conversation.item.created
event, otherwise an error event will be sent.

event_idstring

Optional client-generated ID used to identify this event.

typestringrequired

The event type, must be conversation.item.create.

Allowed values:conversation.item.create

previous_item_idstring

The ID of the preceding item after which the new item will be inserted.
If not set, the new item will be appended to the end of the conversation.
If set to root, the new item will be added to the beginning of the conversation.
If set to an existing ID, it allows an item to be inserted mid-conversation. If the
ID cannot be found, an error will be returned and the item will not be added.

itemobjectrequired

The item to add to the conversation.

Show Child Parameters
Example

RealtimeClientEventConversationItemDelete

object

Send this event when you want to remove any item from the conversation
history. The server will respond with a conversation.item.deleted event,
unless the item does not exist in the conversation history, in which case the
server will respond with an error.

event_idstring

Optional client-generated ID used to identify this event.

typestringrequired

The event type, must be conversation.item.delete.

Allowed values:conversation.item.delete

item_idstringrequired

The ID of the item to delete.

Example