curl --request GET \
--url https://api.botpress.cloud/v1/admin/workspaces/{id}/audit-records \
--header 'Authorization: Bearer <token>'{
"records": [
{
"id": "<string>",
"recordedAt": "2023-11-07T05:31:56Z",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resourceId": "<string>",
"action": "UNKNOWN",
"userEmail": "<string>",
"resourceName": "<string>",
"value": "<string>"
}
],
"meta": {
"nextToken": "<string>"
}
}Get the audit records of a workspace, sorted from most recent to oldest.
curl --request GET \
--url https://api.botpress.cloud/v1/admin/workspaces/{id}/audit-records \
--header 'Authorization: Bearer <token>'{
"records": [
{
"id": "<string>",
"recordedAt": "2023-11-07T05:31:56Z",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resourceId": "<string>",
"action": "UNKNOWN",
"userEmail": "<string>",
"resourceName": "<string>",
"value": "<string>"
}
],
"meta": {
"nextToken": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Whether the client supports bots with multiple instances of the same integration. Set to "true" to receive integration instances keyed by their alias instead of their id. This header will be removed in the future, and the API will always return multiple instances keyed by alias.
Workspace ID
Provide the meta.nextToken value provided in the last API response to retrieve the next page of results
List of audit records
Show child attributes
UNKNOWN, ADD_WORKSPACE_MEMBER, REMOVE_WORKSPACE_MEMBER, UPDATE_WORKSPACE_MEMBER, CLOSE_WORKSPACE, CREATE_BOT, CREATE_WORKSPACE, DELETE_BOT, DEPLOY_BOT, TRANSFER_BOT, DOWNLOAD_BOT_ARCHIVE, UPDATE_BOT, UPDATE_BOT_CHANNEL, UPDATE_BOT_CONFIG, UPDATE_PAYMENT_METHOD, UPDATE_WORKSPACE, SET_SPENDING_LIMIT, SET_AI_SPENDING_LIMIT, UPDATE_WORKSPACE_BILLING_READONLY, EXECUTE_AUTO_RECHARGE_SUCCESS, EXECUTE_AUTO_RECHARGE_FAILED Was this page helpful?