The credential proxy's calls made in the current space
Every call the credential proxy (/api/credential-proxy/proxy, /api/credential-proxy/tools and /tools/call, and the MCP exchanges of POST /api/integrations/{packageId}/discover), and every direct MCP operation toward an unauthenticated integration's server, made in the current space, whatever the connection and whoever owns it: who used which connection, against which host, with what outcome. One row per call or MCP operation dispatched to an upstream (and so may have reached it), with or without a credential (connection_id null when the integration binds no connection), successful or not. Requires integrations:configure, the permission that governs which credential the space resolves to; it is session-only, so no API key reads this journal. Calls made in another space are never listed, including those made with a connection shared into both. Newest first by id, the order rows were recorded in (a run's sidecar reports its calls in batches, so it can differ slightly from called_at), keyset-paginated on id: the Link header names the next page. An unknown query parameter is a 400, never an ignored filter. Rate-limited to 60/min.
/api/integrations/callsCookie session from Better Auth. Requires X-Org-Id header for org-scoped routes.
In: cookie
Query Parameters
Only the calls made with this connection.
uuidOnly the calls this principal made.
Only the calls that declared this run.
Only the calls recorded at or after this instant (createdAt; ISO 8601 with an offset).
date-timeOnly the calls recorded at or before this instant (createdAt; ISO 8601 with an offset).
date-time501 <= value <= 200Cursor: the id of the last call of the previous page. Follow the RFC 5988 Link: <…>; rel="next" response header instead of building it by hand.
^[1-9][0-9]{0,14}$Header Parameters
Organization ID. Required for cookie auth. Not needed for API key auth (org resolved from key).
uuidSpace ID. Required for space-scoped routes (agents, runs, schedules, and space-scoped module routes). Not needed for API key auth (space resolved from key).
curl -X GET "https://your-instance/api/integrations/calls"{
"object": "list",
"data": [
{
"id": 0,
"createdAt": "2019-08-24T14:15:22Z",
"spaceId": "string",
"connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",
"integration_package_id": "string",
"owner_type": "user",
"owner_id": "string",
"actor_type": "user",
"actor_id": "string",
"apiKeyId": "string",
"auth_method": "string",
"runId": "string",
"chat_session_id": "string",
"method": "string",
"host": "string",
"outcome": "string",
"duration_ms": 0,
"request_id": "string",
"called_at": "2019-08-24T14:15:22Z",
"call_id": "0d0a16ab-a508-4d58-bf24-5dc3cb248f3e"
}
],
"hasMore": true
}{
"type": "https://docs.appstrate.dev/errors/validation-failed",
"title": "Validation Failed",
"status": 400,
"detail": "name: Invalid input: expected string, received undefined (+2 more)",
"code": "validation_failed",
"request_id": "req_abc123",
"errors": [
{
"field": "name",
"code": "required",
"message": "Invalid input: expected string, received undefined"
},
{
"field": "email",
"code": "invalid_format",
"message": "Invalid email address"
},
{
"field": "age",
"code": "invalid_type",
"message": "Invalid input: expected number, received string"
}
]
}{
"type": "https://docs.appstrate.dev/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "Invalid or missing session",
"code": "unauthorized",
"request_id": "req_abc123"
}{
"type": "https://docs.appstrate.dev/errors/forbidden",
"title": "Forbidden",
"status": 403,
"detail": "Insufficient permissions",
"code": "forbidden",
"request_id": "req_abc123"
}{
"type": "https://docs.appstrate.dev/errors/rate-limited",
"title": "Rate Limited",
"status": 429,
"detail": "Too many requests. Please try again shortly.",
"code": "rate_limited",
"request_id": "req_abc123",
"retry_after": 30
}