Webhooks
Unwrap
ModelsExpand Collapse
BatchCancelledWebhookEvent = object { id, created_at, data, 2 more } Sent when a batch API request has been cancelled.
Sent when a batch API request has been cancelled.
The unique ID of the event.
The Unix timestamp (in seconds) of when the batch API request was cancelled.
data: object { id } Event data payload.
Event data payload.
The unique ID of the batch API request.
The type of the event. Always batch.cancelled.
The object of the event. Always event.
BatchCompletedWebhookEvent = object { id, created_at, data, 2 more } Sent when a batch API request has been completed.
Sent when a batch API request has been completed.
The unique ID of the event.
The Unix timestamp (in seconds) of when the batch API request was completed.
data: object { id } Event data payload.
Event data payload.
The unique ID of the batch API request.
The type of the event. Always batch.completed.
The object of the event. Always event.
BatchExpiredWebhookEvent = object { id, created_at, data, 2 more } Sent when a batch API request has expired.
Sent when a batch API request has expired.
The unique ID of the event.
The Unix timestamp (in seconds) of when the batch API request expired.
data: object { id } Event data payload.
Event data payload.
The unique ID of the batch API request.
The type of the event. Always batch.expired.
The object of the event. Always event.
BatchFailedWebhookEvent = object { id, created_at, data, 2 more } Sent when a batch API request has failed.
Sent when a batch API request has failed.
The unique ID of the event.
The Unix timestamp (in seconds) of when the batch API request failed.
data: object { id } Event data payload.
Event data payload.
The unique ID of the batch API request.
The type of the event. Always batch.failed.
The object of the event. Always event.
EvalRunCanceledWebhookEvent = object { id, created_at, data, 2 more } Sent when an eval run has been canceled.
Sent when an eval run has been canceled.
The unique ID of the event.
The Unix timestamp (in seconds) of when the eval run was canceled.
data: object { id } Event data payload.
Event data payload.
The unique ID of the eval run.
The type of the event. Always eval.run.canceled.
The object of the event. Always event.
EvalRunFailedWebhookEvent = object { id, created_at, data, 2 more } Sent when an eval run has failed.
Sent when an eval run has failed.
The unique ID of the event.
The Unix timestamp (in seconds) of when the eval run failed.
data: object { id } Event data payload.
Event data payload.
The unique ID of the eval run.
The type of the event. Always eval.run.failed.
The object of the event. Always event.
EvalRunSucceededWebhookEvent = object { id, created_at, data, 2 more } Sent when an eval run has succeeded.
Sent when an eval run has succeeded.
The unique ID of the event.
The Unix timestamp (in seconds) of when the eval run succeeded.
data: object { id } Event data payload.
Event data payload.
The unique ID of the eval run.
The type of the event. Always eval.run.succeeded.
The object of the event. Always event.
FineTuningJobCancelledWebhookEvent = object { id, created_at, data, 2 more } Sent when a fine-tuning job has been cancelled.
Sent when a fine-tuning job has been cancelled.
The unique ID of the event.
The Unix timestamp (in seconds) of when the fine-tuning job was cancelled.
data: object { id } Event data payload.
Event data payload.
The unique ID of the fine-tuning job.
The type of the event. Always fine_tuning.job.cancelled.
The object of the event. Always event.
FineTuningJobFailedWebhookEvent = object { id, created_at, data, 2 more } Sent when a fine-tuning job has failed.
Sent when a fine-tuning job has failed.
The unique ID of the event.
The Unix timestamp (in seconds) of when the fine-tuning job failed.
data: object { id } Event data payload.
Event data payload.
The unique ID of the fine-tuning job.
The type of the event. Always fine_tuning.job.failed.
The object of the event. Always event.
FineTuningJobSucceededWebhookEvent = object { id, created_at, data, 2 more } Sent when a fine-tuning job has succeeded.
Sent when a fine-tuning job has succeeded.
The unique ID of the event.
The Unix timestamp (in seconds) of when the fine-tuning job succeeded.
data: object { id } Event data payload.
Event data payload.
The unique ID of the fine-tuning job.
The type of the event. Always fine_tuning.job.succeeded.
The object of the event. Always event.
RealtimeCallIncomingWebhookEvent = object { id, created_at, data, 2 more } Sent when Realtime API Receives a incoming SIP call.
Sent when Realtime API Receives a incoming SIP call.
The unique ID of the event.
The Unix timestamp (in seconds) of when the model response was completed.
data: object { call_id, sip_headers } Event data payload.
Event data payload.
The unique ID of this call.
sip_headers: array of object { name, value } Headers from the SIP Invite.
Headers from the SIP Invite.
Name of the SIP Header.
Value of the SIP Header.
The type of the event. Always realtime.call.incoming.
The object of the event. Always event.
ResponseCancelledWebhookEvent = object { id, created_at, data, 2 more } Sent when a background response has been cancelled.
Sent when a background response has been cancelled.
The unique ID of the event.
The Unix timestamp (in seconds) of when the model response was cancelled.
data: object { id } Event data payload.
Event data payload.
The unique ID of the model response.
The type of the event. Always response.cancelled.
The object of the event. Always event.
ResponseCompletedWebhookEvent = object { id, created_at, data, 2 more } Sent when a background response has been completed.
Sent when a background response has been completed.
The unique ID of the event.
The Unix timestamp (in seconds) of when the model response was completed.
data: object { id } Event data payload.
Event data payload.
The unique ID of the model response.
The type of the event. Always response.completed.
The object of the event. Always event.
ResponseFailedWebhookEvent = object { id, created_at, data, 2 more } Sent when a background response has failed.
Sent when a background response has failed.
The unique ID of the event.
The Unix timestamp (in seconds) of when the model response failed.
data: object { id } Event data payload.
Event data payload.
The unique ID of the model response.
The type of the event. Always response.failed.
The object of the event. Always event.
ResponseIncompleteWebhookEvent = object { id, created_at, data, 2 more } Sent when a background response has been interrupted.
Sent when a background response has been interrupted.
The unique ID of the event.
The Unix timestamp (in seconds) of when the model response was interrupted.
data: object { id } Event data payload.
Event data payload.
The unique ID of the model response.
The type of the event. Always response.incomplete.
The object of the event. Always event.