Logs

Get access logs for Application

[!note] Management API endpoints are not meant to be used in real-time integrations that directly serve your end users. Rate limit: 3 requests per second.

Retrieve the list of API calls sent to the specified Application.

get/v1/applications/{applicationId}/access_logs/no_total

Request

Path parameters

applicationIdinteger required

The ID of the Application. It is displayed in your Talon.One deployment URL.

Query parameters

pathstring

Only return results where the request path matches the given regular expression.

method'get' | 'put' | 'post' | 'delete' | 'patch'

Only return results where the request method matches the given regular expression.

status'success' | 'error'

Filter results by HTTP status codes.

rangeStartstring date-time required

Only return results from after this timestamp.

[!note] Note

  • This must be an RFC3339 timestamp string.
  • You can include a time component in your string, for example, T23:59:59 to specify the end of the day. The time zone setting considered is UTC. If you do not include a time component, a default time value of T00:00:00 (midnight) in UTC is considered.
rangeEndstring date-time required

Only return results from before this timestamp.

[!note] Note

  • This must be an RFC3339 timestamp string.
  • You can include a time component in your string, for example, T23:59:59 to specify the end of the day. The time zone setting considered is UTC. If you do not include a time component, a default time value of T00:00:00 (midnight) in UTC is considered.
pageSizeinteger

The number of items in the response.

skipinteger

The number of items to skip when paging through large result sets.

sortstring

The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with -.

Note: You may not be able to use all fields for sorting. This is due to performance limitations.

Response

OK

hasMoreboolean required

Example response

{
  "data": [
    {
      "uuid": "606e7d34-2d36-4d53-ac71-d4442c325985",
      "status": 200,
      "method": "PUT",
      "requestUri": "/v2/customer_sessions/Session136667",
      "time": "2023-01-16T16:00:00.700763Z",
      "requestPayload": "{\n    \"customerSession\": {\n        \"profileId\": \"customer123\",\n        \"state\": \"closed\",\n...\n}",
      "responsePayload": "{\"coupons\":[],\"createdCoupons\":[],...}"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.