Register an https:// URL for generation.succeeded / generation.failed events. The signing secret is in this response only. API keys only.

post/v1/webhook-endpoints

Request

  • Base URL: https://api.lumeta.ai
  • URL: https://api.lumeta.ai/v1/webhook-endpoints
  • Auth: HTTP bearer

Request body

urlstring uri required

https:// on port 443, resolving to a public address.

eventsstring[]

["*"] (the default) for every event.

enabledboolean

PATCH only. true also clears the failure count.

Response

OK

idstring

hook_<n>

urlstring
eventsstring[]

["*"] or a list of generation.succeeded, generation.failed.

enabledboolean

false after you switch it off, or after an event failed every retry with no success in between.

failure_countinteger

Failed attempts in a row; a 2xx resets it.

last_success_atstring nullable
last_failure_atstring nullable
disabled_atstring nullable
created_atstring
secretstring

whsec_...: signs every event to this endpoint. Returned here only.

secret_notestring

Changes

No recorded changes to this operation across all 2 revisions of this API.