Sends the event again: to one endpoint with {"endpoint": "we_..."}, or else to every enabled endpoint that subscribes to its type and to the webhook URL its request named. It keeps the event’s webhook-id, so a receiver that skips duplicates handles it once. A disabled endpoint, or nowhere to send, answers 409. Tests and redeliveries share a budget of 100 an hour per workspace.
Needs an API key with the generations:write scope.
Send only to this endpoint. Without it, the event goes to every enabled endpoint that subscribes to its type, and to the webhook URL its request named.
Response
The deliveries it queued.
Forward list envelope. Live lists are not snapshots; totals are not promised.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Leap","description":"Generate images, video and audio with Veo, Kling, Seedance, FLUX, GPT Image, ElevenLabs and more, through one REST API and one balance. No key yet? Browse models and schemas at https://api.tryleap.ai/v1/public/models.","colors":{"primary":"#4F39F6","light":"#777FFF","dark":"#4F39F6"},"logo":{"light":"https://mintcdn.com/leap-0e8117eb/HU8mATp2ehtMskps/logo/light.svg?fit=max\u0026auto=format\u0026n=HU8mATp2ehtMskps\u0026q=85\u0026s=a5c8ec9980a555c60231ada77cecaeb3","dark":"https://mintcdn.com/leap-0e8117eb/HU8mATp2ehtMskps/logo/dark.svg?fit=max\u0026auto=format\u0026n=HU8mATp2ehtMskps\u0026q=85\u0026s=1fcfe7f18026357dff94cf9682fb329a"},"favicon":"https://mintcdn.com/leap-0e8117eb/HU8mATp2ehtMskps/favicon.svg?fit=max\u0026auto=format\u0026n=HU8mATp2ehtMskps\u0026q=85\u0026s=cadb07c0e43b32f72651cb7e3dcb63ba","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","typescript","python"],"prefill":true},"url":"full"},"appearance":{"default":"system","strict":false},"background":{"color":{"light":"#FFFFFF","dark":"#171715"}},"navbar":{"links":[{"href":"https://app.tryleap.ai/go","label":"Studio"}],"primary":{"type":"button","label":"Get an API key","href":"https://app.tryleap.ai/go/api?utm_source=tryleap\u0026utm_medium=docs\u0026utm_campaign=%2Fdocs\u0026utm_content=navbar"}},"footer":{"socials":{"website":"https://www.tryleap.ai"},"links":[{"header":"Product","items":[{"label":"Studio","href":"https://app.tryleap.ai/go"},{"label":"Models","href":"https://www.tryleap.ai/models"},{"label":"Recipes","href":"https://www.tryleap.ai/recipes"},{"label":"Pricing","href":"https://www.tryleap.ai/pricing"}]},{"header":"Developers","items":[{"label":"Get an API key","href":"https://app.tryleap.ai/go/api?utm_source=tryleap\u0026utm_medium=docs\u0026utm_campaign=%2Fdocs\u0026utm_content=footer"},{"label":"Connect an agent","href":"https://app.tryleap.ai/go/connect?utm_source=tryleap\u0026utm_medium=docs\u0026utm_campaign=%2Fdocs\u0026utm_content=footer"},{"label":"Leap skill","href":"https://www.tryleap.ai/skills/leap/SKILL.md"},{"label":"llms.txt","href":"https://www.tryleap.ai/docs/llms.txt"}]},{"header":"Legal","items":[{"label":"Terms","href":"https://app.tryleap.ai/legal/terms"},{"label":"Privacy","href":"https://app.tryleap.ai/legal/privacy"},{"label":"Acceptable use","href":"https://app.tryleap.ai/legal/acceptable-use"}]}]},"search":{"prompt":"Search the Leap docs"},"seo":{"metatags":{"og:site_name":"Leap","og:type":"website","twitter:card":"summary_large_image"},"organization":{"name":"Leap","url":"https://www.tryleap.ai","logo":"https://www.tryleap.ai/icon-512.png"},"indexing":"navigable"},"fonts":{"family":"Geist","weight":400},"icons":{"library":"lucide"},"styling":{"eyebrows":"section","codeblocks":{"theme":"css-variables"},"latex":true},"integrations":{"posthog":{"apiKey":"phc_y6yy24Kn4vwUkaMxb5LCWJrffeBzUQZRh2p4UhsETqYe","apiHost":"https://www.tryleap.ai/ingest","sessionRecording":true}},"errors":{"404":{"redirect":false,"title":"Page not found","description":"Search the docs, or start from the [quickstart](/quickstart)."}},"contextual":{"options":["copy","view","claude","chatgpt",{"title":"Install the Leap skill","description":"Teach Claude Code, Codex and other agents the Leap API","icon":"terminal","href":"https://www.tryleap.ai/skills/leap/SKILL.md"},{"title":"Connect Leap's MCP server","description":"Make images, video and audio from Claude, ChatGPT, Cursor or VS Code","icon":"plug","href":"https://app.tryleap.ai/go/connect?utm_source=tryleap\u0026utm_medium=docs\u0026utm_campaign=%2Fdocs\u0026utm_content=card"}],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/leap-0e8117eb/HU8mATp2ehtMskps/images/og-background.png?fit=max\u0026auto=format\u0026n=HU8mATp2ehtMskps\u0026q=85\u0026s=3475b40ff2d9769cd0ad2ba9e37c1a96","fonts":{"family":"Geist"}},"metadata":{"timestamp":true},"markdown":{"instructions":["Leap's API is at https://api.tryleap.ai. Send the key in the x-api-key header or as Authorization: Bearer; keys start with leap_.","Take model IDs and input schemas from GET /v1/models/{creator}/{name}, or from https://api.tryleap.ai/v1/public/models without a key. Never guess an input field: unknown fields are a 400.","Model inputs take uploaded file IDs (file_...), never URLs. A kept character's ID (chr_..., POST /v1/characters) goes wherever an image file does and keeps the character the same across runs.","To give a coding agent the whole API, install the Leap skill: curl -fsSL https://www.tryleap.ai/install.sh | sh","To make media from ChatGPT, Claude or another MCP client without code, connect Leap's MCP server at https://app.tryleap.ai/api/mcp; see https://www.tryleap.ai/docs/mcp.","The full OpenAPI 3.1 spec is at https://www.tryleap.ai/docs/openapi.json."]},"navigation":{"global":{"anchors":[{"anchor":"Model catalog","icon":"sparkles","href":"https://www.tryleap.ai/models"},{"anchor":"Connect an agent","icon":"plug","href":"https://app.tryleap.ai/go/connect?utm_source=tryleap\u0026utm_medium=docs\u0026utm_campaign=%2Fdocs\u0026utm_content=anchor"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"leap-0e8117eb","hasAudioNarration":false,"actualSubdomain":"leap-0e8117eb","customDomains":["www.tryleap.ai"],"gitSource":{"type":"github","owner":"goatedventures","repo":"leap-neo","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ae36428f2e535e50ffb93a5","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API reference","count":36},{"language":"default","tag":"Guides","count":23},{"language":"default","tag":"Build","count":8},{"language":"default","tag":"Webhooks","count":8},{"language":"default","tag":"MCP server","count":7},{"language":"default","tag":"Characters","count":5},{"language":"default","tag":"Files","count":5},{"language":"default","tag":"Generations","count":5},{"language":"default","tag":"Get started","count":4},{"language":"default","tag":"Events","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\ncode,pre,kbd,samp{font-family:\"Geist Mono\", ui-monospace, SFMono-Regular, Menlo, monospace!important}.eyebrow,.sidebar-group-header{text-transform:none!important}html.dark #topbar-cta-button a{background-color:#4f39f6!important}html.dark #topbar-cta-button span{color:#ffffff!important}:root{--mint-color-background: #171715;--mint-foreground: #ededed;--mint-color-text: #ededed;--mint-token-string: #777fff;--mint-token-string-expression: #777fff;--mint-token-link: #777fff;--mint-token-constant: #ededed;--mint-token-keyword: #ededed;--mint-token-function: #ededed;--mint-token-parameter: #ededed;--mint-token-comment: #a1a1a1;--mint-token-punctuation: #a1a1a1}.code-block,.code-group{background-color:#171715!important}"}],"page":{"pagePath":"api-reference/events/redeliver-an-event","slug":"/api-reference/events/redeliver-an-event","pageMetadata":{"title":"Redeliver an event","description":"Sends the event again: to one endpoint with `{\"endpoint\": \"we_...\"}`, or else to every enabled endpoint that subscribes to its type and to the webhook URL its request named. It keeps the event's `webhook-id`, so a receiver that skips duplicates handles it once. A disabled endpoint, or nowhere to send, answers `409`. Tests and redeliveries share a budget of 100 an hour per workspace.\n\nNeeds an API key with the `generations:write` scope.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/events/{id}/redeliver","href":"/api-reference/events/redeliver-an-event","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Sends the event again: to one endpoint with \", _jsx(_components.code, {\n children: \"{\\\"endpoint\\\": \\\"we_...\\\"}\"\n }), \", or else to every enabled endpoint that subscribes to its type and to the webhook URL its request named. It keeps the event’s \", _jsx(_components.code, {\n children: \"webhook-id\"\n }), \", so a receiver that skips duplicates handles it once. A disabled endpoint, or nowhere to send, answers \", _jsx(_components.code, {\n children: \"409\"\n }), \". Tests and redeliveries share a budget of 100 an hour per workspace.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Needs an API key with the \", _jsx(_components.code, {\n children: \"generations:write\"\n }), \" scope.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":"css-variables"},"config":{},"pageMetadata":{"title":"Redeliver an event","description":"Sends the event again: to one endpoint with `{\"endpoint\": \"we_...\"}`, or else to every enabled endpoint that subscribes to its type and to the webhook URL its request named. It keeps the event's `webhook-id`, so a receiver that skips duplicates handles it once. A disabled endpoint, or nowhere to send, answers `409`. Tests and redeliveries share a budget of 100 an hour per workspace.\n\nNeeds an API key with the `generations:write` scope.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/events/{id}/redeliver","href":"/api-reference/events/redeliver-an-event","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"redeliverEvent","summary":"Redeliver an event","description":"Sends the event again: to one endpoint with `{\"endpoint\": \"we_...\"}`, or else to every enabled endpoint that subscribes to its type and to the webhook URL its request named. It keeps the event's `webhook-id`, so a receiver that skips duplicates handles it once. A disabled endpoint, or nowhere to send, answers `409`. Tests and redeliveries share a budget of 100 an hour per workspace.\n\nNeeds an API key with the `generations:write` scope.","tags":["Events"],"parameters":["bb8c509a-41f5-4316-8a38-70056672a0b1"],"requestBody":"cb15d562-32b7-4d0e-bbab-201a48af9084","responses":{"202":"d46db3b4-ceb6-4709-9e3f-74c24f6cb89e","400":"cd88d101-d430-4939-aa0b-e592c84eeed3","401":"27befd47-0bda-4bee-8c60-e6516c88b617","403":"b0880718-3868-4815-a210-7fca67c634b8","404":"ef4ad5b7-76d7-4169-ae7f-b41b88b2a60c","409":"de0fec37-07b6-4c8b-b699-4b4f9a3b6652","429":"2e06a0c8-7fcb-43eb-b591-14f64090145a"},"method":"post","type":"path","servers":["f01f3dd6-cc2d-41e2-a009-e8c7b8d34abd"],"security":["8f394945-6e6a-438b-a713-b9b98ddec0d5","f875416d-92de-4b7b-ae9f-7c93b205b653"],"path":"/v1/events/{id}/redeliver","baseUrlOptions":["https://api.tryleap.ai"],"title":"Redeliver an event","codeSamples":[],"requestExampleLanguages":["bash","typescript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{}],"urlDisplay":"full"},"dependencies":{"parameters":{"bb8c509a-41f5-4316-8a38-70056672a0b1":{"in":"path","name":"id","schema":{"type":"string","description":"The event's ID, `evt_...`.","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"The event's ID, `evt_...`."}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"default":{},"type":"object","properties":{"endpoint":{"description":"Send only to this endpoint. Without it, the event goes to every enabled endpoint that subscribes to its type, and to the webhook URL its request named.","type":"string","uniqueKey":"endpoint","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"d46db3b4-ceb6-4709-9e3f-74c24f6cb89e":{"description":"The deliveries it queued.","headers":{"X-Request-Id":{"required":true,"description":"This request's ID. Include it when you contact support; it's also `request_id` in an error.","schema":{"type":"string","description":"This request's ID. Include it when you contact support; it's also `request_id` in an error.","example":"req_01J9Z8Q4N2K7T5V3X6Y8B0C1D2"}},"RateLimit-Limit":{"required":true,"description":"Requests allowed per window from your client.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Requests allowed per window from your client.","example":300}},"RateLimit-Remaining":{"required":true,"description":"Requests left in the current window.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Requests left in the current window.","example":299}},"RateLimit-Reset":{"required":true,"description":"Seconds until the window resets.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Seconds until the window resets.","example":42}}},"content":{"application/json":{"example":{"object":"list","url":"/v1/events/evt_9Wc3Yb1Dq7Hm2Vx4Lr8Kp6Tn/deliveries","data":[{"id":"whd_8Rb3Hy6Tc1Vn4Lm7Qx2Wd9Pk","object":"webhook_delivery","event":"evt_9Wc3Yb1Dq7Hm2Vx4Lr8Kp6Tn","endpoint":"we_5Tq8Lm2Xv9Kr4Wn7Bc1Yd3Hp","url":"https://example.com/webhooks/leap","status":"pending","attempts":[],"next_attempt_at":"2026-10-04T19:02:00.000Z","created_at":"2026-10-04T19:02:00.000Z","completed_at":null}],"has_more":false,"next_cursor":null},"schema":{"type":"object","properties":{"object":{"type":"string","const":"list","description":"The list object discriminator.","isRequired":true,"uniqueKey":"object","typeLabel":"string"},"url":{"type":"string","description":"The list's resource path, such as /v1/records.","isRequired":true,"uniqueKey":"url","typeLabel":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The delivery's ID, `whd_...`.","isRequired":true,"uniqueKey":"data.items.[INDEX].id","typeLabel":"string"},"object":{"type":"string","const":"webhook_delivery","isRequired":true,"uniqueKey":"data.items.[INDEX].object","typeLabel":"string"},"event":{"type":"string","description":"The event it carries, `evt_...`.","isRequired":true,"uniqueKey":"data.items.[INDEX].event","typeLabel":"string"},"endpoint":{"oneOf":[{"description":"The endpoint, or null for the webhook URL a request named.","type":"string","isRequired":true,"uniqueKey":"data.items.[INDEX].endpoint.oneOf.0","typeLabel":"string"},{"description":"The endpoint, or null for the webhook URL a request named.","type":"null","isRequired":true,"uniqueKey":"data.items.[INDEX].endpoint.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].endpoint","typeLabel":"string | null"},"url":{"type":"string","description":"Where it goes.","isRequired":true,"uniqueKey":"data.items.[INDEX].url","typeLabel":"string"},"status":{"type":"string","enum":["pending","succeeded","failed"],"description":"`pending` while tries remain, `succeeded` once your server answered 2xx, `failed` after the last try.","isRequired":true,"uniqueKey":"data.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"attempts":{"type":"array","items":{"type":"object","properties":{"attempted_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","isRequired":true,"uniqueKey":"data.items.[INDEX].attempts.items.[INDEX].attempted_at","typeLabel":"string\u003cdate-time>"},"succeeded":{"type":"boolean","isRequired":true,"uniqueKey":"data.items.[INDEX].attempts.items.[INDEX].succeeded","typeLabel":"boolean"},"status_code":{"oneOf":[{"type":"integer","description":"Your server's HTTP status; null when it never answered.","maximum":9007199254740991,"minimum":-9007199254740991,"isRequired":true,"uniqueKey":"data.items.[INDEX].attempts.items.[INDEX].status_code.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Your server's HTTP status; null when it never answered.","isRequired":true,"uniqueKey":"data.items.[INDEX].attempts.items.[INDEX].status_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].attempts.items.[INDEX].status_code","typeLabel":"integer | null"},"error":{"oneOf":[{"description":"Why the try failed, when your server did not answer 2xx, such as a timeout.","type":"string","isRequired":true,"uniqueKey":"data.items.[INDEX].attempts.items.[INDEX].error.oneOf.0","typeLabel":"string"},{"description":"Why the try failed, when your server did not answer 2xx, such as a timeout.","type":"null","isRequired":true,"uniqueKey":"data.items.[INDEX].attempts.items.[INDEX].error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].attempts.items.[INDEX].error","typeLabel":"string | null"},"duration_ms":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"How long the try took.","isRequired":true,"uniqueKey":"data.items.[INDEX].attempts.items.[INDEX].duration_ms","typeLabel":"integer"}},"required":["attempted_at","succeeded","status_code","error","duration_ms"],"additionalProperties":false,"uniqueKey":"data.items.[INDEX].attempts.items.[INDEX]","typeLabel":"object"},"description":"Every try so far, oldest first.","isRequired":true,"uniqueKey":"data.items.[INDEX].attempts","typeLabel":"object[]"},"next_attempt_at":{"oneOf":[{"type":"string","description":"When Leap tries again; null once it succeeded or gave up.","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","isRequired":true,"uniqueKey":"data.items.[INDEX].next_attempt_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"When Leap tries again; null once it succeeded or gave up.","isRequired":true,"uniqueKey":"data.items.[INDEX].next_attempt_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].next_attempt_at","typeLabel":"string\u003cdate-time> | null"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"When it was queued.","isRequired":true,"uniqueKey":"data.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"completed_at":{"oneOf":[{"type":"string","description":"When it succeeded or Leap gave up; null while tries remain.","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","isRequired":true,"uniqueKey":"data.items.[INDEX].completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"When it succeeded or Leap gave up; null while tries remain.","isRequired":true,"uniqueKey":"data.items.[INDEX].completed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].completed_at","typeLabel":"string\u003cdate-time> | null"}},"required":["id","object","event","endpoint","url","status","attempts","next_attempt_at","created_at","completed_at"],"additionalProperties":false,"description":"One event on its way to one URL, with every try so far.","uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"description":"Resource objects in this page, in the requested order.","isRequired":true,"uniqueKey":"data","typeLabel":"object[]"},"has_more":{"type":"boolean","description":"Whether another page is available using next_cursor.","isRequired":true,"uniqueKey":"has_more","typeLabel":"boolean"},"next_cursor":{"oneOf":[{"type":"string","description":"Send as cursor to read the next page; null on the last page.","maxLength":512,"minLength":1,"pattern":"^[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]{43}$","isRequired":true,"uniqueKey":"next_cursor.oneOf.0","typeLabel":"string"},{"type":"null","description":"Send as cursor to read the next page; null on the last page.","isRequired":true,"uniqueKey":"next_cursor.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"next_cursor","typeLabel":"string | null"}},"required":["object","url","data","has_more","next_cursor"],"additionalProperties":false,"description":"Forward list envelope. Live lists are not snapshots; totals are not promised.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"list","url":"/v1/events/evt_9Wc3Yb1Dq7Hm2Vx4Lr8Kp6Tn/deliveries","data":[{"id":"whd_8Rb3Hy6Tc1Vn4Lm7Qx2Wd9Pk","object":"webhook_delivery","event":"evt_9Wc3Yb1Dq7Hm2Vx4Lr8Kp6Tn","endpoint":"we_5Tq8Lm2Xv9Kr4Wn7Bc1Yd3Hp","url":"https://example.com/webhooks/leap","status":"pending","attempts":[],"next_attempt_at":"2026-10-04T19:02:00.000Z","created_at":"2026-10-04T19:02:00.000Z","completed_at":null}],"has_more":false,"next_cursor":null}}},"exampleType":"examples"}},"exampleType":"examples"},"cd88d101-d430-4939-aa0b-e592c84eeed3":{"description":"`invalid_parameter`, `conflicting_credentials`","headers":{"X-Request-Id":{"required":true,"description":"This request's ID. Include it when you contact support; it's also `request_id` in an error.","schema":{"type":"string","description":"This request's ID. Include it when you contact support; it's also `request_id` in an error.","example":"req_01J9Z8Q4N2K7T5V3X6Y8B0C1D2"}},"RateLimit-Limit":{"required":true,"description":"Requests allowed per window from your client.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Requests allowed per window from your client.","example":300}},"RateLimit-Remaining":{"required":true,"description":"Requests left in the current window.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Requests left in the current window.","example":299}},"RateLimit-Reset":{"required":true,"description":"Seconds until the window resets.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Seconds until the window resets.","example":42}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","enum":["invalid_request_error","rate_limit_error","authentication_error","permission_error","conflict_error","billing_error","api_error"],"description":"The kind of error. Branch on `type` and `code`, never on `message`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","enum":["invalid_parameter","invalid_request","conflicting_credentials","placeholder_in_path","method_not_allowed","payload_too_large","unsupported_media_type","ip_rate_limit_exceeded","authentication_required","missing_api_key","invalid_api_key","permission_denied","not_found","resource_not_found","gone","conflict","file_in_use","unpaid_failure_cap","photo_blocked","sexualized_real_person","rate_limit_exceeded","insufficient_credit","top_up_required","service_unavailable","internal_error"],"description":"A stable code for this error. Each one is explained at https://www.tryleap.ai/docs/errors.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, written for a person. It can change; don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"description":"For a `400`, the field at fault, such as `input.prompt`; otherwise null.","type":"string","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"description":"For a `400`, the field at fault, such as `input.prompt`; otherwise null.","type":"null","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"doc_url":{"oneOf":[{"description":"A page that explains this error, when there is one.","type":"string","isRequired":true,"uniqueKey":"error.doc_url.oneOf.0","typeLabel":"string"},{"description":"A page that explains this error, when there is one.","type":"null","isRequired":true,"uniqueKey":"error.doc_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string | null"},"request_id":{"type":"string","description":"This request's ID, as in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"moderation_reason":{"description":"Only on `photo_blocked`: why the photo check refused the photo, `minor` (someone in it may be under 18) or `nudity`.","type":"string","enum":["minor","nudity"],"uniqueKey":"error.moderation_reason","typeLabel":"enum\u003cstring>"}},"required":["type","code","message","param","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"invalid_parameter":{"title":"invalid_parameter","value":{"error":{"type":"invalid_request_error","code":"invalid_parameter","message":"Invalid request parameters.","param":null,"doc_url":null,"request_id":"req_8kQ2vX9mR4tL6nB1cW3yZ5aD"}}},"conflicting_credentials":{"title":"conflicting_credentials","value":{"error":{"type":"invalid_request_error","code":"conflicting_credentials","message":"Send one API key.","param":null,"doc_url":null,"request_id":"req_8kQ2vX9mR4tL6nB1cW3yZ5aD"}}}},"exampleType":"examples"}},"exampleType":"examples"},"27befd47-0bda-4bee-8c60-e6516c88b617":{"description":"`authentication_required`","headers":{"X-Request-Id":{"required":true,"description":"This request's ID. Include it when you contact support; it's also `request_id` in an error.","schema":{"type":"string","description":"This request's ID. Include it when you contact support; it's also `request_id` in an error.","example":"req_01J9Z8Q4N2K7T5V3X6Y8B0C1D2"}},"RateLimit-Limit":{"required":true,"description":"Requests allowed per window from your client.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Requests allowed per window from your client.","example":300}},"RateLimit-Remaining":{"required":true,"description":"Requests left in the current window.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Requests left in the current window.","example":299}},"RateLimit-Reset":{"required":true,"description":"Seconds until the window resets.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Seconds until the window resets.","example":42}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","enum":["invalid_request_error","rate_limit_error","authentication_error","permission_error","conflict_error","billing_error","api_error"],"description":"The kind of error. Branch on `type` and `code`, never on `message`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","enum":["invalid_parameter","invalid_request","conflicting_credentials","placeholder_in_path","method_not_allowed","payload_too_large","unsupported_media_type","ip_rate_limit_exceeded","authentication_required","missing_api_key","invalid_api_key","permission_denied","not_found","resource_not_found","gone","conflict","file_in_use","unpaid_failure_cap","photo_blocked","sexualized_real_person","rate_limit_exceeded","insufficient_credit","top_up_required","service_unavailable","internal_error"],"description":"A stable code for this error. Each one is explained at https://www.tryleap.ai/docs/errors.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, written for a person. It can change; don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"description":"For a `400`, the field at fault, such as `input.prompt`; otherwise null.","type":"string","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"description":"For a `400`, the field at fault, such as `input.prompt`; otherwise null.","type":"null","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"doc_url":{"oneOf":[{"description":"A page that explains this error, when there is one.","type":"string","isRequired":true,"uniqueKey":"error.doc_url.oneOf.0","typeLabel":"string"},{"description":"A page that explains this error, when there is one.","type":"null","isRequired":true,"uniqueKey":"error.doc_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string | null"},"request_id":{"type":"string","description":"This request's ID, as in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"moderation_reason":{"description":"Only on `photo_blocked`: why the photo check refused the photo, `minor` (someone in it may be under 18) or `nudity`.","type":"string","enum":["minor","nudity"],"uniqueKey":"error.moderation_reason","typeLabel":"enum\u003cstring>"}},"required":["type","code","message","param","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"authentication_required":{"title":"authentication_required","value":{"error":{"type":"authentication_error","code":"authentication_required","message":"Authentication is required.","param":null,"doc_url":null,"request_id":"req_8kQ2vX9mR4tL6nB1cW3yZ5aD"}}}},"exampleType":"examples"}},"exampleType":"examples"},"b0880718-3868-4815-a210-7fca67c634b8":{"description":"`permission_denied`","headers":{"X-Request-Id":{"required":true,"description":"This request's ID. Include it when you contact support; it's also `request_id` in an error.","schema":{"type":"string","description":"This request's ID. Include it when you contact support; it's also `request_id` in an error.","example":"req_01J9Z8Q4N2K7T5V3X6Y8B0C1D2"}},"RateLimit-Limit":{"required":true,"description":"Requests allowed per window from your client.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Requests allowed per window from your client.","example":300}},"RateLimit-Remaining":{"required":true,"description":"Requests left in the current window.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Requests left in the current window.","example":299}},"RateLimit-Reset":{"required":true,"description":"Seconds until the window resets.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Seconds until the window resets.","example":42}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","enum":["invalid_request_error","rate_limit_error","authentication_error","permission_error","conflict_error","billing_error","api_error"],"description":"The kind of error. Branch on `type` and `code`, never on `message`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","enum":["invalid_parameter","invalid_request","conflicting_credentials","placeholder_in_path","method_not_allowed","payload_too_large","unsupported_media_type","ip_rate_limit_exceeded","authentication_required","missing_api_key","invalid_api_key","permission_denied","not_found","resource_not_found","gone","conflict","file_in_use","unpaid_failure_cap","photo_blocked","sexualized_real_person","rate_limit_exceeded","insufficient_credit","top_up_required","service_unavailable","internal_error"],"description":"A stable code for this error. Each one is explained at https://www.tryleap.ai/docs/errors.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, written for a person. It can change; don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"description":"For a `400`, the field at fault, such as `input.prompt`; otherwise null.","type":"string","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"description":"For a `400`, the field at fault, such as `input.prompt`; otherwise null.","type":"null","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"doc_url":{"oneOf":[{"description":"A page that explains this error, when there is one.","type":"string","isRequired":true,"uniqueKey":"error.doc_url.oneOf.0","typeLabel":"string"},{"description":"A page that explains this error, when there is one.","type":"null","isRequired":true,"uniqueKey":"error.doc_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string | null"},"request_id":{"type":"string","description":"This request's ID, as in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"moderation_reason":{"description":"Only on `photo_blocked`: why the photo check refused the photo, `minor` (someone in it may be under 18) or `nudity`.","type":"string","enum":["minor","nudity"],"uniqueKey":"error.moderation_reason","typeLabel":"enum\u003cstring>"}},"required":["type","code","message","param","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"permission_denied":{"title":"permission_denied","value":{"error":{"type":"permission_error","code":"permission_denied","message":"Permission denied.","param":null,"doc_url":null,"request_id":"req_8kQ2vX9mR4tL6nB1cW3yZ5aD"}}}},"exampleType":"examples"}},"exampleType":"examples"},"ef4ad5b7-76d7-4169-ae7f-b41b88b2a60c":{"description":"`resource_not_found`","headers":{"X-Request-Id":{"required":true,"description":"This request's ID. Include it when you contact support; it's also `request_id` in an error.","schema":{"type":"string","description":"This request's ID. Include it when you contact support; it's also `request_id` in an error.","example":"req_01J9Z8Q4N2K7T5V3X6Y8B0C1D2"}},"RateLimit-Limit":{"required":true,"description":"Requests allowed per window from your client.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Requests allowed per window from your client.","example":300}},"RateLimit-Remaining":{"required":true,"description":"Requests left in the current window.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Requests left in the current window.","example":299}},"RateLimit-Reset":{"required":true,"description":"Seconds until the window resets.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Seconds until the window resets.","example":42}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","enum":["invalid_request_error","rate_limit_error","authentication_error","permission_error","conflict_error","billing_error","api_error"],"description":"The kind of error. Branch on `type` and `code`, never on `message`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","enum":["invalid_parameter","invalid_request","conflicting_credentials","placeholder_in_path","method_not_allowed","payload_too_large","unsupported_media_type","ip_rate_limit_exceeded","authentication_required","missing_api_key","invalid_api_key","permission_denied","not_found","resource_not_found","gone","conflict","file_in_use","unpaid_failure_cap","photo_blocked","sexualized_real_person","rate_limit_exceeded","insufficient_credit","top_up_required","service_unavailable","internal_error"],"description":"A stable code for this error. Each one is explained at https://www.tryleap.ai/docs/errors.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, written for a person. It can change; don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"description":"For a `400`, the field at fault, such as `input.prompt`; otherwise null.","type":"string","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"description":"For a `400`, the field at fault, such as `input.prompt`; otherwise null.","type":"null","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"doc_url":{"oneOf":[{"description":"A page that explains this error, when there is one.","type":"string","isRequired":true,"uniqueKey":"error.doc_url.oneOf.0","typeLabel":"string"},{"description":"A page that explains this error, when there is one.","type":"null","isRequired":true,"uniqueKey":"error.doc_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string | null"},"request_id":{"type":"string","description":"This request's ID, as in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"moderation_reason":{"description":"Only on `photo_blocked`: why the photo check refused the photo, `minor` (someone in it may be under 18) or `nudity`.","type":"string","enum":["minor","nudity"],"uniqueKey":"error.moderation_reason","typeLabel":"enum\u003cstring>"}},"required":["type","code","message","param","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"resource_not_found":{"title":"resource_not_found","value":{"error":{"type":"invalid_request_error","code":"resource_not_found","message":"That event does not exist.","param":null,"doc_url":null,"request_id":"req_8kQ2vX9mR4tL6nB1cW3yZ5aD"}}}},"exampleType":"examples"}},"exampleType":"examples"},"de0fec37-07b6-4c8b-b699-4b4f9a3b6652":{"description":"`conflict`","headers":{"X-Request-Id":{"required":true,"description":"This request's ID. Include it when you contact support; it's also `request_id` in an error.","schema":{"type":"string","description":"This request's ID. Include it when you contact support; it's also `request_id` in an error.","example":"req_01J9Z8Q4N2K7T5V3X6Y8B0C1D2"}},"RateLimit-Limit":{"required":true,"description":"Requests allowed per window from your client.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Requests allowed per window from your client.","example":300}},"RateLimit-Remaining":{"required":true,"description":"Requests left in the current window.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Requests left in the current window.","example":299}},"RateLimit-Reset":{"required":true,"description":"Seconds until the window resets.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Seconds until the window resets.","example":42}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","enum":["invalid_request_error","rate_limit_error","authentication_error","permission_error","conflict_error","billing_error","api_error"],"description":"The kind of error. Branch on `type` and `code`, never on `message`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","enum":["invalid_parameter","invalid_request","conflicting_credentials","placeholder_in_path","method_not_allowed","payload_too_large","unsupported_media_type","ip_rate_limit_exceeded","authentication_required","missing_api_key","invalid_api_key","permission_denied","not_found","resource_not_found","gone","conflict","file_in_use","unpaid_failure_cap","photo_blocked","sexualized_real_person","rate_limit_exceeded","insufficient_credit","top_up_required","service_unavailable","internal_error"],"description":"A stable code for this error. Each one is explained at https://www.tryleap.ai/docs/errors.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, written for a person. It can change; don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"description":"For a `400`, the field at fault, such as `input.prompt`; otherwise null.","type":"string","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"description":"For a `400`, the field at fault, such as `input.prompt`; otherwise null.","type":"null","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"doc_url":{"oneOf":[{"description":"A page that explains this error, when there is one.","type":"string","isRequired":true,"uniqueKey":"error.doc_url.oneOf.0","typeLabel":"string"},{"description":"A page that explains this error, when there is one.","type":"null","isRequired":true,"uniqueKey":"error.doc_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string | null"},"request_id":{"type":"string","description":"This request's ID, as in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"moderation_reason":{"description":"Only on `photo_blocked`: why the photo check refused the photo, `minor` (someone in it may be under 18) or `nudity`.","type":"string","enum":["minor","nudity"],"uniqueKey":"error.moderation_reason","typeLabel":"enum\u003cstring>"}},"required":["type","code","message","param","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"conflict":{"title":"conflict","value":{"error":{"type":"conflict_error","code":"conflict","message":"The request conflicts with the current state.","param":null,"doc_url":null,"request_id":"req_8kQ2vX9mR4tL6nB1cW3yZ5aD"}}}},"exampleType":"examples"}},"exampleType":"examples"},"2e06a0c8-7fcb-43eb-b591-14f64090145a":{"description":"`rate_limit_exceeded`","headers":{"X-Request-Id":{"required":true,"description":"This request's ID. Include it when you contact support; it's also `request_id` in an error.","schema":{"type":"string","description":"This request's ID. Include it when you contact support; it's also `request_id` in an error.","example":"req_01J9Z8Q4N2K7T5V3X6Y8B0C1D2"}},"RateLimit-Limit":{"required":true,"description":"Requests allowed per window from your client.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Requests allowed per window from your client.","example":300}},"RateLimit-Remaining":{"required":true,"description":"Requests left in the current window.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Requests left in the current window.","example":299}},"RateLimit-Reset":{"required":true,"description":"Seconds until the window resets.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Seconds until the window resets.","example":42}},"Retry-After":{"required":true,"description":"Seconds to wait before you retry.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Seconds to wait before you retry.","example":42}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","enum":["invalid_request_error","rate_limit_error","authentication_error","permission_error","conflict_error","billing_error","api_error"],"description":"The kind of error. Branch on `type` and `code`, never on `message`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","enum":["invalid_parameter","invalid_request","conflicting_credentials","placeholder_in_path","method_not_allowed","payload_too_large","unsupported_media_type","ip_rate_limit_exceeded","authentication_required","missing_api_key","invalid_api_key","permission_denied","not_found","resource_not_found","gone","conflict","file_in_use","unpaid_failure_cap","photo_blocked","sexualized_real_person","rate_limit_exceeded","insufficient_credit","top_up_required","service_unavailable","internal_error"],"description":"A stable code for this error. Each one is explained at https://www.tryleap.ai/docs/errors.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, written for a person. It can change; don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"description":"For a `400`, the field at fault, such as `input.prompt`; otherwise null.","type":"string","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"description":"For a `400`, the field at fault, such as `input.prompt`; otherwise null.","type":"null","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"doc_url":{"oneOf":[{"description":"A page that explains this error, when there is one.","type":"string","isRequired":true,"uniqueKey":"error.doc_url.oneOf.0","typeLabel":"string"},{"description":"A page that explains this error, when there is one.","type":"null","isRequired":true,"uniqueKey":"error.doc_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string | null"},"request_id":{"type":"string","description":"This request's ID, as in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"moderation_reason":{"description":"Only on `photo_blocked`: why the photo check refused the photo, `minor` (someone in it may be under 18) or `nudity`.","type":"string","enum":["minor","nudity"],"uniqueKey":"error.moderation_reason","typeLabel":"enum\u003cstring>"}},"required":["type","code","message","param","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"rate_limit_exceeded":{"title":"rate_limit_exceeded","value":{"error":{"type":"rate_limit_error","code":"rate_limit_exceeded","message":"Too Many Requests","param":null,"doc_url":null,"request_id":"req_8kQ2vX9mR4tL6nB1cW3yZ5aD"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"8f394945-6e6a-438b-a713-b9b98ddec0d5":{"ApiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your workspace API key, `leap_...`. Create one at https://app.tryleap.ai/go/api, and keep it on your server.","scopes":[],"schemeName":"ApiKey"}},"f875416d-92de-4b7b-ae9f-7c93b205b653":{"Bearer":{"type":"http","scheme":"bearer","description":"The same API key as `Authorization: Bearer leap_...`, the way most HTTP clients and coding agents send one. Send one header or the other; two different keys are a `400`.","scopes":[],"schemeName":"Bearer"}}},"servers":{"f01f3dd6-cc2d-41e2-a009-e8c7b8d34abd":{"url":"https://api.tryleap.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your workspace API key, `leap_...`. Create one at https://app.tryleap.ai/go/api, and keep it on your server.","scopes":[],"schemeName":"ApiKey"},"schema":{"title":"x-api-key","type":"string","description":"Your workspace API key, `leap_...`. Create one at https://app.tryleap.ai/go/api, and keep it on your server.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"x-api-key"}],"title":"ApiKey"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"The same API key as `Authorization: Bearer leap_...`, the way most HTTP clients and coding agents send one. Send one header or the other; two different keys are a `400`.","scopes":[],"schemeName":"Bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"The same API key as `Authorization: Bearer leap_...`, the way most HTTP clients and coding agents send one. Send one header or the other; two different keys are a `400`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Bearer","name":"Authorization"}],"title":"Bearer"}]},"originalFileLocation":"openapi.json"},"subdomain":"leap-0e8117eb","siteName":"Leap","title":"Redeliver an event - Leap","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/events/redeliver-an-event.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Sends the event again: to one endpoint with {\u0026quot;endpoint\u0026quot;: \u0026quot;we_...\u0026quot;}, or else to every enabled endpoint that subscribes to its type and to the webhook URL its request named. It keeps the event\u0026#x27;s webhook-id, so a receiver that skips duplicates handles it once. A disabled endpoint, or nowhere to send, answers 409. Tests and redeliveries share a budget of 100 an hour per workspace. Needs an API key with the generations:write scope.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Leap\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/leap-0e8117eb/i0HgQd8phxMdNawg/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/leap-0e8117eb/i0HgQd8phxMdNawg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/leap-0e8117eb/i0HgQd8phxMdNawg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/leap-0e8117eb/i0HgQd8phxMdNawg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/leap-0e8117eb/i0HgQd8phxMdNawg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/leap-0e8117eb/i0HgQd8phxMdNawg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/leap-0e8117eb/i0HgQd8phxMdNawg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/leap-0e8117eb/i0HgQd8phxMdNawg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/leap-0e8117eb/i0HgQd8phxMdNawg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Redeliver an event - Leap\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sends the event again: to one endpoint with {\u0026quot;endpoint\u0026quot;: \u0026quot;we_...\u0026quot;}, or else to every enabled endpoint that subscribes to its type and to the webhook URL its request named. It keeps the event\u0026#x27;s webhook-id, so a receiver that skips duplicates handles it once. A disabled endpoint, or nowhere to send, answers 409. Tests and redeliveries share a budget of 100 an hour per workspace. Needs an API key with the generations:write scope.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Leap\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.tryleap.ai/docs/api-reference/events/redeliver-an-event\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://leap-0e8117eb.mintlify.site/docs/_mintlify/api/og/v2?division=Events\u0026amp;title=Redeliver+an+event\u0026amp;description=Sends+the+event+again%3A+to+one+endpoint+with+%60%7B%22endpoint%22%3A+%22we_...%22%7D%60%2C+or+else+to+every+enabled+endpoint+that+subscribes+to+its+type+and+to+the+webhook+URL+its+r\u0026amp;theme=04bb91a9020a32e360b3acb4\u0026amp;signature=6e0e24f6a65878f214a8eb156add224166ec47fa3c4842fa49a30c544dedc1cb\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Redeliver an event - Leap\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sends the event again: to one endpoint with {\u0026quot;endpoint\u0026quot;: \u0026quot;we_...\u0026quot;}, or else to every enabled endpoint that subscribes to its type and to the webhook URL its request named. It keeps the event\u0026#x27;s webhook-id, so a receiver that skips duplicates handles it once. A disabled endpoint, or nowhere to send, answers 409. Tests and redeliveries share a budget of 100 an hour per workspace. Needs an API key with the generations:write scope.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://leap-0e8117eb.mintlify.site/docs/_mintlify/api/og/v2?division=Events\u0026amp;title=Redeliver+an+event\u0026amp;description=Sends+the+event+again%3A+to+one+endpoint+with+%60%7B%22endpoint%22%3A+%22we_...%22%7D%60%2C+or+else+to+every+enabled+endpoint+that+subscribes+to+its+type+and+to+the+webhook+URL+its+r\u0026amp;theme=04bb91a9020a32e360b3acb4\u0026amp;signature=6e0e24f6a65878f214a8eb156add224166ec47fa3c4842fa49a30c544dedc1cb\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/leap-0e8117eb/i0HgQd8phxMdNawg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Leap\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4F39F6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.tryleap.ai/docs/api-reference/events/redeliver-an-event\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/events/redeliver-an-event.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.tryleap.ai/#organization\",\"name\":\"Leap\",\"url\":\"https://www.tryleap.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://www.tryleap.ai/icon-512.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.tryleap.ai/docs#website\",\"name\":\"Leap\",\"url\":\"https://www.tryleap.ai/docs\",\"publisher\":{\"@id\":\"https://www.tryleap.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.tryleap.ai/docs/api-reference/events/redeliver-an-event#webpage\",\"url\":\"https://www.tryleap.ai/docs/api-reference/events/redeliver-an-event\",\"name\":\"Redeliver an event\",\"description\":\"Sends the event again: to one endpoint with {\\\"endpoint\\\": \\\"we_...\\\"}, or else to every enabled endpoint that subscribes to its type and to the webhook URL its request named. It keeps the event's webhook-id, so a receiver that skips duplicates handles it once. A disabled endpoint, or nowhere to send, answers 409. Tests and redeliveries share a budget of 100 an hour per workspace. Needs an API key with the generations:write scope.\",\"isPartOf\":{\"@id\":\"https://www.tryleap.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.tryleap.ai/docs/api-reference/events/redeliver-an-event#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.tryleap.ai/docs/api-reference/events/redeliver-an-event#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Events\",\"item\":\"https://www.tryleap.ai/docs/api-reference/events/list-events\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Redeliver an event\",\"item\":\"https://www.tryleap.ai/docs/api-reference/events/redeliver-an-event\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.tryleap.ai/docs/api-reference/events/redeliver-an-event#apireference\",\"headline\":\"Redeliver an event\",\"name\":\"Redeliver an event\",\"description\":\"Sends the event again: to one endpoint with {\\\"endpoint\\\": \\\"we_...\\\"}, or else to every enabled endpoint that subscribes to its type and to the webhook URL its request named. It keeps the event's webhook-id, so a receiver that skips duplicates handles it once. A disabled endpoint, or nowhere to send, answers 409. Tests and redeliveries share a budget of 100 an hour per workspace. Needs an API key with the generations:write scope.\",\"url\":\"https://www.tryleap.ai/docs/api-reference/events/redeliver-an-event\",\"mainEntityOfPage\":{\"@id\":\"https://www.tryleap.ai/docs/api-reference/events/redeliver-an-event#webpage\"},\"publisher\":{\"@id\":\"https://www.tryleap.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://www.tryleap.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Leap\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Leap","nav":{"global":{"anchors":[{"anchor":"Model catalog","icon":"sparkles","href":"https://www.tryleap.ai/models"},{"anchor":"Connect an agent","icon":"plug","href":"https://app.tryleap.ai/go/connect?utm_source=tryleap\u0026utm_medium=docs\u0026utm_campaign=%2Fdocs\u0026utm_content=anchor"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Overview","icon":"book-open","pages":[{"title":"API reference","sidebarTitle":"Introduction","href":"/api-reference/introduction"}]},{"group":"Models","pages":[{"title":"List models","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/models","href":"/api-reference/models/list-models"},{"title":"Retrieve a model","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/models/{creator}/{name}","href":"/api-reference/models/retrieve-a-model"},{"title":"List models without a key","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/public/models","href":"/api-reference/models/list-models-without-a-key"},{"title":"Retrieve a model without a key","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/public/models/{creator}/{name}","href":"/api-reference/models/retrieve-a-model-without-a-key"}]},{"group":"Quotes","pages":[{"title":"Create a quote","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/quotes","href":"/api-reference/quotes/create-a-quote"}]},{"group":"Generations","pages":[{"title":"List generations","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/generations","href":"/api-reference/generations/list-generations"},{"title":"Create a generation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/generations","href":"/api-reference/generations/create-a-generation"},{"title":"Retrieve a generation","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/generations/{id}","href":"/api-reference/generations/retrieve-a-generation"},{"title":"Cancel a generation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/generations/{id}/cancel","href":"/api-reference/generations/cancel-a-generation"},{"title":"Keep an output as a file","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/generations/{id}/outputs/{index}/file","href":"/api-reference/generations/keep-an-output-as-a-file"}]},{"group":"Batches","pages":[{"title":"Create a batch","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/batches","href":"/api-reference/batches/create-a-batch"},{"title":"Retrieve a batch","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/batches/{id}","href":"/api-reference/batches/retrieve-a-batch"}]},{"group":"Webhooks","pages":[{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhook_endpoints","href":"/api-reference/webhooks/list-webhook-endpoints"},{"title":"Create a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhook_endpoints","href":"/api-reference/webhooks/create-a-webhook-endpoint"},{"title":"Retrieve a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhook_endpoints/{id}","href":"/api-reference/webhooks/retrieve-a-webhook-endpoint"},{"title":"Delete a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/webhook_endpoints/{id}","href":"/api-reference/webhooks/delete-a-webhook-endpoint"},{"title":"Update a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/webhook_endpoints/{id}","href":"/api-reference/webhooks/update-a-webhook-endpoint"},{"title":"Rotate a webhook secret","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhook_endpoints/{id}/rotate_secret","href":"/api-reference/webhooks/rotate-a-webhook-secret"},{"title":"Send a test event","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhook_endpoints/{id}/test","href":"/api-reference/webhooks/send-a-test-event"},{"title":"Retrieve the default webhook secret","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhooks/default/secret","href":"/api-reference/webhooks/retrieve-the-default-webhook-secret"}]},{"group":"Events","pages":[{"title":"List events","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/events","href":"/api-reference/events/list-events"},{"title":"Retrieve an event","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/events/{id}","href":"/api-reference/events/retrieve-an-event"},{"title":"List an event's deliveries","description":"Where the event went, newest first: one delivery per URL, each with every try, the status your server answered, and when Leap tries again.\n\nNeeds an API key with the `generations:read` scope.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/events/{id}/deliveries","href":"/api-reference/events/list-an-events-deliveries"},{"title":"Redeliver an event","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/events/{id}/redeliver","href":"/api-reference/events/redeliver-an-event"}]},{"group":"Files","pages":[{"title":"Upload an image","description":"Stores an image you send as the request body, with no multipart encoding: `curl --data-binary @photo.jpg`. PNG, JPEG or WebP, up to 4 MB; the type is read from the bytes. Pass the returned ID in a model's input. Send videos and sounds through `POST /v1/uploads` instead.\n\nNeeds an API key with the `generations:write` scope.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/files","href":"/api-reference/files/upload-an-image"},{"title":"Retrieve a file","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/files/{id}","href":"/api-reference/files/retrieve-a-file"},{"title":"Delete a file","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/files/{id}","href":"/api-reference/files/delete-a-file"},{"title":"Start a video or sound upload","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/uploads","href":"/api-reference/files/start-a-video-or-sound-upload"},{"title":"Complete an upload","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/uploads/{id}/complete","href":"/api-reference/files/complete-an-upload"}]},{"group":"Characters","pages":[{"title":"List characters","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/characters","href":"/api-reference/characters/list-characters"},{"title":"Create a character","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/characters","href":"/api-reference/characters/create-a-character"},{"title":"Retrieve a character","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/characters/{id}","href":"/api-reference/characters/retrieve-a-character"},{"title":"Delete a character","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/characters/{id}","href":"/api-reference/characters/delete-a-character"},{"title":"Update a character","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/characters/{id}","href":"/api-reference/characters/update-a-character"}]},{"group":"Credits","pages":[{"title":"Retrieve your balance","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/credits","href":"/api-reference/credits/retrieve-your-balance"}]}]}]},"basePath":"","title":"Redeliver an event - Leap","buildId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","deploymentId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CW3yP2DK.js","utils-BN0nty2W.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C8_MydSG.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bsl5xDMQ.js","snippetPresets-DYv9OBej.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-CBlOSKZG.js","ApiExamples-9OnYPrVf.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-xr67xWGO.js","shallow-DO1aDdBF.js","getApiPlaygroundDisplay-o7cLzFL-.js","CodeSnippet-CGr2yOA8.js","CodeSnippets-CzBbqPNh.js","getPastedJson-dpi9sn5Y.js","icon-aIWHt8Pn.js","MethodPill-Bv2zLsGY.js","DuplicateIcon-DxFSz0J6.js","createIcon-uDNv6jwj.js","DynamicMarkdown-C91yhnNP.js","SectionHeading-DG_xjOLR.js","axios-vUo_bRtp.js","Markdown-B4M_Eo1P.js","clsx-DShopWo_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BX6wab7q.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-48h67xm_.js"]}