Can the Agent API notify my server when a run finishes?
The Agent API docs don't describe webhooks. To know when a run finishes:
- Stream
GET /v1/runs/{id}/eventsand wait for thedoneevent (reconnect with?after=every 10 minutes), or - Poll
GET /v1/runs/{id}every 2 seconds or more.
A small worker on your side can do this and then call your own webhook.
Learn more#
Related articles
Still need help?
Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyzFor deleting your whole account or the data of one service.