Get latest invocations by keys
curl --request POST \
--url https://sync.trychroma.com/api/v1/sources/{source_id}/invocations/latest-by-keys \
--header 'Content-Type: application/json' \
--data '
{
"object_keys": [
"<string>"
]
}
'import requests
url = "https://sync.trychroma.com/api/v1/sources/{source_id}/invocations/latest-by-keys"
payload = { "object_keys": ["<string>"] }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({object_keys: ['<string>']})
};
fetch('https://sync.trychroma.com/api/v1/sources/{source_id}/invocations/latest-by-keys', 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>"
}Invocation
Get latest invocations by keys
Returns the latest invocations for the given keys on a source.
POST
/
api
/
v1
/
sources
/
{source_id}
/
invocations
/
latest-by-keys
Get latest invocations by keys
curl --request POST \
--url https://sync.trychroma.com/api/v1/sources/{source_id}/invocations/latest-by-keys \
--header 'Content-Type: application/json' \
--data '
{
"object_keys": [
"<string>"
]
}
'import requests
url = "https://sync.trychroma.com/api/v1/sources/{source_id}/invocations/latest-by-keys"
payload = { "object_keys": ["<string>"] }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({object_keys: ['<string>']})
};
fetch('https://sync.trychroma.com/api/v1/sources/{source_id}/invocations/latest-by-keys', 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>"
}Was this page helpful?
⌘I