List workspace API tools
curl --request GET \
--url https://api.voice-agents.miraiminds.co/v1/admin/tool/api \
--header 'workspace: <workspace>' \
--header 'x-private-key: <api-key>' \
--header 'x-public-key: <api-key>'import requests
url = "https://api.voice-agents.miraiminds.co/v1/admin/tool/api"
headers = {
"x-public-key": "<api-key>",
"x-private-key": "<api-key>",
"workspace": "<workspace>"
}
response = requests.get(url, headers=headers)
print(response.text)const url = 'https://api.voice-agents.miraiminds.co/v1/admin/tool/api';
const options = {
method: 'GET',
headers: {
'x-public-key': '<api-key>',
'x-private-key': '<api-key>',
workspace: '<workspace>'
}
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"message": "API tools retrieved successfully.",
"data": [
{
"_id": "6710a1b2c3d4e5f600000020",
"name": "Check Order Status",
"slug": "check-order-status",
"integration_id": "6710a1b2c3d4e5f600000010",
"workspace": "6690a1b2c3d4e5f600000002",
"isActive": true,
"isPayloadPass": true,
"config": {
"description": "<string>",
"url": "<string>",
"headers": [
{
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"required": [
"<string>"
],
"properties": [
{
"name": "<string>",
"description": "<string>",
"type": "string",
"value": "<unknown>",
"enum": [
"<unknown>"
],
"required": [
"<string>"
],
"properties": "<array>",
"items": "<unknown>"
}
]
}
},
"deletedAt": null,
"createdAt": "2026-06-17T10:00:00.000Z",
"updatedAt": "2026-06-17T10:00:00.000Z"
}
]
}Tools
List workspace API tools
Lists all user-defined API tools owned by the current workspace.
GET
/
v1
/
admin
/
tool
/
api
List workspace API tools
curl --request GET \
--url https://api.voice-agents.miraiminds.co/v1/admin/tool/api \
--header 'workspace: <workspace>' \
--header 'x-private-key: <api-key>' \
--header 'x-public-key: <api-key>'import requests
url = "https://api.voice-agents.miraiminds.co/v1/admin/tool/api"
headers = {
"x-public-key": "<api-key>",
"x-private-key": "<api-key>",
"workspace": "<workspace>"
}
response = requests.get(url, headers=headers)
print(response.text)const url = 'https://api.voice-agents.miraiminds.co/v1/admin/tool/api';
const options = {
method: 'GET',
headers: {
'x-public-key': '<api-key>',
'x-private-key': '<api-key>',
workspace: '<workspace>'
}
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"message": "API tools retrieved successfully.",
"data": [
{
"_id": "6710a1b2c3d4e5f600000020",
"name": "Check Order Status",
"slug": "check-order-status",
"integration_id": "6710a1b2c3d4e5f600000010",
"workspace": "6690a1b2c3d4e5f600000002",
"isActive": true,
"isPayloadPass": true,
"config": {
"description": "<string>",
"url": "<string>",
"headers": [
{
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"required": [
"<string>"
],
"properties": [
{
"name": "<string>",
"description": "<string>",
"type": "string",
"value": "<unknown>",
"enum": [
"<unknown>"
],
"required": [
"<string>"
],
"properties": "<array>",
"items": "<unknown>"
}
]
}
},
"deletedAt": null,
"createdAt": "2026-06-17T10:00:00.000Z",
"updatedAt": "2026-06-17T10:00:00.000Z"
}
]
}⌘I