curl --request GET \
--url https://sandbox.circularo.com/api/v2/audit-logs \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.circularo.com/api/v2/audit-logs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.circularo.com/api/v2/audit-logs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.circularo.com/api/v2/audit-logs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.circularo.com/api/v2/audit-logs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.circularo.com/api/v2/audit-logs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/audit-logs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"pagination": {
"limit": 20,
"nextCursor": "9f1c4e2a7b0d83f65a1e94c7d2b8061f3ac59e470b2d8f1a6c3e90b7d45f2a18",
"offset": 0
},
"results": [
{
"activityTarget": "document",
"activityType": "signed",
"actor": {
"email": "jane.doe@example.com",
"fullname": "Jane Doe",
"userId": "jane.doe@example.com"
},
"actorType": "user",
"id": "0e0PfpcBGFrg4D9XeKcl",
"ipAddress": "203.0.113.42",
"kyc": {
"checks": {
"dateOfBirth": true,
"documentNumber": true,
"nationality": true
},
"documentType": "idCard",
"provider": "identomat",
"providers": [
"identomat"
],
"sessionId": "ayldb708wbj457j3a3ucnimt8cl31lizob87qd40"
},
"oauth": {
"checks": {
"email": true,
"emiratesId": true,
"phoneNumber": true
},
"provider": "uaePass",
"providers": [
"uaePass"
]
},
"occurredAt": "2024-11-02T09:15:30.000Z",
"requestId": "3fa85f6457174562b3fc2c963f66afa6",
"shareInitiatedViaApi": true,
"subjectId": "5f8d04b3ab35de3a04fc0e1a",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)",
"viaApi": true
}
],
"total": 42
}{
"status": 400,
"type": "VALIDATION:INPUT_INVALID",
"message": "Invalid input",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 403,
"type": "AUTH:ACCESS_DENIED",
"message": "Access denied",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 429,
"type": "SYSTEM:RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}List audit logs
GET /audit-logs
Lists the actions recorded in your organization. An organization administrator sees every record in the organization; other users see only the records concerning them.
Filter by actor, activity, target entity and time range; every supplied filter must match (filters are combined with AND, while multiple values for the same filter match any of them). Records are ordered by when the action occurred.
Page through results either with an offset for shallow access, or by following the opaque nextCursor returned in the pagination metadata for deep traversal and exports. When you pass a cursor, send it on its own.
Required user rights: view_logs
curl --request GET \
--url https://sandbox.circularo.com/api/v2/audit-logs \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.circularo.com/api/v2/audit-logs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.circularo.com/api/v2/audit-logs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.circularo.com/api/v2/audit-logs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.circularo.com/api/v2/audit-logs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.circularo.com/api/v2/audit-logs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/audit-logs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"pagination": {
"limit": 20,
"nextCursor": "9f1c4e2a7b0d83f65a1e94c7d2b8061f3ac59e470b2d8f1a6c3e90b7d45f2a18",
"offset": 0
},
"results": [
{
"activityTarget": "document",
"activityType": "signed",
"actor": {
"email": "jane.doe@example.com",
"fullname": "Jane Doe",
"userId": "jane.doe@example.com"
},
"actorType": "user",
"id": "0e0PfpcBGFrg4D9XeKcl",
"ipAddress": "203.0.113.42",
"kyc": {
"checks": {
"dateOfBirth": true,
"documentNumber": true,
"nationality": true
},
"documentType": "idCard",
"provider": "identomat",
"providers": [
"identomat"
],
"sessionId": "ayldb708wbj457j3a3ucnimt8cl31lizob87qd40"
},
"oauth": {
"checks": {
"email": true,
"emiratesId": true,
"phoneNumber": true
},
"provider": "uaePass",
"providers": [
"uaePass"
]
},
"occurredAt": "2024-11-02T09:15:30.000Z",
"requestId": "3fa85f6457174562b3fc2c963f66afa6",
"shareInitiatedViaApi": true,
"subjectId": "5f8d04b3ab35de3a04fc0e1a",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)",
"viaApi": true
}
],
"total": 42
}{
"status": 400,
"type": "VALIDATION:INPUT_INVALID",
"message": "Invalid input",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 403,
"type": "AUTH:ACCESS_DENIED",
"message": "Access denied",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 429,
"type": "SYSTEM:RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Authorizations
Query Parameters
Return only records targeting one of these entity kinds.
acl: An access control list entry.api_token: An API key.document: A document.file: A stored file, such as an upload not yet attached to any document.form: A metadata definition.group: A group or an organization.language: A language or its translations.notification: A notification.plan: A subscription plan.right: A permission (right).settings: Settings.stamp: A signature stamp.stripe: A Stripe billing object.subscription: A subscription.template: A template documents are created from.unknown: An unspecified or unrecognized entity.user: A user account.webhook: A webhook subscription.workflow: A workflow.
acl, api_token, document, file, form, group, language, notification, plan, right, settings, stamp, stripe, subscription, template, unknown, user, webhook, workflow Return only records of one of these actions.
alert_sent: An alert notification was sent.annotated: An annotation was added.attachment_replaced: An attachment was replaced.attachment_updated: An attachment was updated.audit_trail_saved: The audit trail was saved.auth_provider_requested: Authentication with an external provider was requested.auth_provider_responded: An external authentication provider responded.cancelled: The entity was cancelled.certificate_added: A certificate was added.certificate_removed: A certificate was removed.cloned: The entity was cloned.content_recognized: Text content was recognized within a document.created: The entity was created.deleted: The entity was deleted.edited: The entity was edited.executed: The entity was executed.expired: The entity expired.exported: The entity was exported into a file.factor_unlock: An additional authentication factor was unlocked.kyc_verification_failed: A recipient's KYC identity verification failed.kyc_verification_succeeded: A recipient successfully passed KYC identity verification.labeled: A label was applied.language_added: A language was added.language_deleted: A language was deleted.language_edited: A language was edited.language_import: Languages were imported.linked: The entity was linked.llm_extracted: A language model was asked to analyze the document on request, such as for its summary, category or tags — recorded whether or not the call succeeded.llm_summarized: A language model was asked for a summary of the document automatically once its text had been extracted - recorded whether or not the call succeeded.llm_terms_detected: A language model was asked to detect the contract term values of a document or an uploaded file, to offer them as suggestions - recorded whether or not the call succeeded.locked: The entity was locked, so that documents can be bound to it.logged: A user signed in.merged: The entity was merged.moved_to_folder: The entity was moved to a folder.owner_changed: Ownership was transferred.owner_contacted: A message was sent to the owner of the entity.password_reset_completed: A password reset was completed.password_reset_requested: A password reset was requested.pdf_preview_updated: Generating the PDF preview of an office file finished or failed.read: The entity was read.reassigned: The entity was reassigned.recovery_used: A recovery code was used.registered: A user registered.rejected: The entity was rejected.reminded: A reminder was sent.renamed: The entity was renamed.renewed: The document expiration date was extended by a contract renewal.reverted: The entity was reverted to a previous state.rights_updated: Permissions were updated.sealed: The document was sealed.send: The entity was sent.shared: The entity was shared.share_auto_delegated: A share was automatically delegated.share_deactivated: A share was deactivated.share_delegated: A share was delegated to another recipient.share_deleted: A share was deleted.share_edited: A share was edited.share_no_longer_needed: A share was marked as no longer needed.share_on_turn: A share became active in its signing turn.share_reassigned: A share was reassigned.share_recipient_changed: A share recipient was changed.share_simple_action: A simple action was performed on a share.share_token_generated_by_sharer: A share access token was generated by the sharer.share_verification_reduced: The expected identity data was dropped from a share's verification when the share was handed over to a new recipient.share_verification_removed: A share's verification was removed because the share was handed over to an internal recipient.signed: The document was signed.starred: The entity was starred.subscription_limits_lock: Something happened around the subscription limits lock of an on-premise installation:generic.statussays whether a lock was set, replaced, its write rejected, or a change refused because of it, andgeneric.errorgives the reason. The lock itself and the limits it holds are never recorded.tags_updated: Tags were updated.template_released: The document was released from the template it was bound to, because that template had been deleted.term_reminder_retargeted: The inactive recipients of a document expiration reminder were replaced by the document owner.term_reminder_sent: A document expiration reminder was sent.thumbnail_updated: A thumbnail was updated.timestamped: A trusted timestamp was added to the document, without a seal certificate.translation_key_bulk: Translation keys were changed in bulk.translation_key_added: A translation key was added.translation_key_deleted: A translation key was deleted.translation_key_edited: A translation key was edited.translation_key_replaced: A translation key was replaced.trashed: The entity was moved to the trash.unlinked: The entity was unlinked.unlocked: The entity was unlocked, so that no further document can be bound to it.unread: The entity was marked as unread.unshared: Users or groups the entity was shared with lost the access to it.unstarred: The entity was unstarred.untrashed: The entity was restored from the trash.used: The entity was used.dss_verified: A signature was verified against a digital signature service.webhook_received: A webhook payload was received.workflow_action_executed: A workflow action was executed.workflow_cancel: A workflow was cancelled.workflow_comment: A comment was added to a workflow.workflow_comment_edited: A comment was edited by its author. The record keeps the text as it stood before the edit.workflow_comment_deleted: A comment was deleted by its author, together with every reply under it. The record keeps the original text of each deleted comment.workflow_comment_reaction_added: A reaction was placed on a comment.workflow_comment_reaction_removed: A reaction was removed from a comment.workflow_comment_reopened: A resolved comment thread was reopened, either by the author of its root comment or by a reply posted to it.workflow_comment_resolved: A comment thread was marked as resolved by the author of its root comment.workflow_reset: A workflow was reset.
alert_sent, annotated, attachment_replaced, attachment_updated, audit_trail_saved, auth_provider_requested, auth_provider_responded, cancelled, certificate_added, certificate_removed, cloned, content_recognized, created, deleted, edited, executed, expired, exported, factor_unlock, kyc_verification_failed, kyc_verification_succeeded, labeled, language_added, language_deleted, language_edited, language_import, linked, llm_extracted, llm_summarized, llm_terms_detected, locked, logged, merged, moved_to_folder, owner_changed, owner_contacted, password_reset_completed, password_reset_requested, pdf_preview_updated, read, reassigned, recovery_used, registered, rejected, reminded, renamed, renewed, reverted, rights_updated, sealed, send, shared, share_auto_delegated, share_deactivated, share_delegated, share_deleted, share_edited, share_no_longer_needed, share_on_turn, share_reassigned, share_recipient_changed, share_simple_action, share_token_generated_by_sharer, share_verification_reduced, share_verification_removed, signed, starred, subscription_limits_lock, tags_updated, template_released, term_reminder_retargeted, term_reminder_sent, thumbnail_updated, timestamped, translation_key_bulk, translation_key_added, translation_key_deleted, translation_key_edited, translation_key_replaced, trashed, unlinked, unlocked, unread, unshared, unstarred, untrashed, used, dss_verified, webhook_received, workflow_action_executed, workflow_cancel, workflow_comment, workflow_comment_edited, workflow_comment_deleted, workflow_comment_reaction_added, workflow_comment_reaction_removed, workflow_comment_reopened, workflow_comment_resolved, workflow_reset Response
Returns the matching audit log records and pagination metadata.
A page of audit log records.