List Logs

GET /logs

Retrieve a paginated collection of Log records belonging to your Organization

Headers

  • Authorization string Required

    Authorize your API calls with an Arta API token

Query parameters

  • page integer

    Page number of the results to fetch.

    Default value is 1.

  • page_size integer

    Results per page (max 50)

    Default value is 20.

Responses

  • 200 application/json

    A collection of Log records

    Hide headers attributes Show headers attributes
    • content-type string
    • x-arta-request-id string

      A unique identifier for the Arta API call

    Hide response attributes Show response attributes object
    • items array[object]
      Hide items attributes Show items attributes object
      • api_key_id integer(int64)
      • arta_version string
      • created_at string
      • end_at string
      • id integer(int64)
      • method string
      • path string
      • query_params string
      • request_body string
      • request_id string
      • response_body string
      • start_at string
      • status integer(int64)
      • updated_at string
    • metadata object
      Hide metadata attributes Show metadata attributes object
      • page integer(int64)
      • page_size integer(int64)
      • total_count integer(int64)
GET /logs
curl \
 --request GET 'https://api.arta.io/logs' \
 --header "Authorization: ARTA_APIKey s0e1t2e3c4a5s6t7r8o9n10o11m12y"
Response examples (200)
# Headers
content-type: application/json
x-arta-request-id: FkBjuxbwLLTx4RoAARkx

# Payload
{
  "items": [
    {
      "id": 320,
      "path": "/requests",
      "end_at": "2020-10-23T20:34:28.816433",
      "method": "POST",
      "status": 200,
      "start_at": "2020-10-23T20:34:16.928374",
      "api_key_id": 1,
      "created_at": "2020-10-23T20:34:29.066599",
      "request_id": "FkC5WHWtbZuuUtcAArFx",
      "updated_at": "2020-10-23T20:34:29.066599",
      "arta_version": "2020-10-22",
      "query_params": "{}",
      "request_body": "",
      "response_body": ""
    }
  ],
  "metadata": {
    "page": 1,
    "page_size": 20,
    "total_count": 1
  }
}