{
  "opencollection": "1.0.0",
  "info": {
    "name": "LaserData Cloud Account Audit API",
    "version": "0.0.66"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "ld-api-key",
      "value": "{{ld-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Audit",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Query tenant audit log",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.laserdata.cloud/audit/tenants/:tenant_id",
            "params": [
              {
                "name": "tenant_id",
                "value": "",
                "type": "path",
                "description": "Tenant identifier"
              },
              {
                "name": "page",
                "value": "1",
                "type": "query"
              },
              {
                "name": "results",
                "value": "10",
                "type": "query"
              },
              {
                "name": "from",
                "value": "2026-05-20T10:00:00Z",
                "type": "query",
                "description": "Inclusive lower bound (RFC 3339 UTC)."
              },
              {
                "name": "to",
                "value": "2026-05-20T10:00:00Z",
                "type": "query",
                "description": "Exclusive upper bound (RFC 3339 UTC)."
              },
              {
                "name": "division",
                "value": "",
                "type": "query"
              },
              {
                "name": "environment",
                "value": "",
                "type": "query"
              },
              {
                "name": "deployment",
                "value": "",
                "type": "query"
              },
              {
                "name": "user",
                "value": "",
                "type": "query"
              },
              {
                "name": "author",
                "value": "",
                "type": "query"
              },
              {
                "name": "api_key",
                "value": "",
                "type": "query"
              },
              {
                "name": "types",
                "value": "",
                "type": "query"
              },
              {
                "name": "correlation_id",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the immutable, append-only audit log for a tenant. Every Console action and API call recorded against the tenant is captured. Supports pagination plus filtering by event type, date range, division, environment, deployment, user (subject), author (acting user), api_key, and correlation_id. Required permission: `audit:read`."
        },
        {
          "info": {
            "name": "List audit event types",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.laserdata.cloud/audit/types"
          },
          "docs": "Returns the complete catalogue of audit event type identifiers that can appear in `/audit/tenants/{tenant_id}` results. Use to populate event-type filters in UIs or to enumerate the discriminators an agent should branch on when parsing the audit stream. Each entry is `{type: <slug>, name: <human label>}` (e.g. `deployment_created`, `member_invited`, `access_rule_added`)."
        },
        {
          "info": {
            "name": "List my activity",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.laserdata.cloud/audit/users/activity",
            "params": [
              {
                "name": "page",
                "value": "1",
                "type": "query"
              },
              {
                "name": "results",
                "value": "10",
                "type": "query"
              },
              {
                "name": "from",
                "value": "2026-05-20T10:00:00Z",
                "type": "query",
                "description": "Inclusive lower bound (RFC 3339 UTC)."
              },
              {
                "name": "to",
                "value": "2026-05-20T10:00:00Z",
                "type": "query",
                "description": "Exclusive upper bound (RFC 3339 UTC)."
              },
              {
                "name": "types",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "session",
              "value": "{{session}}",
              "placement": "query"
            }
          },
          "docs": "Returns the calling user's recent activity across all tenants the user is a member of: signed-in actions, API key calls they own, sessions, role changes. Use to populate a personal audit timeline in the Console. Session-only: API keys are tenant-scoped and cannot list user activity."
        }
      ]
    }
  ],
  "bundled": true
}