Auth0 · Schema

Log

AI AgentsAuthenticationAuthorizationFGAIdentity ManagementMCPOAuthOktaOpenID ConnectSAMLSecuritySCIM

Properties

Name Type Description
date object
type string Type of event.
description stringnull Description of this event.
connection string Name of the connection the event relates to.
connection_id string ID of the connection the event relates to.
client_id string ID of the client (application).
client_name string Name of the client (application).
ip string IP address of the log event source.
hostname string Hostname the event applies to.
user_id string ID of the user involved in the event.
user_name string Name of the user involved in the event.
audience string API audience the event applies to.
scope string Scope permissions applied to the event.
strategy string Name of the strategy involved in the event.
strategy_type string Type of strategy involved in the event.
log_id string Unique ID of the event.
isMobile boolean Whether the client was a mobile device (true) or desktop/laptop/server (false).
details object
user_agent string User agent string from the client device that caused the event.
security_context object
location_info object
View JSON Schema on GitHub

JSON Schema

auth0-log-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Log",
  "title": "Log",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "date": {
      "$ref": "#/components/schemas/LogDate"
    },
    "type": {
      "type": "string",
      "description": "Type of event.",
      "default": "sapi"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Description of this event."
    },
    "connection": {
      "type": "string",
      "description": "Name of the connection the event relates to."
    },
    "connection_id": {
      "type": "string",
      "description": "ID of the connection the event relates to."
    },
    "client_id": {
      "type": "string",
      "description": "ID of the client (application).",
      "default": "AaiyAPdpYdesoKnqjj8HJqRn4T5titww"
    },
    "client_name": {
      "type": "string",
      "description": "Name of the client (application).",
      "default": "My application Name"
    },
    "ip": {
      "type": "string",
      "description": "IP address of the log event source.",
      "default": "190.257.209.19"
    },
    "hostname": {
      "type": "string",
      "description": "Hostname the event applies to.",
      "default": "190.257.209.19"
    },
    "user_id": {
      "type": "string",
      "description": "ID of the user involved in the event.",
      "default": "auth0|56c75c4e42b6359e98374bc2"
    },
    "user_name": {
      "type": "string",
      "description": "Name of the user involved in the event."
    },
    "audience": {
      "type": "string",
      "description": "API audience the event applies to."
    },
    "scope": {
      "type": "string",
      "description": "Scope permissions applied to the event.",
      "default": ""
    },
    "strategy": {
      "type": "string",
      "description": "Name of the strategy involved in the event."
    },
    "strategy_type": {
      "type": "string",
      "description": "Type of strategy involved in the event."
    },
    "log_id": {
      "type": "string",
      "description": "Unique ID of the event."
    },
    "isMobile": {
      "type": "boolean",
      "description": "Whether the client was a mobile device (true) or desktop/laptop/server (false)."
    },
    "details": {
      "$ref": "#/components/schemas/LogDetails"
    },
    "user_agent": {
      "type": "string",
      "description": "User agent string from the client device that caused the event."
    },
    "security_context": {
      "$ref": "#/components/schemas/LogSecurityContext"
    },
    "location_info": {
      "$ref": "#/components/schemas/LogLocationInfo"
    }
  }
}