Update Log Drain
Authorizations
Primary scheme: Authorization: Key <key_id>:<secret>.
Path Parameters
Body
1 - 1001 - 8192Wire encoding for one log drain endpoint's HTTP posts.
ndjson, otlp Rotates the signing secret. No conditional applies here: the drain may already hold one. Switching format to ndjson on a drain with no stored secret requires supplying one in the same request.
64 - 40961 <= x <= 5000Response
Successful Response
Wire encoding for one log drain endpoint's HTTP posts.
ndjson, otlp Why the most recent batch delivery failed, in the same error envelope GET /jobs/{job_id} returns for a failed job: a stable code from the shared error vocabulary, a fixed operator-facing message, and retryable. Null while no batch has failed, and cleared on the next success. Destination URLs, headers, credentials, response bodies, and internal exception text are never included. Nor is your drain URL written to Hedra's own logs, since it may carry authentication in its query string. retryable describes the condition, not what Hedra did: every failed batch is requeued until the drain auto-disables, so it answers whether fixing the destination and re-enabling is likely to help. Drains that last failed before this field became structured report UNKNOWN.