List
Preview
GET
https://api.senditly.ai/v1/audit_logs
List audit logs
This API is in preview. It may be changed in the future.
List audit logs
cURL
JavaScript
curl -X GET https://api.senditly.ai/v1/audit_logs \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json"try {
const response = await fetch('https://api.senditly.ai/v1/audit_logs', {
method: 'GET',
headers: {
Authorization: 'Bearer <API_KEY>',
},
body: JSON.stringify({ ... request json ... }),
});
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}Headers
+-Hide 1 propertiesShow 1 properties
Authorization
string
required
Bearer authentication of the form "Bearer <API_KEY>", where API_KEY is your api key.
Query
+-Hide 3 propertiesShow 3 properties
limit
integer
optional
A limit on the number of items to return. Defaults to 10. The value must be between 1 and 100.
startingAfter
string
optional
A cursor to start the list from. Defaults to the first item.
endingBefore
string
optional
A cursor to end the list at. Defaults to the last item.
Response
+-Hide 3 propertiesShow 3 properties
items
object[]
required
+-Hide 8 propertiesShow 8 properties
id
string
required
resourceType
string
required
resourceId
string
required
actor
string
required
action
string
required
timestamp
string
required
A date string in ISO 8601 format when the audit log was created.
payload
json
required
ip
string
required
hasMore
boolean
required
Whether there are more items to fetch.
cursor
string
optional
A cursor to start the next list from.
List audit logs
cURL
JavaScript
curl -X GET https://api.senditly.ai/v1/audit_logs \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json"try {
const response = await fetch('https://api.senditly.ai/v1/audit_logs', {
method: 'GET',
headers: {
Authorization: 'Bearer <API_KEY>',
},
body: JSON.stringify({ ... request json ... }),
});
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}Count
Preview
GET
https://api.senditly.ai/v1/audit_logs/count
Count audit logs
This API is in preview. It may be changed in the future.
Count audit logs
cURL
JavaScript
curl -X GET https://api.senditly.ai/v1/audit_logs/count \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json"try {
const response = await fetch('https://api.senditly.ai/v1/audit_logs/count', {
method: 'GET',
headers: {
Authorization: 'Bearer <API_KEY>',
},
body: JSON.stringify({ ... request json ... }),
});
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}Headers
+-Hide 1 propertiesShow 1 properties
Authorization
string
required
Bearer authentication of the form "Bearer <API_KEY>", where API_KEY is your api key.
Query
+-Hide 2 propertiesShow 2 properties
after
string
optional
A cursor to start the count from.
before
string
optional
A cursor to end the count at.
Response
+-Hide 1 propertiesShow 1 properties
count
integer
required
The total number of items.
Count audit logs
cURL
JavaScript
curl -X GET https://api.senditly.ai/v1/audit_logs/count \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json"try {
const response = await fetch('https://api.senditly.ai/v1/audit_logs/count', {
method: 'GET',
headers: {
Authorization: 'Bearer <API_KEY>',
},
body: JSON.stringify({ ... request json ... }),
});
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}© 2025 Unbounded Pioneering株式会社
プライバシーポリシー利用規約スパムメール対策ポリシーデータ処理契約(DPA)情報セキュリティ基本方針サービスレベルアグリーメント(SLA)
Senditly