Skip to main content
GET
/
v1
/
tools
/
calls
List recent tool calls
curl --request GET \
  --url https://api.pyai.com/v1/tools/calls \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "id": "<string>",
      "agent_id": "<string>",
      "tool_name": "<string>",
      "ok": true,
      "error": "<string>",
      "latency_ms": 123,
      "call_id": "<string>",
      "ts": 123
    }
  ],
  "has_more": false
}

Authorizations

Authorization
string
header
required

Use Authorization: Bearer pyai_live_... (or pyai_test_...).

Query Parameters

limit
integer
default:50
Required range: x <= 500

Response

Tool calls

object
string
Example:

"list"

data
object[]
has_more
boolean
Example:

false