Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.promptingcompany.com/llms.txt

Use this file to discover all available pages before exploring further.

Audit log

TPC writes an API audit log entry for non-GET requests that return a 2xx response and belong to an organization.

What is logged

Each audit row stores:
FieldDescription
Organization IDThe organization resolved from your credential.
User IDThe human user when the credential has one.
API key IDThe API key ID for API-key callers.
Principal IDService account ID, API key ID, session ID, or user ID.
Route and methodThe endpoint path and HTTP method.
StatusThe response status.
Auth methodsession, bearer, or api_key.
Request IDThe x-request-id response header.
Body hashA SHA-256 hash of the request body.
ExpirationThe retention cutoff for the row.

What is not logged

TPC does not store full request bodies in the audit table. It stores only the request body hash so you can prove which payload was used without copying customer content into the audit trail.

Retention

API audit log rows are retained for 180 days.

Lookup

There is not yet a public audit-log endpoint. To look up a request today, send support the x-request-id, approximate timestamp, and organization slug.