Skip to content

APICalls

The APICall object represents an HTTP request made to the Sangho API. These logs are available read-only for auditing and debugging.

Endpoints

MéthodeEndpointDescription
GET/api-calls/List API logs (last 30 days)
GET/api-calls/{id}/Retrieve the detail of a call

Available information

FieldDescription
request_idUnique identifier of the request
methodHTTP method (GET, POST, PATCH...)
pathAPI route called
status_codeHTTP status code of the response
ip_addressIP address of the caller
response_time_msProcessing time in milliseconds
api_key_prefixPrefix of the API key used (sk_prod_xxxx...)
created_atTimestamp of the request

APICall object

ResponseResponse
json
{
  "id": "call_xxxxxxxxxxxx",
  "object": "api_call",
  "request_id": "req_xxxxxxxxxxxx",
  "method": "POST",
  "path": "/v1/payment-intents/",
  "status_code": 201,
  "ip_address": "196.200.1.42",
  "response_time_ms": 187,
  "api_key_prefix": "sk_prod_xxxx...",
  "created_at": "2026-03-01T10:00:00Z"
}