Chat API
- Introduction
- Endpoints
Admin API
- Getting started
- Concepts
- Endpoints
- GETgetAccount
- PUTupdateAccount
- GETlistPublicIntegrations
- GETgetPublicIntegrationById
- GETgetPublicIntegration
- POSTcreateBot
- GETlistBots
- PUTupdateBot
- GETgetBot
- DELdeleteBot
- GETgetBotLogs
- GETgetBotAnalytics
- GETgetBotIssue
- DELdeleteBotIssue
- GETlistBotIssues
- GETlistBotIssueEvents
- POSTcreateWorkspace
- GETlistWorkspaces
- GETgetPublicWorkspace
- GETgetWorkspace
- PUTupdateWorkspace
- DELdeleteWorkspace
- GETlistPublicWorkspaces
- GETgetAuditRecords
- GETlistWorkspaceMembers
- POSTcreateWorkspaceMember
- GETgetWorkspaceMember
- DELdeleteWorkspaceMember
- PUTupdateWorkspaceMember
- POSTcreateIntegration
- GETlistIntegrations
- POSTvalidateIntegrationCreation
- PUTupdateIntegration
- GETgetIntegration
- DELdeleteIntegration
- PUTvalidateIntegrationUpdate
- GETgetIntegrationLogs
- GETgetIntegrationByName
- GET
Files API
Tables API
- Getting Started
- Endpoints
Runtime API
- Getting Started
- Concepts
- Endpoints
getAuditRecords
Get the audit records of a workspace, sorted from most recent to oldest.
GET
/
v1
/
admin
/
workspaces
/
{id}
/
audit-records
curl --request GET \
--url https://api.botpress.cloud/v1/admin/workspaces/{id}/audit-records
{
"records": [
{
"id": "<string>",
"recordedAt": "2023-11-07T05:31:56Z",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userEmail": "<string>",
"resourceId": "<string>",
"resourceName": "<string>",
"value": "<string>",
"action": "UNKNOWN"
}
],
"meta": {
"nextToken": "<string>"
}
}
Path Parameters
Workspace ID
Query Parameters
Provide the meta.nextToken
value provided in the last API response to retrieve the next page of results
Response
200
application/json
List of audit records
Available options:
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
Was this page helpful?
curl --request GET \
--url https://api.botpress.cloud/v1/admin/workspaces/{id}/audit-records
{
"records": [
{
"id": "<string>",
"recordedAt": "2023-11-07T05:31:56Z",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userEmail": "<string>",
"resourceId": "<string>",
"resourceName": "<string>",
"value": "<string>",
"action": "UNKNOWN"
}
],
"meta": {
"nextToken": "<string>"
}
}