{"command":{"effect":"write","timeoutSeconds":120,"inputSchema":{"type":"object","description":"Creates a webhook endpoint for the authenticated project.","properties":{"body":{"$ref":"#/definitions/PublicCreateEndpointBody"}},"required":[],"additionalProperties":false,"definitions":{"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":"#/definitions/ProjectEventTypeEnum"},"type":"array","minItems":1,"description":"The event types that trigger deliveries to this endpoint."}},"type":"object","required":["name","url","event_types"]},"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","agent.environment.ready","agent.environment.failed","agent.environment.suspended","agent.environment.expired","agent.session.created","agent.session.action_required","agent.session.in_progress","agent.session.idle","agent.session.failed","safety.alert.created"]}}},"name":"Create Webhook Endpoint","id":"openai.createwebhookendpoint","example":{},"maxRequests":1,"summary":false}}