Custom Agent
Stream Response in cURL
Learn how to manage the stream response with the Custom Agent API in cURL
After creating a new custom agent, you can call and use it via the Custom Agent API, which can stream responses. This allows you to process data incrementally as it becomes available, rather than waiting for the full payload.
The following example shows how to manage a stream call of the Express Agent API with cURL:
Below is the summary excerpt of the streaming events: