Get a Log

GET /logs/{log_id}

Retrieve an existing Log record

Headers

  • Authorization string Required

    Authorize your API calls with an Arta API token

Path parameters

  • log_id integer Required

    log_id parameter

Responses

GET /logs/{log_id}
curl \
 -X GET https://api.arta.io/logs/{log_id} \
 -H "Authorization: ARTA_APIKey s0e1t2e3c4a5s6t7r8o9n10o11m12y"
Response examples (200)
{
  "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": ""
}
Response examples (404)
# Headers
content-type: application/json
x-arta-request-id: FkBjuxbwLLTx4RoAARkx

# Payload
{
  "errors": {
    "detail": "string"
  }
}