Developers
Retrieve an API request log
Retrieve one request of your integration by the request_id (an opaque req_... string) returned in the X-Request-Id header.
- A request made with a key of another account returns 404.
- Same fields as the listing.
get/companies/{company}/request-logs/{request_id}
Request
- Base URL: https://api.factuarea.com/v1
- URL: https://api.factuarea.com/v1/companies/{company}/request-logs/{request_id}
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Path parameters
companystring uuid required
Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).
request_idstring required
Identifier of the logged request (req_…), as returned in the X-Request-Id header.
Headers
Factuarea-Versionstring date
Example:2026-06-01
Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.
Response
Example response
{
"data": {
"request_id": "req_01JQZP8K4M9N2T5V7X0Y3B6D8F",
"object": "api_request_log",
"api_key_prefix": "01931b3e",
"method": "POST",
"path": "/v1/companies/{company}/invoices",
"status_code": 422,
"duration_ms": 143,
"ip": "203.0.113.24",
"user_agent": "factuarea-cli/0.1.3",
"error_type": "invalid_request_error",
"error_code": "invalid_param_value",
"factuarea_version": "2026-06-01",
"environment": "live",
"created_at": "2026-07-15T09:30:12+00:00",
"company": {
"id": "01931b3e-7c4a-7f2e-9a8b-3c5d6e7f8a01",
"tax_id": "B12345674",
"name": "Acme Soluciones SL"
},
"axis": "company"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.