Get tenant
curl --request GET \
--url https://api.example.com/api/v2/tenants/{tenant_name} \
--header 'x-chroma-token: <api-key>'import requests
url = "https://api.example.com/api/v2/tenants/{tenant_name}"
headers = {"x-chroma-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-chroma-token': '<api-key>'}};
fetch('https://api.example.com/api/v2/tenants/{tenant_name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));false{
"name": "1e30d217-3d78-4f8c-b244-79381dc6a254",
"resource_name": null
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Tenant
Get tenant
Returns an existing tenant by name.
GET
/
api
/
v2
/
tenants
/
{tenant_name}
Get tenant
curl --request GET \
--url https://api.example.com/api/v2/tenants/{tenant_name} \
--header 'x-chroma-token: <api-key>'import requests
url = "https://api.example.com/api/v2/tenants/{tenant_name}"
headers = {"x-chroma-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-chroma-token': '<api-key>'}};
fetch('https://api.example.com/api/v2/tenants/{tenant_name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));false{
"name": "1e30d217-3d78-4f8c-b244-79381dc6a254",
"resource_name": null
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Was this page helpful?
⌘I