You are here: Home > API Reference > Platform > Audit > Get list of audit

Get list of audit

Required Permission: base.organization.audit.list

Get list of audit

GET
https://api.applivery.io/v1/organizations/{organizationId}/audit

Request

Send your API key in the request header authorization
Example: Authorization: Bearer <token>

organizationId string
required
Match pattern: ^(([a-fA-F0-9]{24})|([a-zA-Z0-9\\-]{3,}))$

page integer
optional
Sequential page index for navigating large datasets, enabling systematic access to specific record subsets within the total collection.
limit integer
optional
Maximum number of records returned per request to control data density, optimize interface performance, and manage payload size.
sort string
optional
Ordering criteria using a field-to-direction mapping to organize results based on specific attributes like creation date, name, or status.
Match pattern: ^[\w.]*((:asc)|(:desc))?$
dateIni string
optional
dateEnd string
optional
entity string
optional
≤ 128 characters
userId string
optional
≤ 128 characters
userEmail string
optional
≤ 128 characters
action string
optional
≤ 128 characters
entityId string
optional
≤ 128 characters
organization string
optional
Match pattern: ^[a-fA-F0-9]{24}$
showSystem boolean
optional

Responses

200 Response application/json
status boolean required
data object required
items array [object] required
id string optional
≤ 128 characters
organization string optional
Match pattern: ^[a-fA-F0-9]{24}$
organizationInfo object optional
userId string optional
userEmail string optional
action string optional
entity string optional
entityId string optional
pre string optional
post string optional
updatedAt string optional
createdAt string optional
diff array [object] optional
summary object optional
totalDocs integer required
≥ -9007199254740991 · ≤ 9007199254740991
limit integer required
≥ -9007199254740991 · ≤ 9007199254740991
hasPrevPage boolean required
hasNextPage boolean required
page integer required
≥ -9007199254740991 · ≤ 9007199254740991
totalPages integer required
≥ -9007199254740991 · ≤ 9007199254740991
prevPage integer required
≥ -9007199254740991 · ≤ 9007199254740991
nextPage integer required
≥ -9007199254740991 · ≤ 9007199254740991
{
    "status": true,
    "data": {
        "items": [
            {
                "id": "string",
                "organization": "string",
                "organizationInfo": {
                    "id": "string",
                    "name": "string",
                    "slug": "string",
                    "store": {
                        "customDomain": "string"
                    },
                    "branding": {
                        "logo": "string",
                        "picture": "string",
                        "primaryColor": "string"
                    },
                    "configuration": {
                        "storageProvider": "string"
                    },
                    "createdBy": "string"
                },
                "userId": "string",
                "userEmail": "string",
                "action": "string",
                "entity": "string",
                "entityId": "string",
                "pre": "string",
                "post": "string",
                "updatedAt": "string",
                "createdAt": "string",
                "diff": [
                    {
                        "kind": "string",
                        "path": [
                            "string"
                        ],
                        "rhs": "string",
                        "lhs": "string"
                    }
                ],
                "summary": {}
            }
        ],
        "totalDocs": 0,
        "limit": 0,
        "hasPrevPage": true,
        "hasNextPage": true,
        "page": 0,
        "totalPages": 0,
        "prevPage": 0,
        "nextPage": 0
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4004
message string optional
Invalid Token
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
404 Response application/json
status boolean optional
false
error object optional
code number optional
3001
message string optional
Entity not found
{
    "status": false,
    "error": {
        "code": 3001,
        "message": "Entity not found"
    }
}
Was this page helpful?