Agents
Cancel Agent
Changed onGracefully cancel a running agent WITH savepoint.
Creates a savepoint before stopping - use this when you want to resume later. The savepoint path is stored and used automatically on redeploy.
post/agents/{job_id}/cancel
Request
- Base URLhttps://api.streamkap.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
job_idstring required
Response
Successful Response
Changes
- info
endpoint added
- info