Contractor
Contractors
Get contractor audit logs
Retrieve a paginated list of audit log entries for this contractor. Only accessible by contractor members. Automatically filtered to show only logs for this contractor.
get/api/contractors/{spectrum_id}/audit-logs
Request
- Base URL: https://api.sc-market.space
- URL: https://api.sc-market.space/api/contractors/{spectrum_id}/audit-logs
- Auth: none required
Path parameters
spectrum_idstring required
Contractor spectrum ID
Query parameters
pageinteger
Page number (1-based)
page_sizeinteger
Number of audit log entries per page
actionstring
Filter by action type (e.g., 'org.archived')
actor_idstring uuid
Filter by actor user ID
start_datestring date-time
Filter logs after this date (ISO 8601 format)
end_datestring date-time
Filter logs before this date (ISO 8601 format)
Response
Audit logs retrieved successfully
Example response
{
"data": {
"items": [
{
"action": "org.archived",
"subject_type": "contractor"
}
]
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.