Factuarea APIDevelopers

List your account API request logs

List the requests made with ANY API key of your account, newest first, in the credential’s environment. - Filters: method, status_range, only_errors, api_key_prefix, path_search, created_at[gte|lte]; cursor is starting_after. - Rows are purged after 30 days.

Needs a credential reaching every tax ID, issued by an owner or admin.

GET
/accounts/{account}/request-logs

Authorization

AuthorizationBearer <token>

Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.

In: header

Path Parameters

account*string

Public identifier (UUID v7) of your account. Get it from GET /v1/me (data.account.id).

Formatuuid

Query Parameters

method[]?array<>

HTTP methods, comma-separated (?method=GET,POST) or repeated: GET, POST, PUT, PATCH or DELETE; any other value returns 422.

Value in"GET" | "POST" | "PUT" | "PATCH" | "DELETE"
status_range[]?array<>

Status code ranges, comma-separated (?status_range=4xx,5xx) or repeated: 2xx, 3xx, 4xx or 5xx; it wins over only_errors=true (shorthand for 4xx,5xx).

Value in"2xx" | "3xx" | "4xx" | "5xx"
only_errors?boolean

Shortcut for status_range=4xx,5xx. An explicit status_range wins over it.

api_key_prefix?string

First characters of the API key identifier that issued the request.

Lengthlength <= 64
path_search?string

Partial, case-insensitive match against the request path.

Lengthlength <= 255
created_at[gte]?string

Inclusive lower bound of created_at (ISO 8601).

Formatdate-time
created_at[lte]?string

Inclusive upper bound of created_at (ISO 8601).

Formatdate-time
relationship?string

Only requests on your own tax IDs (own) or on tax IDs of client accounts (client).

Value in"own" | "client"
company?string

Only requests on one company (its public id), which must be within your account's scope.

Formatuuid
limit?integer

Number of logs to return, between 1 and 100 (default 50).

Default50
Range1 <= value <= 100
starting_after?string

Cursor for forward pagination: the next_cursor of the previous page, an opaque numeric string (not a UUID v7). A malformed cursor returns 400.

Match^[0-9]+$

Headers

Factuarea-Version?string

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.

Formatdate

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json