State Transition Logs
State change history and audit trail
Returns a paginated list of state transition logs with comprehensive filtering options.
This endpoint provides audit trail information for all state changes in the system. Logs are automatically created whenever an object (Package, TransferOrder, etc.) transitions from one state to another.
Note: This is a read-only resource. Logs cannot be created, updated, or deleted via the API.
JWT-based authentication required for all endpoints.
Include the token in the Authorization header:
Authorization: Bearer <token>
Response format (json, xml, etc.)
jsonPossible values: Page number for pagination
1Number of items per page
10Sort results by field. Prefix with '-' for descending order.
Available sort fields:
idor-idcreated_dateor-created_datemodified_dateor-modified_date
-idExample: -created_dateFilter by old state ID
1Filter by new state ID
2Filter by old state name (exact match)
WaitingFilter by new state name (exact match)
PreparingFilter by old state enum values (comma-separated list)
100,150Filter by new state enum values (comma-separated list)
200,300Filter by related object ID
123Filter by content type ID
45Filter logs created after this date
2025-12-01T00:00:00ZFilter logs created on or after this date
2025-12-01T00:00:00ZFilter logs created before this date
2025-12-31T23:59:59ZFilter logs created on or before this date
2025-12-31T23:59:59ZFilter logs modified after this date
2025-12-01T00:00:00ZFilter logs modified on or after this date
2025-12-01T00:00:00ZFilter logs modified before this date
2025-12-31T23:59:59ZFilter logs modified on or before this date
2025-12-31T23:59:59ZFilter by ID greater than
1000Filter by ID greater than or equal to
1000Filter by ID less than
5000Filter by ID less than or equal to
5000Successful operation
Bad request - invalid filter parameters
Unauthorized - authentication required
Forbidden - insufficient permissions
Retrieve a specific state transition log entry by its ID.
Returns detailed information about a single state change including the old state, new state, user who triggered the change, and additional metadata in the attributes field.
JWT-based authentication required for all endpoints.
Include the token in the Authorization header:
Authorization: Bearer <token>
Unique identifier of the state transition log
5432Response format (json, xml, etc.)
jsonPossible values: State transition log details
Unauthorized - authentication required
Forbidden - insufficient permissions
State transition log not found
Returns a list of state transition logs with minimal information without nested serializers.
This endpoint is useful for lightweight data retrieval when nested relationship data is not needed. Foreign key fields return only IDs instead of full nested objects, reducing response payload size.
Note: This endpoint does not use pagination by default.
JWT-based authentication required for all endpoints.
Include the token in the Authorization header:
Authorization: Bearer <token>
Response format (json, xml, etc.)
jsonPossible values: Sort results by field. Prefix with '-' for descending order.
Available sort fields:
idor-idcreated_dateor-created_datemodified_dateor-modified_date
-idExample: -created_dateFilter by old state ID
1Filter by new state ID
2Filter by related object ID
123Filter by content type ID
45Filter logs created on or after this date
2025-12-01T00:00:00ZFilter logs created on or before this date
2025-12-31T23:59:59ZSuccessful operation
Bad request - invalid filter parameters
Unauthorized - authentication required
Forbidden - insufficient permissions
Last updated
Was this helpful?

