---
updatedAt: 2026-07-01T13:37:56.000Z
agentTools:
  projectIndex: https://docs.checkhq.com/llms.txt
---

# Get a log

Returns the specified API request log.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "check-api",
    "version": "2025-01-01"
  },
  "servers": [
    {
      "url": "https://sandbox.checkhq.com"
    }
  ],
  "components": {
    "schemas": {
      "Log": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "log_abc123"
          },
          "ip_address": {
            "type": "string",
            "example": "192.168.1.1"
          },
          "path": {
            "type": "string",
            "example": "/employees"
          },
          "method": {
            "type": "string",
            "example": "POST"
          },
          "idempotency_key": {
            "type": "string",
            "nullable": true,
            "example": "idem-123"
          },
          "headers": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "string"
            }
          },
          "response_headers": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "string"
            }
          },
          "query_params": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "string"
            }
          },
          "status_code": {
            "type": "integer",
            "example": 201
          },
          "processing_duration": {
            "type": "integer",
            "example": 42
          },
          "created_at": {
            "type": "string",
            "example": "2026-04-22T12:00:00+00:00"
          },
          "request_body": {
            "nullable": true
          },
          "response_body": {
            "nullable": true
          }
        }
      }
    },
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer",
        "x-default": "YOUR_API_KEY"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/logs/{log}": {
      "get": {
        "summary": "Get a log",
        "description": "Returns the specified API request log.",
        "operationId": "get-a-log",
        "parameters": [
          {
            "name": "log",
            "in": "path",
            "description": "ID of the log to return.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"id\": \"log_abc123\",\n  \"ip_address\": \"192.168.1.1\",\n  \"path\": \"/employees\",\n  \"method\": \"POST\",\n  \"idempotency_key\": null,\n  \"headers\": {\n    \"Content-Type\": \"application/json\"\n  },\n  \"response_headers\": null,\n  \"query_params\": null,\n  \"status_code\": 201,\n  \"processing_duration\": 42,\n  \"created_at\": \"2026-04-22T12:00:00+00:00\",\n  \"request_body\": null,\n  \"response_body\": {\n    \"id\": \"emp_1\"\n  }\n}"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Log"
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```