Webhooks
ModelsExpand Collapse
class BatchCancelledWebhookEvent { 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: { 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.
class BatchCompletedWebhookEvent { 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: { 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.
class BatchExpiredWebhookEvent { 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: { 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.
class BatchFailedWebhookEvent { 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: { 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.
class EvalRunCanceledWebhookEvent { 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: { 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.
class EvalRunFailedWebhookEvent { 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: { 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.
class EvalRunSucceededWebhookEvent { 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: { 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.
class FineTuningJobCancelledWebhookEvent { 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: { 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.
class FineTuningJobFailedWebhookEvent { 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: { 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.
class FineTuningJobSucceededWebhookEvent { 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: { 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.
class RealtimeCallIncomingWebhookEvent { 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: { call_id, sip_headers}Event data payload.
Event data payload.
The unique ID of this call.
sip_headers: Array[{ 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.
class ResponseCancelledWebhookEvent { 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: { 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.
class ResponseCompletedWebhookEvent { 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: { 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.
class ResponseFailedWebhookEvent { 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: { 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.
class ResponseIncompleteWebhookEvent { 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: { 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.