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éthode | Endpoint | Description |
|---|---|---|
| GET | /api-calls/ | List API logs (last 30 days) |
| GET | /api-calls/{id}/ | Retrieve the detail of a call |
Available information
| Field | Description |
|---|---|
| request_id | Unique identifier of the request |
| method | HTTP method (GET, POST, PATCH...) |
| path | API route called |
| status_code | HTTP status code of the response |
| ip_address | IP address of the caller |
| response_time_ms | Processing time in milliseconds |
| api_key_prefix | Prefix of the API key used (sk_prod_xxxx...) |
| created_at | Timestamp of the request |
APICall object
ResponseResponse