Input
- v1
| Field | Description | Type | Required |
|---|---|---|---|
additionalFields | Additional form fields to include in the multipart request | object[] | No |
args | Additional request parameters (query params, headers) | object[] | No |
authorization | Overrides the connector’s default authentication for this request. | union | No |
baseUrl | Overrides the connector’s base URL for the upload. | string | No |
customErrors | Remaps matching provider error responses to different statuses or messages. | object[] | No |
file | The file to upload | object | Yes |
method | HTTP method to use for the upload. Allowed: get, post, put, delete, patchDefault: post | enum | Yes |
response | Controls how the raw response is parsed into step output data. | object | No |
url | Upload endpoint path appended to the base URL. | string | Yes |
additionalFields
additionalFields
Additional form fields to include in the multipart request
| Field | Description | Type | Required |
|---|---|---|---|
condition | A JEXL expression that includes the field only when it evaluates true. | string | No |
contentType | The MIME type for this form field (e.g., “application/json”) | string | No |
name | Name of the form field. | string | Yes |
value | Value of the form field. | any | Yes |
args
args
Additional request parameters (query params, headers)
| Field | Description | Type | Required |
|---|---|---|---|
arrayFormat | How array values are serialized in the query string: repeat, brackets, comma, or stringify. Allowed: repeat, brackets, comma, stringify | enum | No |
condition | A JEXL expression that includes the parameter only when it evaluates true. | string | No |
in | Where to send the parameter: query, body, or headers. Allowed: query, body, headers | enum | Yes |
name | Name of the request parameter. | string | Yes |
spread | Merges the value’s object entries into the target location instead of setting a single named field. | boolean | No |
value | Value of the parameter. Supports expressions. | any | Yes |
customErrors
customErrors
Remaps provider error responses to different statuses or messages. Useful for GraphQL APIs that return errors with a 200 status, normalizing provider-specific error formats, and giving AI agents clearer error messages.
| Field | Description | Type | Required |
|---|---|---|---|
condition | A JEXL expression that applies the remap only when it evaluates true. | string | No |
message | Error message to return in place of the provider’s. | string | No |
receivedStatus | Provider HTTP status code to match. | number | Yes |
targetStatus | HTTP status code to return in place of the matched one. | number | Yes |
file
file
The file to upload
| Field | Description | Type | Required |
|---|---|---|---|
content | The file content as base64 encoded string | string | Yes |
contentType | The MIME type of the file (e.g., “image/png”, “application/pdf”) | string | No |
fieldName | The form field name for the file | string | Yes |
filename | The filename to use in the upload | string | Yes |
response
response
Controls how the raw response is parsed into step output data.
| Field | Description | Type | Required |
|---|---|---|---|
collection | Whether to treat the response payload as a collection of records to index. | boolean | No |
dataKey | Top-level response key holding the records to extract. | string | No |
indexField | Field used to key results when returning an indexed map. | string | No |
Output
- v1
| Field | Description | Type | Required |
|---|---|---|---|
data | The parsed response payload from the upload. | any | No |
message | Status or error message from the response. | string | No |
raw | The raw provider response before parsing. | any | No |
statusCode | HTTP status code of the provider response. | number | Yes |