Tools
Tool usage
Which agents use a tool.
GET
https://app.elunos.ai/api/v1/spaces/{space}/tools/{tool}/usageReturns the agents that can reach a tool, and whether it applies to the whole agent or only one step in the flow. Before changing or deleting a tool, this shows who is affected.
Path parameters
spacestringPflichtSlug of the space, e.g. `praxis-mueller`. Returned by `GET /spaces`.
tooluuidPflichtID of the tool.
Example
curl https://app.elunos.ai/api/v1/spaces/praxis-mueller/tools/0199a3c4-1f2a-7c55-8e10-6b7d9a3e2f11/usage \
-H "Authorization: Bearer np_xxxxxxxx"Response
{
"data": [
{
"agent_id": "0199a3c2-7d4e-7b21-9f3a-2c5e8d1b4a70",
"agent_name": "Empfang",
"level": "agent",
"node_key": null
},
{
"agent_id": "0199a3d8-4b1c-7e90-a2f3-5d6e7f8a9b0c",
"agent_name": "Terminbuchung",
"level": "node",
"node_key": "agent_booking"
}
]
}level is agent (reachable in every step) or node (only in step node_key).