cancel_a_run | R Documentation |
Cancels a run that is in_progress.
cancel_a_run(run_id, thread_id, return_response = F)
run_id |
(string) The ID of the run to cancel. Required |
thread_id |
(string) The ID of the thread to which this run belongs. Required |
return_response |
(boolean) Whether to return the API response or parse the contents of the response. Defaults to FALSE (parse the response). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.