An event is a record of any activity related to your Scaleway resources, encompassing actions by users, applications, or Scaleway.
List events
Retrieve the list of Audit Trail events for a Scaleway Organization and/or Project. You must specify the organization_id and optionally, the project_id.
path Parameters
regionThe region you want to target
query Parameters
organization_idID of the Organization containing the Audit Trail events.
project_id(Optional) ID of the Project containing the Audit Trail events.
resource_type(Optional) Type of the Scaleway resource.
method_name(Optional) Name of the method of the API call performed.
status(Optional) HTTP status code of the request. Returns either 200 if the request was successful or 403 if the permission was denied.
recorded_after(Optional) The recorded_after parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns one hour ago by default. (RFC 3339 format)
recorded_before(Optional) The recorded_before parameter defines the latest timestamp up to which Audit Trail events are retrieved. Returns now by default. (RFC 3339 format)
order_bypage_sizepage_tokenproduct_name(Optional) Name of the Scaleway product in a hyphenated format.
service_name(Optional) Name of the service of the API call performed.
resource_id(Optional) ID of the Scaleway resource.
principal_id(Optional) ID of the User or IAM application at the origin of the event.
source_ip(Optional) IP address at the origin of the event.
List events › Responses
Single page of events matching the requested criteria.
next_page_tokenPage token to use in following calls to keep listing.
Create an export job
Create an export job for a specified organization. This allows you to export audit trail events to a destination, such as an S3 bucket. The request requires the organization ID, a name for the export, and a destination configuration.
path Parameters
regionThe region you want to target
Create an export job › Request Body
organization_idID of the Organization to target.
nameName of the export.
The configuration specifying the bucket where the audit trail events will be exported.
tagsTags of the export.
Create an export job › Responses
idID of the export job. (UUID format)
organization_idID of the targeted Organization. (UUID format)
nameName of the export job.
Destination in an S3 storage.
created_atExport job creation date. (RFC 3339 format)
last_run_atLast run of export job. (RFC 3339 format)
tagsTags of the export job.
Status of last export job.
Retrieve the list of Scaleway resources for which you have Audit Trail events
path Parameters
regionThe region you want to target
query Parameters
organization_idID of the Organization containing the Audit Trail events.
Retrieve the list of Scaleway resources for which you have Audit Trail events › Responses
List of all products integrated with Audit Trail.
total_countNumber of integrated products.