Model Definitions AuditLog: A record of an API call to one of our documented CRUD endpoints.

Endpoints

GET AuditLogs:

Returns a paginated list of audit logs showing Siro API usage by tokenId.

Query params:

curl "<https://us-central1-siro-prod.cloudfunctions.net/api-externalApi/v1/audit/logs?cursor=$AUDIT_LOG_ID>" \\
-H 'Accept: */*' \\
-H "Authorization: Bearer: $API_TOKEN" \\
-H 'Connection: keep-alive' \\
-H 'Content-Type: application/json'  --compressed

Example Response:

{
  "data": [
    {
      "id": "1719429131200-339a1cd68a0dafcdbcf963ecf197a4d0",
      "organizationId": "WellBeing HVAC Inc.",
      "method": "PUT",
      "body": {
        "addresses": [],
        "name": "Mr. Smith"
      },
      "endpoint": "/v1/integrations/accounts/dan41-o11e-4e01-a562-e2223af2ac9a",
      "tokenId": "bay281-a79e-f615-4e01-b83d-bay281-a79e",
      "ts": 1719429131200
    }
  ],
  "cursor": "1719429131200-339a1cd68a0dafcdbcf963ecf197a4d0"
}