GET
/
api
/
v1
/
agents
/
{agent_id}
/
tools
/
{tool_id}
/
executions
Get Tool Executions
curl --request GET \
  --url https://agent-studio.thena.ai/api/v1/agents/{agent_id}/tools/{tool_id}/executions \
  --header 'x-api-key: <api-key>'
[
  {
    "agent_tool_id": "123e4567-e89b-12d3-a456-426614174001",
    "duration_ms": 1500,
    "executed_at": "2023-01-01T00:00:00Z",
    "execution_id": "123e4567-e89b-12d3-a456-426614174002",
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "input_parameters": {
      "query": "how to reset password"
    },
    "output_result": {
      "results": [
        "Found 3 articles"
      ]
    },
    "status": "completed"
  }
]

Authorizations

x-api-key
string
header
required

Path Parameters

agent_id
string
required
tool_id
string<uuid>
required

Query Parameters

limit
integer
default:50

Maximum number of executions to return

offset
integer
default:0

Number of executions to skip

status
string

Filter by execution status

Response

200
application/json

Successful Response

The response is of type AgentToolExecution · object[].