Get Convai Workspace Secret
curl --request GET \
--url https://api.threetone.in/v1/convai/secrets/{secret_id}import requests
url = "https://api.threetone.in/v1/convai/secrets/{secret_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.threetone.in/v1/convai/secrets/{secret_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"type": "stored",
"secret_id": "<string>",
"name": "<string>",
"used_by": {
"tools": [
{
"id": "<string>",
"name": "<string>",
"created_at_unix_secs": 123,
"access_level": "admin",
"type": "available"
}
],
"agents": [
{
"id": "<string>",
"name": "<string>",
"created_at_unix_secs": 123,
"access_level": "admin",
"referenced_resource_ids": [
"<string>"
],
"type": "available"
}
],
"others": [
"conversation_initiation_webhook"
],
"tools_has_more": false,
"agents_has_more": false,
"phone_numbers": [
{
"phone_number_id": "<string>",
"phone_number": "<string>",
"label": "<string>",
"provider": "managed_pstn"
}
],
"phone_numbers_has_more": false,
"mcp_servers": [
{
"id": "<string>",
"name": "<string>",
"created_at_unix_secs": 123,
"access_level": "admin",
"type": "available"
}
]
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Agents Platform
Get Convai Workspace Secret
Get a workspace secret by ID
GET
/
v1
/
convai
/
secrets
/
{secret_id}
Get Convai Workspace Secret
curl --request GET \
--url https://api.threetone.in/v1/convai/secrets/{secret_id}import requests
url = "https://api.threetone.in/v1/convai/secrets/{secret_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.threetone.in/v1/convai/secrets/{secret_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"type": "stored",
"secret_id": "<string>",
"name": "<string>",
"used_by": {
"tools": [
{
"id": "<string>",
"name": "<string>",
"created_at_unix_secs": 123,
"access_level": "admin",
"type": "available"
}
],
"agents": [
{
"id": "<string>",
"name": "<string>",
"created_at_unix_secs": 123,
"access_level": "admin",
"referenced_resource_ids": [
"<string>"
],
"type": "available"
}
],
"others": [
"conversation_initiation_webhook"
],
"tools_has_more": false,
"agents_has_more": false,
"phone_numbers": [
{
"phone_number_id": "<string>",
"phone_number": "<string>",
"label": "<string>",
"provider": "managed_pstn"
}
],
"phone_numbers_has_more": false,
"mcp_servers": [
{
"id": "<string>",
"name": "<string>",
"created_at_unix_secs": 123,
"access_level": "admin",
"type": "available"
}
]
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Headers
Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.