{"openapi":"3.1.0","info":{"title":"NimbusNexus Webhooks","summary":"Multi-workspace signed webhook delivery (on delivery-core)","version":"0.11.55"},"paths":{"/v1/event-types":{"get":{"summary":"List Event Types","description":"The catalog governing a project: its own entries PLUS the workspace-wide ones.\n\nNULL rows are included, not excluded — they apply to every project, so they govern this one\ntoo, and hiding them would show a catalog that does not match what publishing actually accepts.","operationId":"list_event_types_v1_event_types_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_EventTypeOut_"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]},"post":{"summary":"Create Event Type","description":"Register a type. ``project_id`` scopes it to one project (shadowing any shared entry of the\nsame name); omitted registers it workspace-wide, as before.","operationId":"create_event_type_v1_event_types_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventTypeIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventTypeOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/event-types/policy":{"get":{"summary":"Get Event Type Policy","description":"The policy IN FORCE — the project's own override when it has one, else the workspace's.\n\nReports the effective value rather than the workspace's raw setting, because the raw setting is\nnot what publishing will do: a console scoped to a project that overrides it would otherwise\ndisplay `lenient` while every publish into that project was being rejected as `strict`.","operationId":"get_event_type_policy_v1_event_types_policy_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventTypePolicyOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]},"put":{"summary":"Set Event Type Policy","description":"Set the policy for one project (``?project_id=``) or for the whole workspace.\n\nA project-level set writes an OVERRIDE; it does not touch the workspace value, so projects that\ninherit keep inheriting and keep tracking later workspace changes.","operationId":"set_event_type_policy_v1_event_types_policy_put","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventTypePolicyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventTypePolicyOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/event-types/{name}":{"delete":{"summary":"Delete Event Type","description":"Delete the entry in exactly the named scope — the project's when ``project_id`` is given,\nthe workspace-wide one when it is not. Deleting from a project leaves the shared entry alone.","operationId":"delete_event_type_v1_event_types__name__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"204":{"description":"Successful Response"},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/sources":{"post":{"summary":"Create Source","operationId":"create_source_v1_sources_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"error.code = not_entitled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_entitled","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error","workspace_frozen","workspace_suspended"]},"get":{"summary":"List Sources","description":"A project's ingest sources. ``IngestSource.project_id`` is NOT NULL, so unlike the catalog\nand the operational subscriptions there is no \"applies everywhere\" row to include here.","operationId":"list_sources_v1_sources_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_SourceOut_"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/sources/{source_id}":{"get":{"summary":"Get Source","operationId":"get_source_v1_sources__source_id__get","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]},"patch":{"summary":"Patch Source","operationId":"patch_source_v1_sources__source_id__patch","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourcePatchIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"error.code = not_entitled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_entitled","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error","workspace_frozen","workspace_suspended"]},"delete":{"summary":"Delete Source","operationId":"delete_source_v1_sources__source_id__delete","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"204":{"description":"Successful Response"},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/sources/{source_id}/rotate-secret":{"post":{"summary":"Rotate Source Secret","operationId":"rotate_source_secret_v1_sources__source_id__rotate_secret_post","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SourceRotateIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/usage":{"get":{"summary":"Get Usage","description":"Current-cycle usage vs the plan quota — for ONE project, or the whole workspace.\n\nScoped like every other read: naming a project reports that project's usage, omitting it\nreports the workspace's. A credential confined to specific projects never sees more than the\nprojects it reaches, whichever form it uses.\n\nThe QUOTA stays the workspace's either way, and deliberately: it is enforced per workspace, so\nreporting a per-project share of it would invent a ceiling that nothing enforces. A project view\nanswers \"how much of the workspace's allowance did THIS project spend\", which is the question\nsomeone scoped to a project is actually asking.","operationId":"get_usage_v1_usage_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/stats":{"get":{"summary":"Get Stats","description":"At-a-glance summary for the dashboard overview, for one project or the whole workspace.\n\n``project_id`` narrows every count in the response, ``deliveries_used`` included. That figure\nused to stay workspace-wide whatever was passed, which handed a project-confined credential the\nwhole workspace's delivery volume on a route it was otherwise contained on, and showed a scoped\nconsole one project's endpoints beside the workspace's deliveries.\n\nThe QUOTA and the PLAN do stay workspace-wide, because they genuinely are workspace facts: the\nplan is bought once and its ceiling is shared, so a project's usage is a share of one ceiling\nrather than a ceiling of its own.","operationId":"get_stats_v1_stats_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/stats/history":{"get":{"summary":"Get Stats History","description":"FEAT-4: delivery time-series over a bounded window (24h hourly | 7d/30d daily) — per-bucket\ntotal / delivered / failed counts + success rate, aggregated on-the-fly from the raw deliveries\ntable. Workspace-scoped (same workspace filter as the other stats endpoints + RLS on Postgres)\nand narrowed to ``project_id`` when given. Latency is omitted (the deliveries table carries no\ntiming columns); see StatsHistoryOut.latency.","operationId":"get_stats_history_v1_stats_history_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"enum":["24h","7d","30d"],"type":"string","default":"24h","title":"Window"}},{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsHistoryOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/stats/backlog":{"get":{"summary":"Get Backlog","description":"FEAT-5: delivery backlog (queued/sending/failed/pending + DLQ) plus rate-limit headroom\n(remaining publish tokens vs the configured rate/burst). Workspace-scoped at the app layer AND,\non Postgres, by RLS; ``project_id`` narrows the backlog counts. The headroom does NOT narrow —\nthe token bucket is keyed on the workspace, so every project draws on the same tokens. It is a\nnon-consuming peek, so polling this never burns one.","operationId":"get_backlog_v1_stats_backlog_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacklogOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/plan":{"get":{"summary":"Get Plan","description":"B6: the workspace's plan ceilings + current usage, for the dashboard headroom view.","operationId":"get_plan_v1_plan_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/workspace":{"get":{"summary":"Get Current Workspace","description":"The caller's own workspace — plan + settings. No name and no owner email: both are\nIdentity's, and a copy here would only go stale (the email also made webhookd the sender of\nsomebody's mail, which it is not).","operationId":"get_current_workspace_v1_workspace_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]},"patch":{"summary":"Patch Current Workspace","description":"Partial-update the workspace's operational settings (admin scope) — today just the API-3\nrequire-verify gate. Only the keys present in the body are applied.","operationId":"patch_current_workspace_v1_workspace_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspacePatchIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"error.code = not_entitled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_entitled","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error","workspace_frozen","workspace_suspended"]}},"/v1/deliveries":{"get":{"summary":"List Deliveries","operationId":"list_deliveries_v1_deliveries_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"endpoint_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint Id"}},{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"}},{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Until"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_DeliveryOut_"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/deliveries/{delivery_id}":{"get":{"summary":"Get Delivery","operationId":"get_delivery_v1_deliveries__delivery_id__get","parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","title":"Delivery Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/deliveries/{delivery_id}/attempts":{"get":{"summary":"Delivery Attempts","operationId":"delivery_attempts_v1_deliveries__delivery_id__attempts_get","parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","title":"Delivery Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DeliveryAttemptOut"},"title":"Response Delivery Attempts V1 Deliveries  Delivery Id  Attempts Get"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/deliveries/{delivery_id}/redeliver":{"post":{"summary":"Redeliver","operationId":"redeliver_v1_deliveries__delivery_id__redeliver_post","parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","title":"Delivery Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/deliveries/redeliver":{"post":{"summary":"Bulk Redeliver","description":"Re-arm a filtered batch of settled deliveries (default the DLQ) — the recover-after-outage\nop, e.g. all dead deliveries for an endpoint once the subscriber is healthy again.","operationId":"bulk_redeliver_v1_deliveries_redeliver_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkRedeliverIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkRedeliverOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/deliveries/replay":{"post":{"summary":"Replay Deliveries","description":"FEAT-3: replay-by-time-range — re-arm settled deliveries created in [from, to] (the DLQ by\ndefault) for a fresh attempt, e.g. recover what dead-lettered during an outage window.\nWorkspace-scoped (RLS). Enforces the API-4 blast-radius controls: the redeliver rate limit (429)\n+ the per-call limit cap (<=10000, validated by the schema). Reuses the bulk-redeliver CAS, so a\nrow a worker just claimed is not clobbered.","operationId":"replay_deliveries_v1_deliveries_replay_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayRangeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayRangeOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/events":{"post":{"summary":"Publish Event","operationId":"publish_event_v1_events_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishEventIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"error.code = quota_exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","quota_exceeded","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error","workspace_suspended"]},"get":{"summary":"List Events","operationId":"list_events_v1_events_get","parameters":[{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"}},{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_EventListOut_"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/events/{event_id}/deliveries":{"get":{"summary":"Event Deliveries","operationId":"event_deliveries_v1_events__event_id__deliveries_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_DeliveryOut_"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/events/{event_id}":{"get":{"summary":"Get Event","description":"A single event WITH its producer payload — the fan-out drill-down's 'why did this fire'.","operationId":"get_event_v1_events__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventDetailOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/events/{event_id}/replay":{"post":{"summary":"Replay Event","description":"DASH-5: replay a specific past event to a CHOSEN endpoint — arm a NEW signed delivery of the\nevent's stored payload to ``endpoint_id`` (even one not originally subscribed), reusing the\nstandard delivery-creation/enqueue path. Admin-only (require_admin); workspace-scoped — the\nevent AND the endpoint must belong to the caller's workspace (404 otherwise) and the endpoint\nmust be enabled and, where verification is required, verified (409). Rate-limited on the SHARED\nredeliver bucket (API-4). Returns the created delivery id(s).","operationId":"replay_event_v1_events__event_id__replay_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventReplayIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventReplayOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/projects/{project_id}":{"delete":{"summary":"Delete Project","operationId":"delete_project_v1_projects__project_id__delete","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"204":{"description":"Successful Response"},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/verification-policy":{"get":{"summary":"Get Project Verification","description":"Whether this project requires endpoint verification, and WHY.\n\nReports the effective value alongside both inputs, because \"required\" alone cannot be acted on:\nan admin seeing it on has no way to tell whether their own project set it or the workspace\nimposes it, and only one of those is theirs to change.\n\nUNSCOPED, this answers for the WORKSPACE — the floor that applies to every project — and not for\na project picked on the caller's behalf. It used to substitute the workspace's default project,\nwhich was wrong three ways at once: it reported one project's override as though it were the\nanswer for all of them, it handed a project-confined caller the state of a project outside their\nreach, and on a workspace with no projects yet (the first-login window, before the first\nprojection lands) the substitution raised and the route answered 500.","operationId":"get_project_verification_v1_verification_policy_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectVerificationOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]},"put":{"summary":"Set Project Verification","description":"Set THIS project's own verification requirement.\n\nAdditive: the workspace value is a floor, so `required: false` clears the project's requirement\nbut cannot lift one the workspace imposes — the response says what fan-out will actually do.\nTo require verification everywhere, set it on the WORKSPACE (`PATCH /v1/workspace`); this route\ndeliberately cannot reach that value, so a project-scoped admin can never widen its own blast\nradius to the whole workspace.","operationId":"set_project_verification_v1_verification_policy_put","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectVerificationIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectVerificationOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/projects":{"get":{"summary":"List Projects","description":"The projects webhookd knows about for this workspace — ids only.\n\nNOT the console's project picker any more: a picker needs names, and the name belongs to\nIdentity. The console lists projects from Identity and uses these ids to scope webhookd calls.\n\n``is_default`` is STATED, not implied by position. It used to be inferable only from the sort\norder, so a client that wanted the routing default had to know to read row zero — a contract\ncarried in a comment, which any later ordering change would have broken silently. The flag is\nnow derived from ``workspace.default_project_id``, the one place that fact lives. Rows stay\ndefault-first so existing callers see no change.","operationId":"list_projects_v1_projects_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectOut"},"title":"Response List Projects V1 Projects Get"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/audit":{"get":{"summary":"List Audit","description":"SEC-3 control-plane audit trail (admin-only). Workspace-scoped at the app layer (WHERE\nworkspace_id) AND by RLS; optional ?action= / ?target_type= / ?project_id= filters.\n\nA project filter EXCLUDES rows with a NULL project — those are workspace-level actions\n(settings changed, or a workspace-wide key minted back when this service issued keys) and they\nbelong to no project. This is the\nopposite of how NULL is treated on the catalog and operational-subscription filters, where it\nmeans \"applies everywhere\"; see the note on AuditLog.project_id.","operationId":"list_audit_v1_audit_get","parameters":[{"name":"action","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action"}},{"name":"target_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Type"}},{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_AuditOut_"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/endpoints":{"post":{"summary":"Create Endpoint","description":"Register a subscriber endpoint; its signing secret is returned once. A ``transformation_id``\nnaming a pipeline whose auth steps add a credential needs the project's owner or admin role\n(403 ``role`` for a member): the URL decides where that credential goes.","operationId":"create_endpoint_v1_endpoints_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"error.code = quota_exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","quota_exceeded","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error","workspace_frozen","workspace_suspended"]},"get":{"summary":"List Endpoints","operationId":"list_endpoints_v1_endpoints_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_EndpointOut_"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/endpoints/{endpoint_id}/rotate-secret":{"post":{"summary":"Rotate Secret","operationId":"rotate_secret_v1_endpoints__endpoint_id__rotate_secret_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/endpoints/{endpoint_id}/enable":{"post":{"summary":"Enable Endpoint","description":"Re-enable an auto-disabled (or disabled) endpoint so it rejoins fan-out — the circuit\nbreaker is one-way, so this is the explicit, authenticated operator recovery action.","operationId":"enable_endpoint_v1_endpoints__endpoint_id__enable_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/endpoints/{endpoint_id}/test":{"post":{"summary":"Test Endpoint","description":"Send a synthetic signed ping to the endpoint and return the immediate attempt result, so an\noperator can validate connectivity + signature without publishing a real event. Nothing is\npersisted; SSRF-guarded like a real delivery. The ping carries the endpoint's custom headers,\nas a real delivery does, so a subscriber that requires one (an `Authorization` its gateway\nchecks) answers the ping as it answers deliveries. Their values never appear in the response.\n\nNO SESSION IS OPEN DURING THE OUTBOUND CALL. The ping used to run inside the same\n``workspace_session`` that loaded the endpoint, which parked a pooled connection\nidle-in-transaction for up to the subscriber's timeout (the per-endpoint clamp reaches 60 s).\nA handful of slow subscribers being pinged from the console was enough to drain the API pool\nfor everyone else. So: a short session to authorise and load, closed; the POST; a second short\nsession to write the audit row. Rate-limited on the redeliver bucket — like a replay, this is\nan outbound request to a customer-chosen host, made on demand.","operationId":"test_endpoint_v1_endpoints__endpoint_id__test_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointTestOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/endpoints/{endpoint_id}/verify":{"post":{"summary":"Verify Endpoint","description":"API-3 echo-challenge verification (onboarding gate): sign + POST a one-off `webhook.verify`\ncarrying a random challenge token; the subscriber must return 2xx AND echo the token. On success\nthe endpoint is marked verified (`verified` on EndpointOut). SSRF-guarded; nothing persisted\nbeyond the verified flag. The challenge carries the endpoint's custom headers, as a real\ndelivery does, so a subscriber that requires one can be verified; their values never appear in\nthe response.\n\nStructured like the test ping above, and for the same reason: no pooled connection is held\nacross the outbound POST. The verified stamp is written in a SECOND session against a\nfreshly loaded row, because the endpoint may have moved while the challenge was in flight.","operationId":"verify_endpoint_v1_endpoints__endpoint_id__verify_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointVerifyOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/endpoints/{endpoint_id}":{"get":{"summary":"Get Endpoint","operationId":"get_endpoint_v1_endpoints__endpoint_id__get","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]},"patch":{"summary":"Update Endpoint","description":"Partial update. Moving the URL, or naming a pipeline whose auth steps add a credential,\nneeds the project's owner or admin role (403 ``role`` for a member); every other edit,\ndetaching a transformation included, does not.","operationId":"update_endpoint_v1_endpoints__endpoint_id__patch","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointPatchIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"error.code = workspace_frozen","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error","workspace_frozen","workspace_suspended"]},"delete":{"summary":"Delete Endpoint","operationId":"delete_endpoint_v1_endpoints__endpoint_id__delete","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"204":{"description":"Successful Response"},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/endpoints/{endpoint_id}/stats":{"get":{"summary":"Get Endpoint Stats","description":"B4: per-endpoint success rate / delivered-failed-dead / latency p50-p95 / volume buckets\nover a bounded window (24h hourly | 7d daily), aggregated on-the-fly. Workspace-scoped (404).","operationId":"get_endpoint_stats_v1_endpoints__endpoint_id__stats_get","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"window","in":"query","required":false,"schema":{"enum":["24h","7d"],"type":"string","default":"24h","title":"Window"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointStatsOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/endpoints/{endpoint_id}/subscriptions":{"put":{"summary":"Replace Subscriptions","operationId":"replace_subscriptions_v1_endpoints__endpoint_id__subscriptions_put","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/operational-endpoints":{"post":{"summary":"Create Operational Endpoint","description":"Subscribe to webhookd's operational events (endpoint.disabled/recovered/degraded,\nmessage.attempt.exhausted, transformation.disabled), delivered as SIGNED webhooks to your URL.\nThe URL must be https; the signing secret is returned ONCE (verify deliveries with the SDK, like\nany webhook).","operationId":"create_operational_endpoint_v1_operational_endpoints_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationalEndpointIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationalEndpointOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]},"get":{"summary":"List Operational Endpoints","description":"The subscriptions receiving a project's operational events — those pinned to it PLUS the\nworkspace-wide ones, which receive every project's. The secret is never re-returned.","operationId":"list_operational_endpoints_v1_operational_endpoints_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OperationalEndpointOut"},"title":"Response List Operational Endpoints V1 Operational Endpoints Get"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/operational-endpoints/{op_id}":{"delete":{"summary":"Delete Operational Endpoint","description":"Unsubscribe (remove) an operational-webhook endpoint.","operationId":"delete_operational_endpoint_v1_operational_endpoints__op_id__delete","parameters":[{"name":"op_id","in":"path","required":true,"schema":{"type":"string","title":"Op Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"204":{"description":"Successful Response"},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/ingest/{source_id}":{"post":{"summary":"Ingest Event","description":"PUBLIC inbound-webhook ingest — the only unauthenticated write surface. Auth is the\nprovider's HMAC signature over the EXACT raw bytes, verified against the source's signing\nsecret (current + rotation-overlap previous) — the industry contract for third-party\nwebhooks; providers cannot send bearer tokens.\n\nResponse opacity: a 404 conflates unknown AND disabled sources (it never reveals whether an\nid ever existed), and every signature failure — malformed, non-ASCII, or wrong — returns one\nuniform 401 that never reveals WHY. (A 401 does confirm a *known* id is currently enabled,\nbut ids are unguessable random tokens, so this is not an enumeration surface, and 401-on-bad-\nsignature is the ecosystem-standard signal providers surface for a misconfigured secret.)\n\nA verified request is published into the normal pipeline; the provider's event id becomes a\nnamespaced idempotency key so provider retries replay instead of double-fanning-out.","operationId":"ingest_event_v1_ingest__source_id__post","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IngestAcceptOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"error.code = quota_exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","quota_exceeded","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/captures":{"get":{"summary":"List Captures","description":"Captured requests, newest activity first.\n\nONE ROW PER DISTINCT REQUEST — that is the dedup, and it is what makes this list readable. A\nprovider retrying a failed delivery eight times produces one row with `seen_count: 8`, not eight\nrows burying everything else on the page.\n\nORDERED BY `last_seen_at`, NOT `first_seen_at`. A request that is still being retried is live\nnews; sorting by when we first saw it would sink an actively-failing delivery below older,\nsettled traffic — which is the opposite of what somebody opens this page to find.\n\nNO BODIES HERE. A list of fifty captures is a list of fifty third-party payloads, and sending\nthem all to render a table that shows none of them is both wasteful and a wider exposure than\nthe page needs. The body is on the detail read, one deliberate click later.\n\nSCOPED BY PROJECT like /v1/sources: `?project_id=` narrows to the captures of that project's\nsources, and a confined caller's reach is applied whether or not they name one. Both are\napplied through the source (module docstring). `?source_id=` and `?outcome=` still narrow\nfurther, and a `source_id` outside the workspace — or, for a confined caller, outside their\nreach — is a 404 rather than an empty page, so the id cannot be used as an existence oracle.","operationId":"list_captures_v1_captures_get","parameters":[{"name":"source_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"}},{"name":"outcome","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome"}},{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_CaptureOut_"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/captures/{capture_id}":{"get":{"summary":"Get Capture","description":"One capture, with the bytes.\n\nTHE BODY IS BASE64, not a string, and this is not decoration. A capture is kept precisely\nbecause it may NOT be valid UTF-8 — a body that failed to parse is one of the outcomes this\nfeature exists to explain, and a JSON string field cannot carry it without lying about what\narrived. The console decodes for display and says so when it cannot.","operationId":"get_capture_v1_captures__capture_id__get","parameters":[{"name":"capture_id","in":"path","required":true,"schema":{"type":"string","title":"Capture Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureDetailOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]},"delete":{"summary":"Delete Capture","description":"Drop one capture.\n\nMember role and above, like every other change in the product; a viewer or a read-scoped key\nmay look but not delete. Not owner/admin only: a capture is one row of diagnostics, and whoever\nnotices a sensitive payload in it should be able to remove it.","operationId":"delete_capture_v1_captures__capture_id__delete","parameters":[{"name":"capture_id","in":"path","required":true,"schema":{"type":"string","title":"Capture Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"204":{"description":"Successful Response"},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/auth/me":{"get":{"tags":["auth"],"summary":"Auth Me","description":"Which principal is this credential? Answered from what require_token already verified.\n\nNOT gated on the read scope: \"which principal am I\" must be answerable by ANY authenticated\ncaller, including one that may not read workspace data. A credential that cannot discover what\nit is cannot be used correctly.\n\nTHAT NOW INCLUDES MACHINE CREDENTIALS. This route used to 403 every non-human caller, which\ncontradicted the paragraph immediately above it: an api key could not find out what it was. The\ndashboard's api-key mode therefore had to GUESS its scope, and guessed optimistically — showing\nadmin affordances the server then refused. Nothing answered here is a disclosure: every field is\na property of the very credential the caller is already holding.\n\n``id`` is the PRINCIPAL's identity, and its shape follows the kind: Identity's user id for a\nhuman (not a webhookd row id — webhookd stores no users), and the credential label otherwise\n(``key:<prefix>``, a service JWT's ``sub``, or ``bootstrap``). The label is a DISPLAY string, so\ntreat it as one — it tells the caller what it is; it is not a handle to look anything up by.\n``role`` is the human tier and is empty for a machine credential, which has none.\n\n``email`` and ``created_at`` are null because they are not token claims, so webhookd genuinely\nnever sees them; Identity's own /api/v1/account/me is the source for those. ``scope`` is the\nfield the dashboard needs here to gate admin affordances proactively, and it is exactly the\nscope require_token enforced.","operationId":"auth_me_v1_auth_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/transformations":{"post":{"summary":"Create Transformation","operationId":"create_transformation_v1_transformations_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransformationIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransformationOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"error.code = not_entitled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"error.code = unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_entitled","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unavailable","unknown_event_type","validation_error","workspace_frozen","workspace_suspended"],"description":"A script (``code``; paid plans, loaded in the role first) or a pipeline (``pipeline``; every\nplan, checked whole: 422 ``invalid_pipeline``). A pipeline whose auth steps name a secret needs\nthe project's owner or admin role (403 ``role`` for a member): it decides where the secret\ngoes."},"get":{"summary":"List Transformations","description":"A project's transformations, newest first, each without its code (GET by id has it).","operationId":"list_transformations_v1_transformations_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_TransformationOut_"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/transformations/test":{"post":{"summary":"Test Transformation","description":"Run a script or a pipeline once on an event and save nothing: the editor's Test. One that\nfails, or a script that runs out of time or returns something invalid, is a 200 saying so,\nbecause that is the answer a test exists to give. For a script only the plan (402), the rate\nlimit (429) and a sandbox that cannot run it just now (503) refuse; a pipeline that could never\nrun is a 422 ``invalid_pipeline``, as its save would be. A pipeline's credentials are masked.","operationId":"test_transformation_v1_transformations_test_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransformationTestIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransformationTestOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"error.code = not_entitled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"error.code = unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_entitled","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unavailable","unknown_event_type","validation_error","workspace_frozen","workspace_suspended"]}},"/v1/transformations/{transformation_id}":{"get":{"summary":"Get Transformation","operationId":"get_transformation_v1_transformations__transformation_id__get","parameters":[{"name":"transformation_id","in":"path","required":true,"schema":{"type":"string","title":"Transformation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransformationOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]},"patch":{"summary":"Patch Transformation","description":"Rename it, switch it on or off, or save new content as its next version. Saving a pipeline\nwhose auth steps name a secret needs the project's owner or admin role (403 ``role`` for a\nmember), as creating one does; the same content again, and a pipeline without them, do not.\nSuch a new version also needs ``confirm_destinations`` to name the URL of every endpoint that\nruns it, since the credential goes to each: otherwise it is a 409 ``destinations_unconfirmed``\nlisting them, and nothing is saved.","operationId":"patch_transformation_v1_transformations__transformation_id__patch","parameters":[{"name":"transformation_id","in":"path","required":true,"schema":{"type":"string","title":"Transformation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransformationPatchIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransformationOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"error.code = not_entitled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"error.code = unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_entitled","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unavailable","unknown_event_type","validation_error","workspace_frozen","workspace_suspended"]},"delete":{"summary":"Delete Transformation","operationId":"delete_transformation_v1_transformations__transformation_id__delete","parameters":[{"name":"transformation_id","in":"path","required":true,"schema":{"type":"string","title":"Transformation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"204":{"description":"Successful Response"},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/transformations/{transformation_id}/versions":{"get":{"summary":"List Transformation Versions","description":"The kept versions, newest first, each without its code (GET one version has it).","operationId":"list_transformation_versions_v1_transformations__transformation_id__versions_get","parameters":[{"name":"transformation_id","in":"path","required":true,"schema":{"type":"string","title":"Transformation Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_TransformationVersionOut_"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/transformations/{transformation_id}/versions/{version}":{"get":{"summary":"Get Transformation Version","operationId":"get_transformation_version_v1_transformations__transformation_id__versions__version__get","parameters":[{"name":"transformation_id","in":"path","required":true,"schema":{"type":"string","title":"Transformation Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","minimum":1,"title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransformationVersionOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/deliveries/{delivery_id}/transform":{"get":{"summary":"Delivery Transform","description":"What the endpoint's transformation made of this delivery's event, or null when none ran:\nthe endpoint has no transformation, or the delivery has not reached its first attempt.","operationId":"delivery_transform_v1_deliveries__delivery_id__transform_get","parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","title":"Delivery Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/DeliveryTransformOut"},{"type":"null"}],"title":"Response Delivery Transform V1 Deliveries  Delivery Id  Transform Get"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/secrets":{"post":{"summary":"Create Secret","description":"Store a credential for the project's pipelines. Needs the project's owner or admin role\n(403 ``role`` for a member), as replacing or deleting one does.","operationId":"create_secret_v1_secrets_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]},"get":{"summary":"List Secrets","description":"A project's secrets, newest first, by name and id: never a value.","operationId":"list_secrets_v1_secrets_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_SecretOut_"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/secrets/{secret_id}":{"get":{"summary":"Get Secret","operationId":"get_secret_v1_secrets__secret_id__get","parameters":[{"name":"secret_id","in":"path","required":true,"schema":{"type":"string","title":"Secret Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]},"patch":{"summary":"Patch Secret","description":"Rename a secret or replace its value. Needs the project's owner or admin role (403 ``role``\nfor a member): a new value is what every pipeline naming it sends from its next attempt on.","operationId":"patch_secret_v1_secrets__secret_id__patch","parameters":[{"name":"secret_id","in":"path","required":true,"schema":{"type":"string","title":"Secret Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretPatchIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretOut"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]},"delete":{"summary":"Delete Secret","operationId":"delete_secret_v1_secrets__secret_id__delete","parameters":[{"name":"secret_id","in":"path","required":true,"schema":{"type":"string","title":"Secret Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"204":{"description":"Successful Response"},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}},"/v1/transformations/templates":{"get":{"summary":"List Pipeline Templates","description":"transform-core's template gallery (RFC-0030): the ready-made pipelines a console starts one\nfrom: Slack, Discord and Microsoft Teams messages, and the event with only the fields listed or\nwithout its personal data. They come from the engine version this service runs, so a template\nnever names a step or a filter its pipelines could not run. The same for every workspace;\nsaving one makes a copy that is the customer's own.","operationId":"list_pipeline_templates_v1_transformations_templates_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-CSRF","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf"}},{"name":"nn_apps_access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nn Apps Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PipelineTemplateOut"},"title":"Response List Pipeline Templates V1 Transformations Templates Get"}}}},"401":{"description":"error.code = unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"error.code = forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"error.code = not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"error.code = conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"error.code = payload_too_large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"error.code = validation_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"error.code = rate_limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"error.code = internal_error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-error-codes":["broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","not_found","payload_too_large","provider_secret_required","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unknown_event_type","validation_error"]}}},"components":{"schemas":{"AuditOut":{"properties":{"id":{"type":"string","title":"Id"},"actor_kind":{"type":"string","title":"Actor Kind"},"actor_label":{"type":"string","title":"Actor Label"},"action":{"type":"string","title":"Action"},"target_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Type"},"target_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Id"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"additionalProperties":true,"title":"Metadata"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","actor_kind","actor_label","action"],"title":"AuditOut"},"BacklogOut":{"properties":{"queued":{"type":"integer","title":"Queued"},"sending":{"type":"integer","title":"Sending"},"failed":{"type":"integer","title":"Failed"},"pending":{"type":"integer","title":"Pending"},"dlq":{"type":"integer","title":"Dlq"},"rate_per_min":{"type":"integer","title":"Rate Per Min"},"burst":{"type":"integer","title":"Burst"},"rate_limit_remaining":{"type":"integer","title":"Rate Limit Remaining"}},"type":"object","required":["queued","sending","failed","pending","dlq","rate_per_min","burst","rate_limit_remaining"],"title":"BacklogOut","description":"FEAT-5: workspace-scoped delivery backlog + rate-limit headroom for the dashboard. Counts are\nfiltered by workspace (and RLS-fenced on Postgres). ``rate_limit_remaining`` is a non-consuming\npeek of the publish token bucket — polling this read never burns a publish token."},"BulkRedeliverIn":{"properties":{"status":{"type":"string","enum":["dead","failed"],"title":"Status","default":"dead"},"endpoint_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint Id"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"limit":{"type":"integer","maximum":10000,"minimum":1,"title":"Limit","default":1000}},"type":"object","title":"BulkRedeliverIn","description":"Re-arm a filtered batch of settled deliveries (the recover-after-outage op). Limited to\nthe recovery states — ``dead`` (the DLQ, default) or ``failed`` (between retries)."},"BulkRedeliverOut":{"properties":{"redelivered":{"type":"integer","title":"Redelivered"},"skipped_unverified":{"type":"integer","title":"Skipped Unverified","default":0}},"type":"object","required":["redelivered"],"title":"BulkRedeliverOut"},"CaptureDetailOut":{"properties":{"id":{"type":"string","title":"Id"},"source_id":{"type":"string","title":"Source Id"},"method":{"type":"string","title":"Method"},"path":{"type":"string","title":"Path"},"query":{"type":"string","title":"Query"},"outcome":{"type":"string","title":"Outcome"},"status_returned":{"type":"integer","title":"Status Returned"},"detail":{"type":"string","title":"Detail"},"event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Id"},"body_bytes":{"type":"integer","title":"Body Bytes"},"truncated":{"type":"boolean","title":"Truncated"},"source_ip":{"type":"string","title":"Source Ip","default":""},"seen_count":{"type":"integer","title":"Seen Count"},"first_seen_at":{"type":"string","title":"First Seen At"},"last_seen_at":{"type":"string","title":"Last Seen At"},"headers_raw":{"type":"string","title":"Headers Raw"},"body_base64":{"type":"string","title":"Body Base64"}},"type":"object","required":["id","source_id","method","path","query","outcome","status_returned","detail","body_bytes","truncated","seen_count","first_seen_at","last_seen_at","headers_raw","body_base64"],"title":"CaptureDetailOut","description":"One capture with its bytes."},"CaptureOut":{"properties":{"id":{"type":"string","title":"Id"},"source_id":{"type":"string","title":"Source Id"},"method":{"type":"string","title":"Method"},"path":{"type":"string","title":"Path"},"query":{"type":"string","title":"Query"},"outcome":{"type":"string","title":"Outcome"},"status_returned":{"type":"integer","title":"Status Returned"},"detail":{"type":"string","title":"Detail"},"event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Id"},"body_bytes":{"type":"integer","title":"Body Bytes"},"truncated":{"type":"boolean","title":"Truncated"},"source_ip":{"type":"string","title":"Source Ip","default":""},"seen_count":{"type":"integer","title":"Seen Count"},"first_seen_at":{"type":"string","title":"First Seen At"},"last_seen_at":{"type":"string","title":"Last Seen At"}},"type":"object","required":["id","source_id","method","path","query","outcome","status_returned","detail","body_bytes","truncated","seen_count","first_seen_at","last_seen_at"],"title":"CaptureOut","description":"One distinct request that arrived at a source — the request bin's list row.\n\nNO BODY HERE. See the list route: fifty captures is fifty third-party payloads, and the table\nshows none of them. `body_bytes` and `truncated` are what the row needs to describe the body it\nis not carrying."},"DeliveryAttemptOut":{"properties":{"attempt_number":{"type":"integer","title":"Attempt Number"},"success":{"type":"boolean","title":"Success"},"status_code":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status Code"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"duration_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Ms"},"response_snippet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response Snippet"},"request_headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Request Headers"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["attempt_number","success"],"title":"DeliveryAttemptOut"},"DeliveryOut":{"properties":{"id":{"type":"string","title":"Id"},"event_id":{"type":"string","title":"Event Id"},"endpoint_id":{"type":"string","title":"Endpoint Id"},"status":{"type":"string","title":"Status"},"attempts":{"type":"integer","title":"Attempts"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"next_attempt_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Attempt At"},"sent_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sent At"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"event_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"},"event_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Source"},"event_created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Created At"},"dropped":{"type":"boolean","title":"Dropped","default":false}},"type":"object","required":["id","event_id","endpoint_id","status","attempts"],"title":"DeliveryOut"},"EndpointIn":{"properties":{"url":{"type":"string","maxLength":2048,"minLength":1,"title":"Url"},"subscriptions":{"items":{"$ref":"#/components/schemas/SubscriptionIn"},"type":"array","title":"Subscriptions"},"secret":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Secret"},"max_attempts":{"anyOf":[{"type":"integer","maximum":20,"minimum":1},{"type":"null"}],"title":"Max Attempts"},"retry_schedule":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":20,"minItems":1},{"type":"null"}],"title":"Retry Schedule"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"description":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Description"},"custom_headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Custom Headers"},"delivery_timeout_ms":{"anyOf":[{"type":"integer","maximum":60000,"minimum":100},{"type":"null"}],"title":"Delivery Timeout Ms"},"internal_settings":{"additionalProperties":true,"type":"object","title":"Internal Settings"},"transformation_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Transformation Id"}},"type":"object","required":["url"],"title":"EndpointIn"},"EndpointOut":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"status":{"type":"string","title":"Status"},"health":{"type":"string","enum":["healthy","degraded","disabled","gated"],"title":"Health"},"project_id":{"type":"string","title":"Project Id"},"max_attempts":{"type":"integer","title":"Max Attempts"},"retry_schedule":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Retry Schedule"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"custom_header_names":{"items":{"type":"string"},"type":"array","title":"Custom Header Names"},"delivery_timeout_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Delivery Timeout Ms"},"subscriptions":{"items":{"$ref":"#/components/schemas/SubscriptionIn"},"type":"array","title":"Subscriptions"},"verified":{"type":"boolean","title":"Verified","default":false},"gated_unverified":{"type":"boolean","title":"Gated Unverified","default":false},"consecutive_failures":{"type":"integer","title":"Consecutive Failures","default":0},"auto_disable_threshold":{"type":"integer","title":"Auto Disable Threshold"},"disabled_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled At"},"disabled_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled Reason"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"},"transformation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transformation Id"}},"type":"object","required":["id","url","status","health","project_id","max_attempts","subscriptions","auto_disable_threshold"],"title":"EndpointOut"},"EndpointPatchIn":{"properties":{"url":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Url"},"max_attempts":{"anyOf":[{"type":"integer","maximum":20,"minimum":1},{"type":"null"}],"title":"Max Attempts"},"retry_schedule":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":20,"minItems":1},{"type":"null"}],"title":"Retry Schedule"},"status":{"anyOf":[{"type":"string","enum":["enabled","disabled"]},{"type":"null"}],"title":"Status"},"description":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Description"},"custom_headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Custom Headers"},"delivery_timeout_ms":{"anyOf":[{"type":"integer","maximum":60000,"minimum":100},{"type":"null"}],"title":"Delivery Timeout Ms"},"internal_settings":{"additionalProperties":true,"type":"object","title":"Internal Settings"},"transformation_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Transformation Id"}},"type":"object","title":"EndpointPatchIn","description":"Partial endpoint update — only the provided fields change. ``status`` is limited to the\noperator-settable states (``auto_disabled`` is breaker-internal); ``enabled`` also clears\nthe breaker, ``disabled`` is a manual disable (e.g. to contain a compromised subscriber)."},"EndpointStatsOut":{"properties":{"window":{"type":"string","enum":["24h","7d"],"title":"Window"},"success_rate":{"type":"number","title":"Success Rate"},"attempts":{"type":"integer","title":"Attempts"},"delivered":{"type":"integer","title":"Delivered"},"failed":{"type":"integer","title":"Failed"},"dead":{"type":"integer","title":"Dead"},"latency_p50_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Latency P50 Ms"},"latency_p95_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Latency P95 Ms"},"buckets":{"items":{"$ref":"#/components/schemas/StatsBucket"},"type":"array","title":"Buckets"},"dropped":{"type":"integer","title":"Dropped","default":0}},"type":"object","required":["window","success_rate","attempts","delivered","failed","dead","latency_p50_ms","latency_p95_ms","buckets"],"title":"EndpointStatsOut","description":"B4: per-endpoint delivery stats over a bounded window, aggregated on-the-fly from\ndelivery + delivery_attempt rows (the delivery_stats_hourly rollup is the deferred scale path —\nsame response shape, so the FE is unaffected when it lands)."},"EndpointTestOut":{"properties":{"delivered":{"type":"boolean","title":"Delivered"},"status_code":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status Code"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"duration_ms":{"type":"integer","title":"Duration Ms"},"failure_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Reason","description":"Why it failed, as a stable machine-readable reason. Null when it succeeded, and when the failure is none of the known reasons. An open set: x-known-values lists the reasons sent today, and a client must keep a default for one it does not know. `error` describes the same failure in English, for diagnostics, and is the only description of a failure with no reason.","x-known-values":["blocked_address","connection_failed","dns_failed","http_status","timeout","tls_failed"]}},"type":"object","required":["delivered","duration_ms"],"title":"EndpointTestOut","description":"The immediate result of a synthetic test ping (POST /v1/endpoints/{id}/test)."},"EndpointVerifyOut":{"properties":{"verified":{"type":"boolean","title":"Verified"},"challenge_echoed":{"type":"boolean","title":"Challenge Echoed"},"status_code":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status Code"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"duration_ms":{"type":"integer","title":"Duration Ms"},"failure_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Reason","description":"Why it failed, as a stable machine-readable reason. Null when it succeeded, and when the failure is none of the known reasons. An open set: x-known-values lists the reasons sent today, and a client must keep a default for one it does not know. `error` describes the same failure in English, for diagnostics, and is the only description of a failure with no reason.","x-known-values":["blocked_address","challenge_not_echoed","connection_failed","dns_failed","http_status","timeout","tls_failed","url_changed"]}},"type":"object","required":["verified","challenge_echoed","duration_ms"],"title":"EndpointVerifyOut","description":"The result of an echo-challenge verification (POST /v1/endpoints/{id}/verify)."},"ErrorDetail":{"description":"The `error` object: what went wrong.","properties":{"code":{"description":"Stable machine-readable reason. Clients branch on this.","title":"Code","type":"string","x-known-values":["bad_request","broker_not_allowed","conflict","error","forbidden","internal","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_request","invalid_transformation","method_not_allowed","not_entitled","not_found","payload_too_large","plan_violation","provider_secret_required","quota_exceeded","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unavailable","unknown_event_type","unprocessable","unprocessable_event","validation_error","workspace_frozen","workspace_suspended"]},"message":{"description":"Human-readable explanation. Never branch on it.","title":"Message","type":"string"},"details":{"anyOf":[{},{"type":"null"}],"default":null,"description":"Optional structured detail; its shape is fixed per code, not globally.","title":"Details"},"request_id":{"type":"string","description":"The request's X-Request-ID. Quote it to support; never branch on it."},"next_code":{"type":"string","description":"Present only while this error is moving to a different code: the code it will be sent with once the move is complete. When present, branch on this rather than on `code`.","x-known-values":["bad_request","broker_not_allowed","conflict","forbidden","internal_error","invalid_credential","invalid_payload","invalid_pipeline","invalid_transformation","method_not_allowed","not_entitled","not_found","payload_too_large","provider_secret_required","quota_exceeded","rate_limited","schema_pattern_unsafe","schema_ref_unsupported","schema_too_large","unauthorized","unavailable","unknown_event_type","unprocessable_event","validation_error","workspace_frozen","workspace_suspended"]}},"required":["code","message"],"title":"ErrorDetail","type":"object"},"ErrorEnvelope":{"description":"The body of every error response: an `error` object that says what went wrong.","properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}},"required":["error"],"title":"ErrorEnvelope","type":"object"},"EventDetailOut":{"properties":{"id":{"type":"string","title":"Id"},"event_uid":{"type":"string","title":"Event Uid"},"event_type":{"type":"string","title":"Event Type"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"}},"type":"object","required":["id","event_uid","event_type","payload"],"title":"EventDetailOut","description":"A single event WITH its producer payload (GET /v1/events/{id})."},"EventListOut":{"properties":{"id":{"type":"string","title":"Id"},"event_uid":{"type":"string","title":"Event Uid"},"event_type":{"type":"string","title":"Event Type"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"project_id":{"type":"string","title":"Project Id","default":""},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","event_uid","event_type"],"title":"EventListOut","description":"A row in the events list (the per-event fan-out is GET /v1/events/{id}/deliveries)."},"EventOut":{"properties":{"id":{"type":"string","title":"Id"},"event_uid":{"type":"string","title":"Event Uid"},"event_type":{"type":"string","title":"Event Type"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"project_id":{"type":"string","title":"Project Id"},"deliveries_created":{"type":"integer","title":"Deliveries Created"},"skipped_unverified":{"type":"integer","title":"Skipped Unverified","default":0}},"type":"object","required":["id","event_uid","event_type","source","project_id","deliveries_created"],"title":"EventOut"},"EventReplayIn":{"properties":{"endpoint_id":{"type":"string","maxLength":40,"minLength":1,"title":"Endpoint Id"}},"type":"object","required":["endpoint_id"],"title":"EventReplayIn","description":"DASH-5: replay a specific past event to a CHOSEN endpoint (even one not originally\nsubscribed). Arms a NEW signed delivery of the event's stored payload to ``endpoint_id``."},"EventReplayOut":{"properties":{"delivery_ids":{"items":{"type":"string"},"type":"array","title":"Delivery Ids"}},"type":"object","required":["delivery_ids"],"title":"EventReplayOut","description":"DASH-5: the delivery id(s) armed by an event replay (one delivery per call today)."},"EventTypeIn":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Description"},"project_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Project Id"},"payload_schema":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"additionalProperties":true,"title":"Payload Schema"}},"type":"object","required":["name"],"title":"EventTypeIn"},"EventTypeOut":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"payload_schema":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"additionalProperties":true,"title":"Payload Schema"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"origin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"},"last_published_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Published At"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["name"],"title":"EventTypeOut"},"EventTypePolicyIn":{"properties":{"policy":{"type":"string","enum":["strict","lenient"],"title":"Policy"}},"type":"object","required":["policy"],"title":"EventTypePolicyIn"},"EventTypePolicyOut":{"properties":{"policy":{"type":"string","enum":["strict","lenient"],"title":"Policy"}},"type":"object","required":["policy"],"title":"EventTypePolicyOut"},"IngestAcceptOut":{"properties":{"event_id":{"type":"string","title":"Event Id"},"deliveries_created":{"type":"integer","title":"Deliveries Created"},"replayed":{"type":"boolean","title":"Replayed","default":false},"skipped_unverified":{"type":"integer","title":"Skipped Unverified","default":0}},"type":"object","required":["event_id","deliveries_created"],"title":"IngestAcceptOut"},"OperationalEndpointIn":{"properties":{"url":{"type":"string","maxLength":2048,"minLength":1,"title":"Url"},"event_types":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Event Types"},"project_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Project Id"},"secret":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Secret"},"internal_settings":{"additionalProperties":true,"type":"object","title":"Internal Settings"}},"type":"object","required":["url"],"title":"OperationalEndpointIn","description":"Create/subscribe an operational-webhook endpoint. ``event_types`` null/empty = every type;\notherwise each must be one of OPERATIONAL_EVENT_TYPES (validated at the route). ``secret`` is\ngenerated if omitted and returned ONCE."},"OperationalEndpointOut":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"event_types":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Event Types"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"status":{"type":"string","title":"Status"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["id","url","status"],"title":"OperationalEndpointOut"},"Page_AuditOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AuditOut"},"type":"array","title":"Items"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Offset"}},"type":"object","required":["items"],"title":"Page[AuditOut]"},"Page_CaptureOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CaptureOut"},"type":"array","title":"Items"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Offset"}},"type":"object","required":["items"],"title":"Page[CaptureOut]"},"Page_DeliveryOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DeliveryOut"},"type":"array","title":"Items"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Offset"}},"type":"object","required":["items"],"title":"Page[DeliveryOut]"},"Page_EndpointOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/EndpointOut"},"type":"array","title":"Items"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Offset"}},"type":"object","required":["items"],"title":"Page[EndpointOut]"},"Page_EventListOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/EventListOut"},"type":"array","title":"Items"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Offset"}},"type":"object","required":["items"],"title":"Page[EventListOut]"},"Page_EventTypeOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/EventTypeOut"},"type":"array","title":"Items"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Offset"}},"type":"object","required":["items"],"title":"Page[EventTypeOut]"},"Page_SourceOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SourceOut"},"type":"array","title":"Items"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Offset"}},"type":"object","required":["items"],"title":"Page[SourceOut]"},"PlanOut":{"properties":{"plan":{"type":"string","title":"Plan"},"rate_per_min":{"type":"integer","title":"Rate Per Min"},"burst":{"type":"integer","title":"Burst"},"monthly_quota":{"type":"integer","title":"Monthly Quota"},"purchased_deliveries":{"type":"integer","title":"Purchased Deliveries","default":0},"credit":{"anyOf":[{"type":"string","enum":["off","empty","pending"]},{"type":"null"}],"title":"Credit"},"monthly_messages":{"type":"integer","title":"Monthly Messages"},"retention_days":{"type":"integer","title":"Retention Days"},"max_attempts":{"type":"integer","title":"Max Attempts"},"max_endpoints":{"type":"integer","title":"Max Endpoints"},"endpoints_used":{"type":"integer","title":"Endpoints Used"},"deliveries_used":{"type":"integer","title":"Deliveries Used"},"messages_used":{"type":"integer","title":"Messages Used"},"period":{"type":"string","title":"Period"},"past_due":{"type":"boolean","title":"Past Due","default":false},"transformations":{"type":"boolean","title":"Transformations","default":false},"transformations_available":{"type":"boolean","title":"Transformations Available","default":false},"transform_share":{"type":"integer","title":"Transform Share","default":1},"transformation_runs":{"type":"integer","title":"Transformation Runs","default":0},"pipelines":{"type":"boolean","title":"Pipelines","default":true}},"type":"object","required":["plan","rate_per_min","burst","monthly_quota","monthly_messages","retention_days","max_attempts","max_endpoints","endpoints_used","deliveries_used","messages_used","period"],"title":"PlanOut","description":"B6: the workspace's plan ceilings + current usage (the dashboard headroom view)."},"PlanOverrideIn":{"properties":{"base_tier":{"type":"string","enum":["custom","free","pro","starter"],"title":"Base Tier"},"rate_per_min":{"anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}],"title":"Rate Per Min"},"burst":{"anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}],"title":"Burst"},"monthly_quota":{"anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}],"title":"Monthly Quota"},"monthly_messages":{"anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}],"title":"Monthly Messages"},"max_attempts":{"anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}],"title":"Max Attempts"},"max_endpoints":{"anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}],"title":"Max Endpoints"},"retention_days":{"anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}],"title":"Retention Days"},"contract_ref":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Contract Ref"},"note":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Note"}},"type":"object","required":["base_tier"],"title":"PlanOverrideIn","description":"The ceilings agreed with ONE customer — what a `custom` contract actually grants.\n\nBASE TIER, THEN THE DIFFERENCES. A contract is written as \"Pro, but 50,000 endpoints\", so send\n`base_tier: \"pro\"` and only the ceilings that were negotiated. Every ceiling omitted (or sent as\nnull) is INHERITED from `base_tier` — it is not \"unlimited\" and not zero. That is the only\nreading under which a later change to Pro reaches the customers who bought Pro-plus-a-bit.\n\n`base_tier` is required and validated against the live tier list, so a typo is a 422 here rather\nthan a workspace silently resolving to the free tier's numbers on its next publish."},"PlanOverrideOut":{"properties":{"workspace_id":{"type":"string","title":"Workspace Id"},"base_tier":{"type":"string","title":"Base Tier"},"agreed":{"additionalProperties":{"type":"integer"},"type":"object","title":"Agreed"},"effective":{"additionalProperties":{"type":"integer"},"type":"object","title":"Effective"},"contract_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contract Ref"},"granted_by":{"type":"string","title":"Granted By"},"granted_at":{"type":"string","format":"date-time","title":"Granted At"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["workspace_id","base_tier","agreed","effective","granted_by","granted_at"],"title":"PlanOverrideOut","description":"The agreement as stored, plus the ceilings it RESOLVES to.\n\nBoth, deliberately. `agreed` is what someone signed and is the auditable fact; `effective` is\nwhat the service will actually enforce, which is `base_tier`'s ceilings with `agreed` laid over\nthem. An operator who has just written a contract wants to see the second without recomputing\nthe merge in their head — that arithmetic being invisible is how a contract gets agreed and\nthen not honoured."},"ProjectOut":{"properties":{"id":{"type":"string","title":"Id"},"is_default":{"type":"boolean","title":"Is Default","default":false}},"type":"object","required":["id"],"title":"ProjectOut","description":"A project webhookd knows about — the ID, and whether it is the workspace's routing default.\n\nThere is no name here and no request body anywhere for projects: Identity owns a project's\nidentity, name and lifecycle, and webhookd only projects the id so it can scope and authorize.\nA console showing a project picker reads the names from Identity.\n\n``is_default`` is the one thing webhookd knows that Identity does not: which project a publish\nthat names none lands in (``workspace.default_project_id``). A console that wants to preselect\nthe scope the user's data is already flowing to has to ask webhookd, and this says it outright\nrather than making the caller infer it from row order."},"ProjectVerificationIn":{"properties":{"required":{"type":"boolean","title":"Required"}},"type":"object","required":["required"],"title":"ProjectVerificationIn","description":"Turn THIS project's verification requirement on or off.\n\nAdditive only: the workspace's requirement is a floor, so sending ``false`` here clears the\nproject's own requirement but cannot lift the workspace's. The response reports the EFFECTIVE\nvalue for exactly that reason."},"ProjectVerificationOut":{"properties":{"required":{"type":"boolean","title":"Required"},"project":{"type":"boolean","title":"Project"},"workspace":{"type":"boolean","title":"Workspace"}},"type":"object","required":["required","project","workspace"],"title":"ProjectVerificationOut"},"PublishEventIn":{"properties":{"event_type":{"type":"string","maxLength":255,"minLength":1,"title":"Event Type"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"source":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Source"}},"type":"object","required":["event_type","payload"],"title":"PublishEventIn"},"ReplayRangeIn":{"properties":{"from":{"type":"string","format":"date-time","title":"From"},"to":{"type":"string","format":"date-time","title":"To"},"status":{"type":"string","enum":["dead","failed"],"title":"Status","default":"dead"},"endpoint_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint Id"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"limit":{"type":"integer","maximum":10000,"minimum":1,"title":"Limit","default":1000}},"type":"object","required":["from","to"],"title":"ReplayRangeIn","description":"FEAT-3: replay-by-time-range — re-arm settled deliveries CREATED in ``[from_, to]``. Limited\nto the recovery states (``dead`` the DLQ default, or ``failed``). The ``limit`` cap (<=10000) is\nthe per-call blast-radius bound; the per-workspace redeliver rate limit (API-4) bounds the rate.\n``from_`` is exposed on the wire as ``from`` (a Python keyword), via the field alias."},"ReplayRangeOut":{"properties":{"replayed":{"type":"integer","title":"Replayed"},"skipped_unverified":{"type":"integer","title":"Skipped Unverified","default":0}},"type":"object","required":["replayed"],"title":"ReplayRangeOut"},"SourceIn":{"properties":{"provider":{"type":"string","enum":["stripe","github","rabbitmq","standard"],"title":"Provider"},"name":{"type":"string","maxLength":200,"title":"Name","default":""},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"event_type_source":{"type":"string","enum":["provider","header","path"],"title":"Event Type Source","default":"provider"},"event_type_key":{"type":"string","maxLength":255,"title":"Event Type Key","default":""},"secret":{"anyOf":[{"type":"string","maxLength":200,"minLength":8},{"type":"null"}],"title":"Secret"},"event_type_prefix":{"type":"string","maxLength":64,"title":"Event Type Prefix","default":""},"default_event_type":{"type":"string","maxLength":255,"title":"Default Event Type","default":""},"capture_enabled":{"type":"boolean","title":"Capture Enabled","default":false},"broker_identifier":{"type":"string","maxLength":64,"title":"Broker Identifier","default":""},"broker_host":{"type":"string","maxLength":255,"title":"Broker Host","default":""},"broker_port":{"type":"integer","maximum":65535,"minimum":1,"title":"Broker Port","default":5672},"broker_vhost":{"type":"string","maxLength":255,"title":"Broker Vhost","default":"/"},"broker_user":{"type":"string","maxLength":128,"title":"Broker User","default":""},"broker_exchange":{"type":"string","maxLength":128,"title":"Broker Exchange","default":""},"broker_topic":{"type":"string","maxLength":128,"title":"Broker Topic","default":""},"broker_queues":{"type":"string","enum":["transient","durable","quorum"],"title":"Broker Queues","default":"transient"}},"type":"object","required":["provider"],"title":"SourceIn"},"SourceOut":{"properties":{"id":{"type":"string","title":"Id"},"provider":{"type":"string","title":"Provider"},"broker_identifier":{"type":"string","title":"Broker Identifier","default":""},"broker_host":{"type":"string","title":"Broker Host","default":""},"broker_port":{"type":"integer","title":"Broker Port","default":5672},"broker_vhost":{"type":"string","title":"Broker Vhost","default":"/"},"broker_user":{"type":"string","title":"Broker User","default":""},"broker_exchange":{"type":"string","title":"Broker Exchange","default":""},"broker_topic":{"type":"string","title":"Broker Topic","default":""},"broker_queues":{"type":"string","title":"Broker Queues","default":"transient"},"name":{"type":"string","title":"Name"},"project_id":{"type":"string","title":"Project Id"},"status":{"type":"string","title":"Status"},"event_type_source":{"type":"string","title":"Event Type Source"},"event_type_key":{"type":"string","title":"Event Type Key"},"event_type_prefix":{"type":"string","title":"Event Type Prefix"},"default_event_type":{"type":"string","title":"Default Event Type"},"ingest_url":{"type":"string","title":"Ingest Url"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"},"has_secret":{"type":"boolean","title":"Has Secret","default":true},"capture_enabled":{"type":"boolean","title":"Capture Enabled","default":false},"secret_rotated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret Rotated At"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","provider","name","project_id","status","event_type_source","event_type_key","event_type_prefix","default_event_type","ingest_url"],"title":"SourceOut"},"SourcePatchIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Name"},"status":{"anyOf":[{"type":"string","enum":["enabled","disabled"]},{"type":"null"}],"title":"Status"},"event_type_source":{"anyOf":[{"type":"string","enum":["provider","header","path"]},{"type":"null"}],"title":"Event Type Source"},"event_type_key":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Event Type Key"},"event_type_prefix":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Event Type Prefix"},"default_event_type":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Default Event Type"},"capture_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Capture Enabled"},"broker_identifier":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Broker Identifier"},"broker_host":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Broker Host"},"broker_port":{"anyOf":[{"type":"integer","maximum":65535,"minimum":1},{"type":"null"}],"title":"Broker Port"},"broker_vhost":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Broker Vhost"},"broker_user":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Broker User"},"broker_exchange":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Broker Exchange"},"broker_topic":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Broker Topic"},"broker_queues":{"anyOf":[{"type":"string","enum":["transient","durable","quorum"]},{"type":"null"}],"title":"Broker Queues"}},"type":"object","title":"SourcePatchIn","description":"Partial update — omitted (None) fields are untouched; clear name/prefix with \"\"."},"SourceRotateIn":{"properties":{"secret":{"anyOf":[{"type":"string","maxLength":200,"minLength":8},{"type":"null"}],"title":"Secret"}},"type":"object","title":"SourceRotateIn"},"StatsBucket":{"properties":{"ts":{"type":"string","title":"Ts"},"delivered":{"type":"integer","title":"Delivered"},"failed":{"type":"integer","title":"Failed"},"dropped":{"type":"integer","title":"Dropped","default":0}},"type":"object","required":["ts","delivered","failed"],"title":"StatsBucket"},"StatsHistoryOut":{"properties":{"window":{"type":"string","enum":["24h","7d","30d"],"title":"Window"},"bucket":{"type":"string","enum":["hour","day"],"title":"Bucket"},"total":{"type":"integer","title":"Total"},"delivered":{"type":"integer","title":"Delivered"},"failed":{"type":"integer","title":"Failed"},"success_rate":{"type":"number","title":"Success Rate"},"latency":{"type":"boolean","title":"Latency"},"points":{"items":{"$ref":"#/components/schemas/StatsHistoryPoint"},"type":"array","title":"Points"},"dropped":{"type":"integer","title":"Dropped","default":0}},"type":"object","required":["window","bucket","total","delivered","failed","success_rate","latency","points"],"title":"StatsHistoryOut","description":"FEAT-4: workspace-wide delivery time-series over a bounded window, aggregated on-the-fly from\nthe RAW deliveries table grouped by time bucket (workspace-scoped; RLS-fenced on Postgres). The\nOBS-3 delivery_stats_hourly rollup is the deferred scale path — same response shape, so the FE\nis unaffected when it lands. ``latency`` is False: the raw deliveries table carries no timing\ncolumns (per-attempt duration_ms lives on delivery_attempt), so latency avg/p95 is omitted."},"StatsHistoryPoint":{"properties":{"ts":{"type":"string","title":"Ts"},"total":{"type":"integer","title":"Total"},"delivered":{"type":"integer","title":"Delivered"},"failed":{"type":"integer","title":"Failed"},"success_rate":{"type":"number","title":"Success Rate"},"dropped":{"type":"integer","title":"Dropped","default":0}},"type":"object","required":["ts","total","delivered","failed","success_rate"],"title":"StatsHistoryPoint","description":"FEAT-4: one time bucket of the workspace-wide delivery time-series."},"StatsOut":{"properties":{"endpoints":{"type":"integer","title":"Endpoints"},"endpoints_enabled":{"type":"integer","title":"Endpoints Enabled"},"dlq_size":{"type":"integer","title":"Dlq Size"},"pending":{"type":"integer","title":"Pending"},"period":{"type":"string","title":"Period"},"deliveries_used":{"type":"integer","title":"Deliveries Used"},"monthly_quota":{"type":"integer","title":"Monthly Quota"},"plan":{"type":"string","title":"Plan"}},"type":"object","required":["endpoints","endpoints_enabled","dlq_size","pending","period","deliveries_used","monthly_quota","plan"],"title":"StatsOut","description":"At-a-glance workspace summary for the dashboard overview (all workspace-scoped)."},"SubscriptionChangedIn":{"properties":{"org_id":{"type":"string","maxLength":64,"minLength":1,"title":"Org Id"},"product":{"type":"string","maxLength":32,"minLength":1,"title":"Product"},"tier":{"type":"string","maxLength":32,"minLength":1,"title":"Tier"},"status":{"type":"string","maxLength":16,"minLength":1,"title":"Status"},"version":{"type":"integer","maximum":2147483647,"minimum":1,"title":"Version"},"subscription_id":{"anyOf":[{"type":"string","maxLength":40,"minLength":1},{"type":"null"}],"title":"Subscription Id"},"cycle":{"type":"string","maxLength":8,"minLength":1,"title":"Cycle","default":"monthly"},"anchor_day":{"anyOf":[{"type":"integer","maximum":31,"minimum":1},{"type":"null"}],"title":"Anchor Day"},"agreed_ceilings":{"anyOf":[{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Agreed Ceilings"},"suspended":{"type":"boolean","title":"Suspended","default":false},"effective_at":{"type":"string","format":"date-time","title":"Effective At"}},"type":"object","required":["org_id","product","tier","status","version","effective_at"],"title":"SubscriptionChangedIn","description":"A `subscription.changed` event: a workspace's subscription to one product, its tier and\nstatus, as of `effective_at`. Keys not listed here are ignored; a value outside its stated\nbounds is refused with a 422."},"SubscriptionIn":{"properties":{"match_kind":{"type":"string","enum":["exact","prefix","suffix","all"],"title":"Match Kind","default":"exact"},"pattern":{"type":"string","title":"Pattern","default":""}},"type":"object","title":"SubscriptionIn"},"SubscriptionsIn":{"properties":{"subscriptions":{"items":{"$ref":"#/components/schemas/SubscriptionIn"},"type":"array","title":"Subscriptions"}},"type":"object","title":"SubscriptionsIn","description":"Replace an endpoint's full subscription set (PUT semantics — an empty list unsubscribes\nthe endpoint from everything)."},"UsageOut":{"properties":{"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"period":{"type":"string","title":"Period"},"cycle_start":{"type":"string","title":"Cycle Start"},"cycle_end":{"type":"string","title":"Cycle End"},"deliveries_used":{"type":"integer","title":"Deliveries Used"},"monthly_quota":{"type":"integer","title":"Monthly Quota"},"purchased_deliveries":{"type":"integer","title":"Purchased Deliveries","default":0},"credit":{"anyOf":[{"type":"string","enum":["off","empty","pending"]},{"type":"null"}],"title":"Credit"},"messages_used":{"type":"integer","title":"Messages Used"},"monthly_messages":{"type":"integer","title":"Monthly Messages"},"plan":{"type":"string","title":"Plan"},"project_confined":{"type":"boolean","title":"Project Confined","default":false},"scope":{"type":"string","title":"Scope","default":"admin"}},"type":"object","required":["period","cycle_start","cycle_end","deliveries_used","monthly_quota","messages_used","monthly_messages","plan"],"title":"UsageOut","description":"The caller workspace's usage for its CURRENT billing cycle (the UTC anniversary window; for\nthe default anchor — the 1st — that is exactly the calendar month)."},"UserOut":{"properties":{"id":{"type":"string","title":"Id"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"role":{"type":"string","title":"Role"},"scope":{"type":"string","title":"Scope"},"workspace_id":{"type":"string","title":"Workspace Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","role","scope","workspace_id"],"title":"UserOut"},"WindowUsageOut":{"properties":{"workspace_id":{"type":"string","title":"Workspace Id"},"start":{"type":"string","title":"Start"},"end":{"type":"string","title":"End"},"deliveries":{"type":"integer","title":"Deliveries"},"messages":{"type":"integer","title":"Messages"}},"type":"object","required":["workspace_id","start","end","deliveries","messages"],"title":"WindowUsageOut","description":"Operator/billing read: a workspace's usage summed over an explicit half-open UTC day window.\nSourced from the immutable per-day buckets, so any window (a billing cycle, a corrected period)\ncan be re-summed after the fact."},"WorkspaceIn":{"properties":{"plan":{"type":"string","enum":["custom","free","pro","starter"],"title":"Plan","default":"free"},"require_endpoint_verification":{"type":"boolean","title":"Require Endpoint Verification","default":false},"org_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Org Id"}},"type":"object","title":"WorkspaceIn"},"WorkspaceOut":{"properties":{"id":{"type":"string","title":"Id"},"plan":{"type":"string","title":"Plan"},"require_endpoint_verification":{"type":"boolean","title":"Require Endpoint Verification","default":false}},"type":"object","required":["id","plan"],"title":"WorkspaceOut"},"WorkspacePatchIn":{"properties":{"require_endpoint_verification":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Endpoint Verification"}},"type":"object","title":"WorkspacePatchIn"},"Page_TransformationOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TransformationOut"},"type":"array","title":"Items"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Offset"}},"type":"object","required":["items"],"title":"Page[TransformationOut]"},"Page_TransformationVersionOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TransformationVersionOut"},"type":"array","title":"Items"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Offset"}},"type":"object","required":["items"],"title":"Page[TransformationVersionOut]"},"TransformationIn":{"properties":{"name":{"type":"string","maxLength":200,"title":"Name","default":""},"project_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Project Id"},"code":{"title":"Code","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"pipeline":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"additionalProperties":true,"title":"Pipeline"}},"type":"object","title":"TransformationIn"},"TransformationOut":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"name":{"type":"string","title":"Name"},"status":{"type":"string","title":"Status"},"current_version":{"type":"integer","title":"Current Version"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"disabled_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled Reason"},"consecutive_failures":{"type":"integer","title":"Consecutive Failures","default":0},"endpoint_count":{"type":"integer","title":"Endpoint Count","default":0},"destinations":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Destinations"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"kind":{"type":"string","title":"Kind","default":"script"},"pipeline":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"additionalProperties":true,"title":"Pipeline"}},"type":"object","required":["id","project_id","name","status","current_version"],"title":"TransformationOut"},"TransformationPatchIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Name"},"code":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Code"},"status":{"anyOf":[{"type":"string","enum":["enabled","disabled"]},{"type":"null"}],"title":"Status"},"confirm_destinations":{"anyOf":[{"items":{"type":"string","maxLength":2048},"type":"array"},{"type":"null"}],"title":"Confirm Destinations"},"pipeline":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"additionalProperties":true,"title":"Pipeline"}},"type":"object","title":"TransformationPatchIn","description":"Partial update: an omitted field is unchanged. New ``code`` (a script's) or ``pipeline`` (a\npipeline's) is checked and saved as the next version; restoring an old version is saving its\ncontent again. The kind never changes: the other kind's field is a 422. ``enabled`` also\nclears the breaker; ``disabled`` stops it running, and its endpoints' deliveries wait.\n\nA new pipeline version whose auth steps add a credential sends it to every endpoint that runs\nthe pipeline, so ``confirm_destinations`` must name all their URLs (``destinations`` on\nTransformationOut). Otherwise it is a 409 ``conflict``, reason ``destinations_unconfirmed``,\nwhose ``destinations`` lists them, and nothing is saved."},"TransformationTestIn":{"properties":{"code":{"title":"Code","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"event":{"additionalProperties":true,"type":"object","title":"Event"},"context":{"additionalProperties":true,"type":"object","title":"Context"},"pipeline":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"additionalProperties":true,"title":"Pipeline"},"project_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Project Id"}},"type":"object","required":["event"],"title":"TransformationTestIn","description":"Run a script or a pipeline once against an event and save nothing: the console's Test. It\nneed not be saved, so this tests what is in the editor. A pipeline is checked as a save checks\nit, and its auth steps add the project's secrets, which the answer shows masked."},"TransformationTestOut":{"properties":{"status":{"type":"string","title":"Status"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"},"headers":{"additionalProperties":{"type":"string"},"type":"object","title":"Headers"},"logs":{"type":"string","title":"Logs","default":""},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"fuel":{"type":"integer","title":"Fuel","default":0},"duration_ms":{"type":"number","title":"Duration Ms","default":0},"query":{"additionalProperties":{"type":"string"},"type":"object","title":"Query"},"step":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Step"}},"type":"object","required":["status"],"title":"TransformationTestOut"},"TransformationVersionOut":{"properties":{"version":{"type":"integer","title":"Version"},"created_by":{"type":"string","title":"Created By"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"pipeline":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"additionalProperties":true,"title":"Pipeline"}},"type":"object","required":["version","created_by"],"title":"TransformationVersionOut"},"DeliveryTransformOut":{"properties":{"transformation_id":{"type":"string","title":"Transformation Id"},"version":{"type":"integer","title":"Version"},"status":{"type":"string","title":"Status"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"logs":{"type":"string","title":"Logs","default":""},"fuel":{"type":"integer","title":"Fuel","default":0},"duration_ms":{"type":"number","title":"Duration Ms","default":0},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"},"header_names":{"items":{"type":"string"},"type":"array","title":"Header Names"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"credential_headers":{"items":{"type":"string"},"type":"array","title":"Credential Headers"},"credential_query":{"items":{"type":"string"},"type":"array","title":"Credential Query"}},"type":"object","required":["transformation_id","version","status"],"title":"DeliveryTransformOut","description":"What the endpoint's transformation made of this delivery's event (RFC-0029): the run its\nfirst attempt made, which every retry resends."},"Page_SecretOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SecretOut"},"type":"array","title":"Items"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Offset"}},"type":"object","required":["items"],"title":"Page[SecretOut]"},"SecretIn":{"properties":{"project_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Project Id"},"name":{"type":"string","maxLength":200,"title":"Name","default":""},"value":{"type":"string","maxLength":4096,"minLength":1,"pattern":"^[\\x21-\\x7E](?:[\\x20-\\x7E]*[\\x21-\\x7E])?$","title":"Value","writeOnly":true}},"type":"object","required":["value"],"title":"SecretIn"},"SecretOut":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"name":{"type":"string","title":"Name"},"transformation_count":{"type":"integer","title":"Transformation Count","default":0},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","project_id","name"],"title":"SecretOut"},"SecretPatchIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Name"},"value":{"anyOf":[{"type":"string","maxLength":4096,"minLength":1,"pattern":"^[\\x21-\\x7E](?:[\\x20-\\x7E]*[\\x21-\\x7E])?$"},{"type":"null"}],"title":"Value","writeOnly":true}},"type":"object","title":"SecretPatchIn","description":"Partial update: rename it, or replace its value, which every pipeline naming it sends from\nits next attempt on."},"PipelineTemplateOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"pipeline":{"additionalProperties":true,"type":"object","title":"Pipeline"}},"type":"object","required":["id","name","description","pipeline"],"title":"PipelineTemplateOut","description":"A ready-made pipeline from transform-core's gallery (RFC-0030): a starting point. Saving one\nmakes a copy that is the customer's own; nothing refers back to the template."}}},"x-error-codes":{"aliases":{"internal":{"code":"internal_error","reason":null},"invalid_request":{"code":"validation_error","reason":null},"unprocessable":{"code":"validation_error","reason":null}},"client_only":["bad_response","gateway_error","network_error","timeout"],"codes":{"bad_request":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{},"reasons":{"project_required":{"projects":{"format":"identifiers","join":null,"kind":"value","required":true,"values":null}},"unknown_plan":{}},"replaced_by":null,"status":[400],"umbrella":false},"broker_not_allowed":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{"host":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"reasons":{"not_system_broker":{}},"replaced_by":null,"status":[422],"umbrella":false},"conflict":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{"count":{"format":"number","join":null,"kind":"value","required":false,"values":null},"hostname":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"slug":{"format":"identifier","join":null,"kind":"value","required":false,"values":null}},"reasons":{"delivery_exists":{"endpoint_id":{"format":"identifier","join":null,"kind":"value","required":true,"values":null},"event_id":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"delivery_not_redeliverable":{"id":{"format":"identifier","join":null,"kind":"value","required":true,"values":null},"state":{"format":null,"join":null,"kind":"selector","required":true,"values":["dead","failed","missing","queued","sending","sent"]}},"destinations_unconfirmed":{"destinations":{"format":"identifiers","join":null,"kind":"value","required":true,"values":null},"id":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"endpoint_has_pending_deliveries":{"id":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"endpoint_not_enabled":{"id":{"format":"identifier","join":null,"kind":"value","required":true,"values":null},"state":{"format":null,"join":null,"kind":"selector","required":true,"values":["auto_disabled","disabled"]}},"endpoint_not_verified":{"id":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"endpoint_suspended":{"cause":{"format":null,"join":null,"kind":"selector","required":false,"values":["abuse","non_payment","plan_downgrade"]},"id":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"event_type_exists":{"event_type":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"idempotency_key_reuse":{"idempotency_key":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"project_in_other_workspace":{"id":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"project_not_empty":{"endpoints":{"format":"number","join":null,"kind":"value","required":true,"values":null},"id":{"format":"identifier","join":null,"kind":"value","required":true,"values":null},"sources":{"format":"number","join":null,"kind":"value","required":true,"values":null}},"replay_across_projects":{"endpoint_id":{"format":"identifier","join":null,"kind":"value","required":true,"values":null},"event_id":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"replay_status_not_allowed":{},"workspace_exists":{"id":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"transformation_in_use":{"endpoints":{"format":"number","join":null,"kind":"value","required":true,"values":null},"id":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"secret_in_use":{"id":{"format":"identifier","join":null,"kind":"value","required":true,"values":null},"transformations":{"format":"number","join":null,"kind":"value","required":true,"values":null}}},"replaced_by":null,"status":[409],"umbrella":true},"error":{"audience":"customer","complete":false,"count_param":null,"deprecated":true,"diagnostic_reasons":[],"entry_types":{},"params":{},"reasons":null,"replaced_by":null,"status":[],"umbrella":false},"forbidden":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{"required":{"format":null,"join":null,"kind":"selector","required":false,"values":["admin","publish","read"]}},"reasons":{"csrf":{},"membership":{},"not_provisioned":{},"operator":{},"product_not_enabled":{},"project":{},"project_confined":{},"role":{},"scope":{}},"replaced_by":null,"status":[403],"umbrella":true},"internal":{"audience":"customer","complete":false,"count_param":null,"deprecated":true,"diagnostic_reasons":[],"entry_types":{},"params":{},"reasons":null,"replaced_by":"internal_error","status":[500],"umbrella":false},"internal_error":{"audience":"customer","complete":true,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{},"reasons":{},"replaced_by":null,"status":[500],"umbrella":false},"invalid_credential":{"audience":"customer","complete":true,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{},"reasons":{},"replaced_by":null,"status":[401,403],"umbrella":false},"invalid_payload":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{"schema.additionalProperties":{"path":{"format":"identifier","join":null,"kind":"value","required":true,"values":null},"property":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"schema.const":{"path":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"schema.enum":{"path":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"schema.format":{"path":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"schema.maxItems":{"count":{"format":"number","join":null,"kind":"value","required":true,"values":null},"path":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"schema.maxLength":{"count":{"format":"number","join":null,"kind":"value","required":true,"values":null},"path":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"schema.maximum":{"limit":{"format":"number","join":null,"kind":"value","required":true,"values":null},"path":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"schema.minItems":{"count":{"format":"number","join":null,"kind":"value","required":true,"values":null},"path":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"schema.minLength":{"count":{"format":"number","join":null,"kind":"value","required":true,"values":null},"path":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"schema.minimum":{"limit":{"format":"number","join":null,"kind":"value","required":true,"values":null},"path":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"schema.other":{"path":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"schema.pattern":{"path":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"schema.required":{"path":{"format":"identifier","join":null,"kind":"value","required":true,"values":null},"property":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"schema.type":{"path":{"format":"identifier","join":null,"kind":"value","required":true,"values":null},"type":{"format":null,"join":null,"kind":"selector","required":false,"values":["array","boolean","integer","null","number","object","string"]}}},"params":{},"reasons":{"payload":{"total":{"format":"number","join":null,"kind":"value","required":true,"values":null}},"schema_invalid":{"path":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}}},"replaced_by":null,"status":[422],"umbrella":false},"invalid_request":{"audience":"customer","complete":false,"count_param":null,"deprecated":true,"diagnostic_reasons":[],"entry_types":{"bool_parsing":{},"bool_type":{},"date_parsing":{},"date_type":{},"datetime_from_date_parsing":{},"datetime_parsing":{},"datetime_type":{},"dict_type":{},"enum":{},"extra_forbidden":{},"finite_number":{},"float_parsing":{},"float_type":{},"greater_than":{"limit":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"greater_than_equal":{"limit":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"int_from_float":{},"int_parsing":{},"int_parsing_size":{},"int_type":{},"json_invalid":{},"json_type":{},"less_than":{"limit":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"less_than_equal":{"limit":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"list_type":{},"literal_error":{},"missing":{},"model_attributes_type":{},"model_type":{},"string_pattern_mismatch":{},"string_too_long":{"count":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"string_too_short":{"count":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"string_type":{},"string_unicode":{},"too_long":{"count":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"too_short":{"count":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"url_parsing":{},"url_type":{},"uuid_parsing":{},"uuid_type":{}},"params":{},"reasons":null,"replaced_by":"validation_error","status":[422],"umbrella":false},"method_not_allowed":{"audience":"customer","complete":true,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{},"reasons":{},"replaced_by":null,"status":[405],"umbrella":false},"not_entitled":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{"feature":{"format":null,"join":null,"kind":"selector","required":false,"values":["optional_endpoint_verification","rabbitmq_sources","transformations"]}},"reasons":{},"replaced_by":null,"status":[402],"umbrella":false},"not_found":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{"id":{"format":"identifier","join":null,"kind":"value","required":false,"values":null}},"reasons":{"capture":{},"default_project":{},"delivery":{},"endpoint":{},"event":{},"event_type":{},"operational_endpoint":{},"plan_override":{},"project":{},"source":{},"user":{},"workspace":{},"transformation":{},"transformation_version":{},"secret":{}},"replaced_by":null,"status":[404],"umbrella":true},"payload_too_large":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{"limit":{"format":"bytes","join":null,"kind":"value","required":true,"values":null},"size":{"format":"bytes","join":null,"kind":"value","required":false,"values":null}},"reasons":{},"replaced_by":null,"status":[413],"umbrella":false},"plan_violation":{"audience":"customer","complete":false,"count_param":null,"deprecated":true,"diagnostic_reasons":[],"entry_types":{},"params":{},"reasons":null,"replaced_by":null,"status":[402],"umbrella":false},"provider_secret_required":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{"provider":{"format":null,"join":null,"kind":"selector","required":true,"values":["github","rabbitmq","stripe"]}},"reasons":{},"replaced_by":null,"status":[422],"umbrella":false},"quota_exceeded":{"audience":"customer","complete":false,"count_param":"limit","deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{"current":{"format":"number","join":null,"kind":"value","required":false,"values":null},"limit":{"format":"number","join":null,"kind":"value","required":false,"values":null},"metric":{"format":null,"join":null,"kind":"selector","required":false,"values":["deliveries","endpoints"]},"period":{"format":null,"join":null,"kind":"value","required":false,"values":null}},"reasons":{"allocation":{},"period":{"credit":{"format":null,"join":null,"kind":"selector","required":false,"values":["empty","off","pending"]}}},"replaced_by":null,"status":[402],"umbrella":false},"rate_limited":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{"retry_after":{"format":"seconds","join":null,"kind":"value","required":false,"values":null}},"reasons":{},"replaced_by":null,"status":[429],"umbrella":false},"schema_pattern_unsafe":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{},"reasons":{"ambiguous_alternation":{"pattern":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"does_not_compile":{"pattern":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"empty_repeat":{"pattern":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"nested_quantifier":{"pattern":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"too_complex":{"pattern":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"too_long":{"limit":{"format":"number","join":null,"kind":"value","required":true,"values":null},"pattern":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}}},"replaced_by":null,"status":[422],"umbrella":false},"schema_ref_unsupported":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{"ref":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"reasons":{},"replaced_by":null,"status":[422],"umbrella":false},"schema_too_large":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{},"reasons":{"bytes":{"limit":{"format":"bytes","join":null,"kind":"value","required":true,"values":null},"size":{"format":"bytes","join":null,"kind":"value","required":true,"values":null}},"depth":{"limit":{"format":"number","join":null,"kind":"value","required":true,"values":null}},"enum_values":{"limit":{"format":"number","join":null,"kind":"value","required":true,"values":null}},"members":{"limit":{"format":"number","join":null,"kind":"value","required":true,"values":null}},"patterns":{"limit":{"format":"number","join":null,"kind":"value","required":true,"values":null}}},"replaced_by":null,"status":[422],"umbrella":false},"unauthorized":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{},"reasons":{"expired":{},"invalid":{},"missing":{},"no_workspace":{},"revoked":{}},"replaced_by":null,"status":[401],"umbrella":true},"unavailable":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{"retry_after":{"format":"seconds","join":null,"kind":"value","required":false,"values":null}},"reasons":{"ingest_disabled":{},"plan_service":{},"transform":{}},"replaced_by":null,"status":[503],"umbrella":false},"unknown_event_type":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{"event_type":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"reasons":{},"replaced_by":null,"status":[422],"umbrella":false},"unprocessable":{"audience":"customer","complete":false,"count_param":null,"deprecated":true,"diagnostic_reasons":[],"entry_types":{"bool_parsing":{},"bool_type":{},"date_parsing":{},"date_type":{},"datetime_from_date_parsing":{},"datetime_parsing":{},"datetime_type":{},"dict_type":{},"enum":{},"extra_forbidden":{},"finite_number":{},"float_parsing":{},"float_type":{},"greater_than":{"limit":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"greater_than_equal":{"limit":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"int_from_float":{},"int_parsing":{},"int_parsing_size":{},"int_type":{},"json_invalid":{},"json_type":{},"less_than":{"limit":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"less_than_equal":{"limit":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"list_type":{},"literal_error":{},"missing":{},"model_attributes_type":{},"model_type":{},"string_pattern_mismatch":{},"string_too_long":{"count":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"string_too_short":{"count":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"string_type":{},"string_unicode":{},"too_long":{"count":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"too_short":{"count":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"url_parsing":{},"url_type":{},"uuid_parsing":{},"uuid_type":{}},"params":{},"reasons":null,"replaced_by":"validation_error","status":[422],"umbrella":false},"unprocessable_event":{"audience":"machine","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{},"reasons":{},"replaced_by":null,"status":[422],"umbrella":false},"validation_error":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{"bool_parsing":{},"bool_type":{},"date_parsing":{},"date_type":{},"datetime_from_date_parsing":{},"datetime_parsing":{},"datetime_type":{},"dict_type":{},"enum":{},"extra_forbidden":{},"finite_number":{},"float_parsing":{},"float_type":{},"greater_than":{"limit":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"greater_than_equal":{"limit":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"int_from_float":{},"int_parsing":{},"int_parsing_size":{},"int_type":{},"json_invalid":{},"json_type":{},"less_than":{"limit":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"less_than_equal":{"limit":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"list_type":{},"literal_error":{},"missing":{},"model_attributes_type":{},"model_type":{},"string_pattern_mismatch":{},"string_too_long":{"count":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"string_too_short":{"count":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"string_type":{},"string_unicode":{},"too_long":{"count":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"too_short":{"count":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"url_parsing":{},"url_type":{},"uuid_parsing":{},"uuid_type":{},"webhooks.broker_fields_required":{"missing":{"format":"values","join":"and","kind":"value","required":true,"values":["broker_exchange","broker_host","broker_identifier","broker_topic","broker_user"]}},"webhooks.custom_header_control_character":{"header":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"webhooks.custom_header_forbidden":{"header":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"webhooks.custom_header_managed":{"header":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"webhooks.custom_header_name_invalid":{},"webhooks.custom_header_not_ascii":{"header":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"webhooks.custom_header_untrimmed":{"header":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"webhooks.custom_header_value_too_long":{"count":{"format":"number","join":null,"kind":"value","required":true,"values":null},"header":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"webhooks.custom_headers_too_large":{"limit":{"format":"bytes","join":null,"kind":"value","required":true,"values":null}},"webhooks.end_before_start":{},"webhooks.end_not_after_start":{},"webhooks.max_attempts_above_plan":{"count":{"format":"number","join":null,"kind":"value","required":true,"values":null}},"webhooks.retry_delay_out_of_range":{"limit":{"format":"number","join":null,"kind":"value","required":true,"values":null}},"webhooks.unknown_delivery_status":{"status":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"webhooks.unknown_operational_event_type":{"choices":{"format":"values","join":"or","kind":"value","required":true,"values":["endpoint.degraded","endpoint.disabled","endpoint.recovered","message.attempt.exhausted","transformation.disabled"]},"event_type":{"format":"identifier","join":null,"kind":"value","required":true,"values":null}},"webhooks.url_not_https":{},"webhooks.transformation_content":{}},"params":{},"reasons":{},"replaced_by":null,"status":[422],"umbrella":true},"workspace_frozen":{"audience":"customer","complete":true,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{},"reasons":{},"replaced_by":null,"status":[402],"umbrella":false},"workspace_suspended":{"audience":"customer","complete":true,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{},"reasons":{},"replaced_by":null,"status":[402],"umbrella":false},"invalid_transformation":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{},"reasons":{"code_too_large":{"limit":{"format":"bytes","join":null,"kind":"value","required":true,"values":null}},"load_failed":{"cause":{"format":null,"join":null,"kind":"selector","required":true,"values":["crashed","out_of_memory","out_of_time","output_too_large","stack_overflow","threw"]}},"no_transform":{},"syntax_error":{}},"replaced_by":null,"status":[422],"umbrella":false},"invalid_pipeline":{"audience":"customer","complete":false,"count_param":null,"deprecated":false,"diagnostic_reasons":[],"entry_types":{},"params":{},"reasons":{"auth_not_last":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"forbidden_header":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"invalid_document":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"invalid_filter":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"invalid_header":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"invalid_path":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"invalid_secret":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"invalid_step":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"invalid_template":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"invalid_value":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"managed_header":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"no_steps":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"not_json":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"too_deep":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"too_large":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"too_many_steps":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"unknown_secret":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"unknown_step":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}},"unsupported_version":{"path":{"format":"identifier","join":null,"kind":"value","required":false,"values":null},"step":{"format":"number","join":null,"kind":"value","required":false,"values":null}}},"replaced_by":null,"status":[422],"umbrella":false}},"status_codes":{"400":"bad_request","401":"unauthorized","403":"forbidden","404":"not_found","405":"method_not_allowed","409":"conflict","413":"payload_too_large","422":"validation_error","429":"rate_limited","500":"internal_error","503":"unavailable"},"version":1},"servers":[{"url":"https://webhooks.nimbusnexus.net"}]}