Python
from parallel import Parallel
client = Parallel()
client.beta.findall.cancel(
findall_id="findall_56ccc4d188fb41a0803a935cf485c774",
)
print("FindAll run cancelled.")import Parallel from "parallel-web";
const client = new Parallel();
await client.beta.findall.cancel("findall_56ccc4d188fb41a0803a935cf485c774");
console.log("FindAll run cancelled.");HttpResponse<String> response = Unirest.post("https://api.parallel.ai/v1beta/findall/runs/{findall_id}/cancel")
.header("x-api-key", "<api-key>")
.asString();curl --request POST \
--url https://api.parallel.ai/v1beta/findall/runs/{findall_id}/cancel \
--header 'x-api-key: <api-key>'{
"type": "error",
"error": {
"ref_id": "fcb2b4f3-c75e-4186-87bc-caa1a8381331",
"message": "FindAll run not found"
}
}{
"type": "error",
"error": {
"ref_id": "fcb2b4f3-c75e-4186-87bc-caa1a8381331",
"message": "Cannot cancel a terminated FindAll run"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}FindAll
Cancel FindAll Run
Cancel a FindAll run.
POST
/
v1beta
/
findall
/
runs
/
{findall_id}
/
cancel
Python
from parallel import Parallel
client = Parallel()
client.beta.findall.cancel(
findall_id="findall_56ccc4d188fb41a0803a935cf485c774",
)
print("FindAll run cancelled.")import Parallel from "parallel-web";
const client = new Parallel();
await client.beta.findall.cancel("findall_56ccc4d188fb41a0803a935cf485c774");
console.log("FindAll run cancelled.");HttpResponse<String> response = Unirest.post("https://api.parallel.ai/v1beta/findall/runs/{findall_id}/cancel")
.header("x-api-key", "<api-key>")
.asString();curl --request POST \
--url https://api.parallel.ai/v1beta/findall/runs/{findall_id}/cancel \
--header 'x-api-key: <api-key>'{
"type": "error",
"error": {
"ref_id": "fcb2b4f3-c75e-4186-87bc-caa1a8381331",
"message": "FindAll run not found"
}
}{
"type": "error",
"error": {
"ref_id": "fcb2b4f3-c75e-4186-87bc-caa1a8381331",
"message": "Cannot cancel a terminated FindAll run"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}⌘I