Typescript
await runs.cancel(existingRun.id);
{ "message": "<string>" }
Cancels a run.
Use your Secret API key in the form 'Bearer <SECRET KEY>' (without the quotation marks)
The ID of an existing run. When you trigger a run you will get an id in the response.
Successful request
The response is of type object.
object
Was this page helpful?