mcp_gateway

Read-only trail of proxied tool calls. Project admins see all calls. Members see calls made through their connections, including calls made by agents using connections they shared.

get/api/projects/{project_id}/mcp_gateway/audit/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/mcp_gateway/audit/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Query parameters

actor_service_account_idstring uuid

Only calls made by this service account.

limitinteger

Number of results to return per page.

offsetinteger

The initial index from which to return the results.

quick_filter'all' | 'agents' | 'approvals' | 'blocked'

all, agents (agent calls only), approvals (approved or pending), or blocked.

  • all - all
  • agents - agents
  • approvals - approvals
  • blocked - blocked

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

Changes

No recorded changes to this operation across all 1 revision of this API.