HTTP Post
HTTP Post (http-post)
Section titled “HTTP Post (http-post)”POST event data to an HTTPS server.
Http json
Minimal example
Section titled “Minimal example”output: http-post: url: ""JSON
{ "output": { "http-post": { "url": "" } }}Contents
Section titled “Contents”A ✓ marks a field that accepts a context variable such as
{{ VARIABLE }}.
Authentication
Section titled “Authentication”Authentication
| Field | Type | Required | Description |
|---|---|---|---|
auth |
Auth |
Optional first-class Credential Manager-backed HTTP header. Allowed values: credential-manager-header |
Payload
Section titled “Payload”Payload
| Field | Type | Required | Description |
|---|---|---|---|
body |
Body |
How to construct the request body (event, field, or literal). Allowed values: event, field, literal |
Processing
Section titled “Processing”Processing
| Field | Type | Required | Description |
|---|---|---|---|
batch |
Batch |
Collect input events together into batches. |
Reliability
Section titled “Reliability”Reliability
| Field | Type | Required | Description |
|---|---|---|---|
retry |
Retry |
How to retry failed requests. |
Request
Section titled “Request”Request
| Field | Type | Required | Description |
|---|---|---|---|
url |
url (string) |
✅ | The URL may contain ${} field expansions.Examples: https://example.com/path |
headers |
map (string) |
HTTP headers of the request. | |
idempotency-key-field |
field (string) |
Field providing the value for the Idempotency-Key header when supported by the sink. Examples: data_field |
|
method |
Method |
HTTP method to use for the query (either ‘get’ or ‘post’). Allowed values: get, post, put, patch, delete, options, head |
Response
Section titled “Response”Response
| Field | Type | Required | Description |
|---|---|---|---|
acknowledgement |
Acknowledgement |
Optional provider acknowledgement contract evaluated after a successful HTTP status. |
Security
Section titled “Security”Security
| Field | Type | Required | Description |
|---|---|---|---|
insecure ✓ |
boolean (bool) |
Ignore TLS certificate validation errors (This is unsafe to use). Default: false |
Schema
Section titled “Schema”- Auth Options
- Body Options
- Auth - Credential Manager Header Fields
- Body - Field Fields
- Body - Literal Fields
- Batch Fields
- Retry Fields
- Acknowledgement Fields
- Headers Table
- Auth - Credential Manager Header - Credential Scope Mode Options
- Auth - Credential Manager Header - Material Kind Options
- Batch - Mode Options
- Method Options
- Acknowledgement - Expected Count Options
Auth Options
Section titled “Auth Options”| Option | Name | Type | Description |
|---|---|---|---|
credential-manager-header |
Credential Manager Header | object |
Body Options
Section titled “Body Options”| Option | Name | Type | Description |
|---|---|---|---|
event |
Event | map |
|
field |
Field | object |
|
literal |
Literal | object |
Auth - Credential Manager Header Fields
Section titled “Auth - Credential Manager Header Fields”| Field | Type | Required | Description |
|---|---|---|---|
credential-id ✓ |
credential-id (string) |
✅ | Credential Manager id used to hydrate the header value. Examples: 2b64d2a0-0b76-4cd0-9ef0-3f0ef3d2a9a1 |
credential-scope-mode |
Credential Scope Mode |
✅ | How to choose the scopes bound to this job when using the credential. Allowed values: allowed, custom |
credential-scopes |
string[] |
Custom scopes to bind to this job when credential-scope-mode is custom. |
|
material-kind |
Material Kind |
Material shape expected from Credential Manager. Omission is retained only for persisted jobs created before this discriminator existed. Allowed values: bearer-token, http-header |
|
auth-header |
string |
Header used to carry the credential value. Default: Authorization |
|
prefix |
string |
Prefix prepended to the credential value. Use an empty string when the activated Credential Manager material already contains the full value. Default: Bearer |
Body - Field Fields
Section titled “Body - Field Fields”| Field | Type | Required | Description |
|---|---|---|---|
field |
string |
✅ |
Body - Literal Fields
Section titled “Body - Literal Fields”| Field | Type | Required | Description |
|---|---|---|---|
value |
string |
✅ | Literal/template request body; supports ${} expansions and multiline YAML strings. |
Batch Fields
Section titled “Batch Fields”| Field | Type | Required | Description |
|---|---|---|---|
fixed-size ✓ |
number (integer) |
maximum number of events in an output batch. Examples: 42, 1.2e-10 |
|
max-bytes ✓ |
number (integer) |
Close the batch before adding an event that would make the serialized request payload exceed this many bytes. Examples: 42, 1.2e-10 |
|
mode |
Mode |
✅ | If ‘document’ send on end of document generated by input. If ‘fixed’, use fixed_size.Allowed values: fixed, document |
timeout |
time-interval (string) |
✅ | interval after which the batch is sent, to keep throughput going (default 100ms). Default: 100msExamples: 500ms, 2h |
header |
multiline-text (string) |
put a header line before the batch. | |
footer |
multiline-text (string) |
put a header line after the last line of the batch. | |
use-document-marker ✓ |
boolean (bool) |
Enrich the job metadata with a document marker (for document handling in batch mode). Default: false |
|
wrap-as-json ✓ |
boolean (bool) |
Format the output batch as a JSON array. Default: false |
Retry Fields
Section titled “Retry Fields”| Field | Type | Required | Description |
|---|---|---|---|
count |
number (integer) |
The number of retry attempts. If unspecified, retries will continue indefinitely. Examples: 42, 1.2e-10 |
|
pause |
duration (string) |
How long to pause before re-trying. Accepts human-friendly formats, like 1m (for 1 minute) and 4h (for 4 hours) |
Acknowledgement Fields
Section titled “Acknowledgement Fields”| Field | Type | Required | Description |
|---|---|---|---|
accepted-count-pointer |
json-pointer (string) |
✅ | JSON Pointer to the non-negative number of accepted request items. |
failed-count-pointer |
json-pointer (string) |
✅ | JSON Pointer to the non-negative number of rejected request items. |
failure-items-pointer |
json-pointer (string) |
Optional JSON Pointer to an array of bounded provider failure codes. | |
max-response-bytes |
number (integer) |
✅ | Maximum acknowledgement response body accepted for validation. Examples: 42, 1.2e-10 |
expected-count |
Expected Count |
How to derive the exact item count from the serialized request body. Allowed values: one, json-array, ndjson |
Headers Table
Section titled “Headers Table”| Header | Value |
|---|---|
Header-Name |
value |
Value format: templated-text.
Auth - Credential Manager Header - Credential Scope Mode Options
Section titled “Auth - Credential Manager Header - Credential Scope Mode Options”| Value | Aliases | Name | Description |
|---|---|---|---|
allowed |
allowed | ||
custom |
custom |
Auth - Credential Manager Header - Material Kind Options
Section titled “Auth - Credential Manager Header - Material Kind Options”| Value | Aliases | Name | Description |
|---|---|---|---|
bearer-token |
bearer-token | ||
http-header |
http-header |
Batch - Mode Options
Section titled “Batch - Mode Options”| Value | Aliases | Name | Description |
|---|---|---|---|
fixed |
fixed | ||
document |
document |
Method Options
Section titled “Method Options”| Value | Aliases | Name | Description |
|---|---|---|---|
get |
get | ||
post |
post | ||
put |
put | ||
patch |
patch | ||
delete |
delete | ||
options |
options | ||
head |
head |
Acknowledgement - Expected Count Options
Section titled “Acknowledgement - Expected Count Options”| Value | Aliases | Name | Description |
|---|---|---|---|
one |
one | ||
json-array |
json-array | ||
ndjson |
ndjson |