---
title: "Report tool calls made on this connection, for the usage and logs on the Developers page."
method: POST
path: "/v1/connections/calls"
tags: ["account"]
---

# Report tool calls made on this connection, for the usage and logs on the Developers page.

`POST /v1/connections/calls`

## Request

- Base URL: `https://api.50heads.com`
- URL: `https://api.50heads.com/v1/connections/calls`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://auth.50heads.com/authorize`, token URL `https://auth.50heads.com/token`; client credentials, token URL `https://auth.50heads.com/token`)

Used by the MCP server. Never send question text; calls are kept 90 days. 400 `no_connection` when the caller has no connection.

## Request body

- ConnectionCallsRequest
  - `calls` object[], required
    - `tool` string, required
    - `questionId` string, nullable
    - `taskId` string, nullable
    - `outcome` 'ok' | 'error', required
    - `code` string, nullable
    - `latencyMs` integer, required
    - `traceId` string, required
    - `region` string, nullable
    - `credits` integer
    - `cacheHit` boolean
  - `host` string
  - `protocolVersion` string
  - `validatesIss` boolean

## Response `200`

OK

- ProjectsDeleteResponse
  - `ok` true, required

## Other responses

- `400`: The request is not valid; `error.details.validation` lists the fixes.
- `401`: No key or token, or it expired or was revoked.
- `403`: The key or token lacks the scope (`insufficient_scope`), or the action is not allowed.
- `429`: Too many requests; wait for Retry-After.

---

[API](https://skmtc.dev/50heads/apis/50heads-api.md) · [All operations](https://skmtc.dev/50heads/apis/50heads-api/llms.txt) · [OpenAPI document](https://skmtc.dev/50heads/apis/50heads-api/revisions/edbfecb1e360?raw)
