Compliance

List Account messages using the legacy route

Changed on

Deprecated alias for GET /compliance/messages. New integrations must use /compliance/messages with compliance:messages:read.

Existing API keys with audit-logs:read remain valid for this route and /compliance/messages.

get/audit-logs

Request

  • Base URL
    https://api.replit.com/v1
  • Auth
    HTTP bearer

Query parameters

occurredAfterstring date-time

Inclusive UTC RFC 3339 lower bound on returned events' occurredAt, with at most six fractional digits. Required without a cursor.

occurredBeforestring date-time

Exclusive UTC RFC 3339 upper bound on returned events' occurredAt, with at most six fractional digits. Required without a cursor and no more than 24 hours after occurredAfter.

limitinteger

Maximum complete events to return. Defaults to 25.

messageRefstring

Optional opaque message identifier for an exact match. Do not parse or transform this value.

cursorstring

Opaque continuation cursor from the previous response.

Response

Message event list.

Example response

{
  "data": [
    {
      "eventId": "8a4be785-24a8-5f65-b544-a5e5b6b4fb26",
      "observedAt": "2026-08-04T10:00:02Z",
      "occurredAt": "2026-08-04T10:00:00Z",
      "schemaVersion": 1,
      "workspace": {
        "id": "workspace123"
      },
      "project": {
        "id": "project123"
      },
      "sessionId": "session123",
      "messageRef": "message123",
      "promptText": "Summarize the deployment changes in this project."
    }
  ]
}

Changes

    • warning

      added the new usage_breakdown_too_large enum value to the / response property for the response status

    • warning

      added the new usage_breakdown_too_large enum value to the / response property for the response status

    • warning

      added the new usage_breakdown_too_large enum value to the / response property for the response status

    • warning

      added the new usage_breakdown_too_large enum value to the / response property for the response status

    • warning

      added the new usage_breakdown_too_large enum value to the / response property for the response status

    • warning

      added the new usage_breakdown_too_large enum value to the / response property for the response status

    • warning

      added the new usage_breakdown_too_large enum value to the / response property for the response status

    • info

      api operation id listAuditLogs removed and replaced with listAuditLogsLegacy

    • info

      api tag Compliance added

    • info

      api tag Audit Logs removed

    • info

      endpoint deprecated

    • warning

      added the new conflict enum value to the / response property for the response status

    • warning

      added the new conflict enum value to the / response property for the response status

    • warning

      added the new conflict enum value to the / response property for the response status

    • warning

      added the new conflict enum value to the / response property for the response status

    • warning

      added the new conflict enum value to the / response property for the response status

    • warning

      added the new conflict enum value to the / response property for the response status

    • warning

      added the new conflict enum value to the / response property for the response status

    • warning

      added the new precondition_failed enum value to the / response property for the response status

    • warning

      added the new precondition_failed enum value to the / response property for the response status

    • warning

      added the new precondition_failed enum value to the / response property for the response status

    • warning

      added the new precondition_failed enum value to the / response property for the response status

    • warning

      added the new precondition_failed enum value to the / response property for the response status

    • warning

      added the new precondition_failed enum value to the / response property for the response status

    • warning

      added the new precondition_failed enum value to the / response property for the response status

    • warning

      added the new precondition_required enum value to the / response property for the response status

    • warning

      added the new precondition_required enum value to the / response property for the response status

    • warning

      added the new precondition_required enum value to the / response property for the response status

    • warning

      added the new precondition_required enum value to the / response property for the response status

    • warning

      added the new precondition_required enum value to the / response property for the response status

    • warning

      added the new precondition_required enum value to the / response property for the response status

    • warning

      added the new precondition_required enum value to the / response property for the response status

    • warning

      added the new request_already_resolved enum value to the / response property for the response status

    • warning

      added the new request_already_resolved enum value to the / response property for the response status

    • warning

      added the new request_already_resolved enum value to the / response property for the response status

    • warning

      added the new request_already_resolved enum value to the / response property for the response status

    • warning

      added the new request_already_resolved enum value to the / response property for the response status

    • warning

      added the new request_already_resolved enum value to the / response property for the response status

    • warning

      added the new request_already_resolved enum value to the / response property for the response status