The API block calls an HTTP endpoint. Use it to fetch data, create a record, or invoke an external service.
Fetch and summarize data
Set URL to https://api.example.com/users/<start.input> and Method to GET. The next Agent reads <api.data>. Replace the example endpoint and supply its required authentication.
Configuration
Keep keys and proxy credentials in secrets, referenced with {{NAME}}.
Advanced settings
Outputs
Use narrow references such as <api.data.id> when a later step needs only one field. The HTTP response itself is limited to 10 MiB; selecting a narrow field does not bypass that fetch-time limit.
Handle failures
Non-2xx responses, network failures, and timeouts fail the API block. Connect its error port to handle them. Without an error path, an unhandled failure stops the run.
A normal downstream Condition on <api.status> can distinguish successful responses, such as 200 and 201; it does not receive a failed 404 response on the normal path.