ChatGPT Enterprise

Download 0
Last updated Sep 25, 2026

ChatGPT Enterprise Log Files

Retrieve the compliance log file listing from the ChatGPT Enterprise service without downloading the files, to see how much data a period holds before reading it.

chatgpt-ent-log-files [profile=VALUE] [duration=VALUE] [from=VALUE] [to=VALUE] [event-type=VALUE]
profile=VALUE
Optional. Profile name of the ChatGPT Enterprise workspace.
duration=VALUE
Optional. Scan only recent data. You should use s(second), m(minute), h(hour), d(day), mon(month) time unit. For example, 10s means data from 10 seconds earlier. The API requires a start time, so the last 24 hours are used when no period is given.
from=VALUE
Optional. Start time of range. yyyyMMddHHmmss format. If you omit time part, it will be padded by zero.
to=VALUE
Optional. End time of range. yyyyMMddHHmmss format. If you omit time part, it will be padded by zero.
event-type=VALUE
Optional. e.g. CONVERSATION_MESSAGE, AUDIT_LOG, AUTH_LOG, APP_AUTH_LOG, APP_LOG, CODEX_LOG, CODEX_SECURITY_LOG. All seven are listed when omitted.

Output fields

FieldTypeNameDescription
_timeDateEnd timee.g. 2026-09-03 13:16:41. When the file was closed; its records end at this point.
profileStringConnect profilee.g. workspace-prod
event_typeStringEvent typee.g. AUTH_LOG. Each file holds one type only.
file_nameStringFile namee.g. AUTH_LOG_2026-09-03T04:16:41.393331+00:00.jsonl
file_sizeLongFile sizee.g. 650. Bytes, so the cost of reading a period can be summed before reading it.
file_idStringFile IDe.g. eclf_0a1b2c3d4e5f60718293a4b5c6d7e8f9
file_sha256StringFile checksume.g. 0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f9