Cancel invocation
curl --request PUT \
--url https://sync.trychroma.com/api/v1/invocations/{invocation_id} \
--header 'x-chroma-token: <api-key>'import requests
url = "https://sync.trychroma.com/api/v1/invocations/{invocation_id}"
headers = {"x-chroma-token": "<api-key>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', headers: {'x-chroma-token': '<api-key>'}};
fetch('https://sync.trychroma.com/api/v1/invocations/{invocation_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));false{}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Invocation
Cancel invocation
Cancels an invocation.
PUT
/
api
/
v1
/
invocations
/
{invocation_id}
Cancel invocation
curl --request PUT \
--url https://sync.trychroma.com/api/v1/invocations/{invocation_id} \
--header 'x-chroma-token: <api-key>'import requests
url = "https://sync.trychroma.com/api/v1/invocations/{invocation_id}"
headers = {"x-chroma-token": "<api-key>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', headers: {'x-chroma-token': '<api-key>'}};
fetch('https://sync.trychroma.com/api/v1/invocations/{invocation_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));false{}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Was this page helpful?
⌘I