eval.run.failed
Sent when an eval run has failed.
Schema
Schema name: WebhookEvalRunFailed
json
{
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/webhooks/eval_run_failed/post/requestBody/content/application%2Fjson/schema",
"docstring": "Sent when an eval run has failed.\n",
"ident": "EvalRunFailedWebhookEvent",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "created_at"
},
{
"ident": "data"
},
{
"ident": "type"
},
{
"ident": "object"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema) > (property) id",
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema) > (property) created_at",
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema) > (property) data",
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema) > (property) type",
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema) > (property) object"
]
},
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema) > (property) id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebhookEvalRunFailed/properties/id",
"deprecated": false,
"key": "id",
"docstring": "The unique ID of the event.\n",
"type": {
"kind": "HttpTypeString"
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema) > (property) created_at": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebhookEvalRunFailed/properties/created_at",
"deprecated": false,
"key": "created_at",
"docstring": "The Unix timestamp (in seconds) of when the eval run failed.\n",
"type": {
"kind": "HttpTypeNumber"
},
"constraints": {
"format": "unixtime"
},
"optional": false,
"nullable": false,
"schemaType": "integer",
"children": []
},
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema) > (property) data": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebhookEvalRunFailed/properties/data",
"deprecated": false,
"key": "data",
"docstring": "Event data payload.\n",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
}
]
},
"optional": false,
"nullable": false,
"schemaType": "object",
"childrenParentSchema": "object",
"children": [
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema) > (property) data > (property) id"
]
},
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebhookEvalRunFailed/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The type of the event. Always `eval.run.failed`.\n",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/WebhookEvalRunFailed/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "eval.run.failed"
}
]
},
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema) > (property) type > (member) 0"
]
},
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema) > (property) object": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebhookEvalRunFailed/properties/object",
"deprecated": false,
"key": "object",
"docstring": "The object of the event. Always `event`.\n",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/WebhookEvalRunFailed/properties/object",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "event"
}
]
},
"optional": true,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema) > (property) object > (member) 0"
]
},
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema) > (property) data > (property) id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebhookEvalRunFailed/properties/data/properties/id",
"deprecated": false,
"key": "id",
"docstring": "The unique ID of the eval run.\n",
"type": {
"kind": "HttpTypeString"
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "eval.run.failed"
}
},
"(resource) webhooks > (model) eval_run_failed_webhook_event > (schema) > (property) object > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "event"
}
}
}Example
json
{
"id": "evt_abc123",
"type": "eval.run.failed",
"created_at": 1719168000,
"data": {
"id": "evalrun_abc123"
}
}