api_version
string
required

Lago API version used in the request.

Example:

"v1"

client
string
required

The client used to make the request to the API.

Example:

"Lago Ruby v1.26.0"

http_method
enum<string>
required

This field represents the HTTP method of the request.

Available options:
post,
put,
delete
Example:

"post"

http_status
integer
required

This field represents the HTTP status of the requests.

Example:

200

logged_at
string<date-time>
required

The logged date of the api log, presented in the ISO 8601 datetime format, specifically in Coordinated Universal Time (UTC). It provides the precise timestamp of when the event's record was created within the Lago application

Example:

"2025-03-31T12:31:44Z"

request_body
string<object>
required
Example:

"{ \"billable_metric\": { \"name\": \"Storage\", \"code\": \"storage\" } }"

request_origin
string
required

This field represents the API origin of the requested URL

Example:

"https://app.lago.dev/"

request_path
string
required

This field represents the API path of the requested URL

Example:

"/billable_metrics"

created_at
string<date-time>
required

The creation date of the api log record in the Lago application, presented in the ISO 8601 datetime format, specifically in Coordinated Universal Time (UTC). It provides the precise timestamp of when the event's record was created within the Lago application

Example:

"2022-04-29T08:59:51Z"

request_id
string<uuid>
required

Unique identifier for the api log.

Example:

"1a901a90-1a90-1a90-1a90-1a901a901a90"

request_response
string<object>
Example:

"{ \"lago_id\": \"b9155544-e261-4e92-b54e-f65d7609294c\", ... }"