API Reference
Resume an agent run
Streams AG-UI events for an existing run, starting after after (the last seq the client already applied). The stream follows a run that is still executing on this server until it ends. A finished run is replayed from the data store, when store requests is enabled, and the response closes.
GET
/
v1
/
agent
/
{agent_id}
/
runs
/
{run_id}
/
stream
Resume an agent run
curl --request GET \
--url https://api.synapsai.cloud/v1/agent/{agent_id}/runs/{run_id}/streamimport requests
url = "https://api.synapsai.cloud/v1/agent/{agent_id}/runs/{run_id}/stream"
response = requests.get(url)
print(response.text)<string>⌘I
Resume an agent run
curl --request GET \
--url https://api.synapsai.cloud/v1/agent/{agent_id}/runs/{run_id}/streamimport requests
url = "https://api.synapsai.cloud/v1/agent/{agent_id}/runs/{run_id}/stream"
response = requests.get(url)
print(response.text)<string>