The credential proxy's calls made in the current space
Every call the credential proxy (/api/credential-proxy/proxy, and the MCP exchanges of POST /api/integrations/{packageId}/discover) 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 that may have sent a credential, 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, 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 made at or after this instant (ISO 8601 with an offset).
date-timeOnly the calls made at or before this instant (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",
"method": "string",
"host": "string",
"outcome": "string",
"duration_ms": 0,
"request_id": "string"
}
],
"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
}