Path parameters

  • id string Required

    The unique identifier of the log.

Responses

  • 200 application/json

    Log details.

    Hide response attributes Show response attributes object
    • tenantId string Required

      Maximum length is 21.

    • id string Required

      Minimum length is 1, maximum length is 21.

    • key string Required

      Minimum length is 1, maximum length is 128.

    • payload object Required
      Hide payload attributes Show payload attributes object
      • key string Required
      • result string Required

        Values are Success or Error.

      • error object | string

      • ip string
      • userAgent string
      • userAgentParsed object
        Hide userAgentParsed attributes Show userAgentParsed attributes object
        • ua string
        • browser object
          Hide browser attributes Show browser attributes object
          • name string
          • version string
          • major string
          • type string
        • device object
          Hide device attributes Show device attributes object
          • model string
          • type string
          • vendor string
        • engine object
          Hide engine attributes Show engine attributes object
          • name string
          • version string
        • os object
          Hide os attributes Show os attributes object
          • name string
          • version string
        • cpu object
          Hide cpu attribute Show cpu attribute object
          • architecture string
      • injectedHeaders object
        Hide injectedHeaders attribute Show injectedHeaders attribute object
        • * string Additional properties
      • userId string
      • applicationId string
      • sessionId string
      • params object
    • createdAt number Required
  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Log not found.

GET /api/logs/{id}
curl \
 --request GET 'https://[tenant_id].logto.app/api/logs/{id}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "tenantId": "string",
  "id": "string",
  "key": "string",
  "payload": {
    "key": "string",
    "result": "Success",
    "error": {},
    "ip": "string",
    "userAgent": "string",
    "userAgentParsed": {
      "ua": "string",
      "browser": {
        "name": "string",
        "version": "string",
        "major": "string",
        "type": "string"
      },
      "device": {
        "model": "string",
        "type": "string",
        "vendor": "string"
      },
      "engine": {
        "name": "string",
        "version": "string"
      },
      "os": {
        "name": "string",
        "version": "string"
      },
      "cpu": {
        "architecture": "string"
      }
    },
    "injectedHeaders": {
      "additionalProperty1": "string",
      "additionalProperty2": "string"
    },
    "userId": "string",
    "applicationId": "string",
    "sessionId": "string",
    "params": {}
  },
  "createdAt": 42.0
}