# Tools and custom APIs the agent invoked

> GET /calls/{id}/functions. HeyRik API parameters and documented request and response examples.

Source: https://www.heyrik.com/docs/api-reference/calls/get-calls-id-functions-tools-and-custom-apis-the-agent-invoked

GET https://server.heyrik.com/api/v1/calls/{id}/functions

## Path parameters

- id (required): Replace {id} in the request URL with the value for this resource.

## Headers

Authorization: Bearer $HEYRIK_API_KEY (required). Keep your key on your server.

## Notes

Exactly what the agent called mid-conversation and what came back — the first place to look when an integration misbehaves.

## Request example

```sh
curl https://server.heyrik.com/api/v1/calls/call_1dd990f7/functions \
  -H "Authorization: Bearer $HEYRIK_API_KEY"
```

## Response example

```json
{
  "data": [
    {
      "name": "check_order_status",
      "arguments": { "order_id": "AC-8842" },
      "result": { "status": "dispatched" },
      "ts": "2026-07-22T15:06:02.400Z"
    }
  ]
}
```
