{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/openai/main/json-schema/openai-public-create-endpoint-body-schema.json", "title": "PublicCreateEndpointBody", "x-generated": "2026-09-23", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/openai-webhook-endpoints-api-openapi.yml#/components/schemas/PublicCreateEndpointBody", "properties": { "name": { "type": "string", "maxLength": 256, "minLength": 1, "description": "A human-readable name for the webhook endpoint." }, "url": { "type": "string", "maxLength": 2048, "pattern": "^https://", "description": "The HTTPS URL that receives webhook deliveries." }, "event_types": { "items": { "$ref": "#/$defs/ProjectEventTypeEnum" }, "type": "array", "minItems": 1, "description": "The event types that trigger deliveries to this endpoint." } }, "type": "object", "required": [ "name", "url", "event_types" ], "$defs": { "ProjectEventTypeEnum": { "type": "string", "enum": [ "batch.completed", "batch.failed", "batch.expired", "batch.cancelled", "response.completed", "response.failed", "response.cancelled", "response.incomplete", "eval.run.succeeded", "eval.run.failed", "eval.run.canceled", "fine_tuning.job.succeeded", "fine_tuning.job.failed", "fine_tuning.job.cancelled", "realtime.call.incoming", "video.completed", "video.failed", "safety.alert.created" ] } } }