Export a ChatGPT Work audit log with an open-source trail
ChatGPT Business has no export for team activity. Enterprise gives you a collector script that you schedule and retain yourself. Kortix is the open-source CompanyOS, and its audit log writes one row per request, naming the person the agent acted for, which is why Kortix is my pick, and I work on Kortix's marketing team, so weigh that accordingly.
Audit export across three plans
OpenAI's description of its own plans beside Kortix's audit documentation, October 2026.
| Criterion | recommendedKortix | ChatGPT Business | ChatGPT Enterprise |
|---|---|---|---|
| Audit export | API export, CSV or JSONL | None | Script downloads JSONL log files |
| Record types | Every API request, plus events outside one | None | conversation_message and codex_log |
| Retention | 90 days live, archive to 365 days | No export to retain | 30 days in the platform |
| Who runs collection | Your instance, or a webhook you add | Nobody, there is no file | You, on a schedule you keep |
| Open source | Yes | No | No |
The export a compliance lead can run
The audit log records who did what in the account, when, how they signed in, and whether it was allowed. Recording is always on, and refused requests are recorded too. When an agent acts, the log also names the person it acted for. The log never stores a key.Owners and admins read the log under Account settings → Audit log. Events stay readable there for 90 days. Events from 90 to 365 days old stay in a locked archive that nobody can shorten or delete, and you can export them. You can also stream every new event to your own security tools.Reading, exporting and streaming the log are Enterprise features.From the Kortix guide: 90 days readable, 90 to 365 days in a locked archive you can export, and every new event streamed to your own security tools.
Why the export question is really a plan question
An audit export is a record of what people did in a workspace: one line per action with a time, an actor and an outcome. Getting one out of ChatGPT depends on the plan that holds the workspace. Business has nothing at the account level. Enterprise has a collection interface that produces files only while somebody runs it.
That is why "we have logs" is a weak answer in a security review: the sentence describes a job with a schedule and an owner, and an examiner asking for last quarter is asking whether that job ran.
What a Business workspace can and cannot produce
OpenAI's export article is explicit about the boundary. Personal-account exports cover Free, Go, Plus, Pro and eligible Edu workspaces, and the same list says "Not available for ChatGPT Business, Enterprise, or ChatGPT for Healthcare workspaces" (OpenAI Help Center). A Business member is sent to the workspace owner for "organization-managed data access".
A personal export does not fill the gap: a ZIP of one person's chat history that can take 7 days to arrive, whose link expires 24 hours after it arrives, and which never covers a colleague's work.
What Enterprise gives you, and the job it leaves behind
Enterprise and Edu workspaces get the Compliance Platform, which OpenAI describes as access to logs and metadata you connect to your eDiscovery, DLP or SIEM tools (OpenAI Help Center). Supported Work records arrive through the Compliance API as conversation_message and codex_log (ChatGPT Learn).
What arrives is a downloader. OpenAI publishes a Bash and a PowerShell script that "list and download every available log file after a given timestamp, follow pagination, and write JSONL to standard output", with COMPLIANCE_API_KEY and an ISO 8601 start time as the inputs.
Three jobs stay with you. Scheduling comes first, because the Compliance Logs Platform keeps 30 days and longer retention means downloading continuously. The policy is the second: "Don't assume the source retention window replaces your organization's retention policy." The third is interpretation, since a JSONL file does not answer "what did this person do" until somebody joins the records to your directory.
OpenAI documents a gap of its own: for local computer access, its event sources "do not establish a complete record of every local command, file operation, screenshot, approval, or external action".
What an open-source stack does differently
Kortix is the open-source CompanyOS, and its audit log records requests rather than conversation events. The rule is one row for every request that reaches the API, refused requests included, written with outcome: denied. A row carries an action such as iam.group.create, the actor type (human, agent, service_account, system or anonymous), the credential kind the server authenticated, and the outcome.
The row that matters in an investigation is the one an agent produces. An agent's row also names the person the agent acted for, in on_behalf_of_user_id, and Kortix derives the caller from what it authenticated rather than from a header.
Retention is a printed range. Events from the last 90 days sit in the database, readable in the web app, CLI, API, webhooks and export. From 90 to 365 days they move to a locked archive nobody can shorten or delete, export only. Past that they are gone.
Collection is a call you can make in the review meeting. The API’s audit.export returns the same events as a file, in csv or jsonl, and audit.webhooks streams every new event, signed, to an endpoint you name (the API reference). Reading, exporting and streaming the log is an Enterprise feature.
Two limits belong beside that. The log describes what reaches the API, not the inside of a shell command, and it covers Kortix sessions and agent actions rather than work in another vendor's product.
Every action is recorded. Per-resource permissions for people and agents. Roles, groups, and an audit trail. Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-host is free. Open source. Read it, fork it, audit it.
What to ask before the audit is due
Ask which plan holds the workspace, because that answer decides whether an export exists. Ask whether the contract includes Compliance API access and who can create the admin key, and who runs collection when a run fails quietly for a week.
Then ask where the records end up. A collector that writes to an engineer's laptop is not retention, and a 30-day window closes long before a quarterly review. Ask for last month's export with one replayed task against it.
Questions an examiner asks first
- Can you export ChatGPT Business conversations?
No. OpenAI lists ChatGPT Business as not available for self-service export and sends workspace owners to organization-managed data access instead.
- What is the ChatGPT Compliance API?
It is OpenAI's read interface for Enterprise and Edu workspace logs, returning append-only events for a SIEM, DLP or eDiscovery tool. Access needs an admin key with the right permissions.
- How long does OpenAI keep audit logs?
The Compliance Logs Platform keeps 30 days, and OpenAI tells customers to download continuously for longer retention. Its separate 30-day figure covers data after a deletion request, which is not a general retention promise.
- Can you export ChatGPT Work activity?
Yes, through the Compliance API on an Enterprise workspace, and not on Business. You get a log stream that a script collects, rather than a file handed over.
Keep the audit trail in a system you control
Filtered export, a signed webhook and a defined retention range, in a stack you can read.
Open source · Any model, your keys · Self-host, VPC, or on-prem