GET api/Logs
Returns all log entries. Only 100 log entries can be returned at a time. The following OData query options are allowed: $filter, $orderby, $select, $skip, $top.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of LogEntry| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The ID of the log entry. |
globally unique identifier |
Required |
| Category |
The category of the log entry. Where: 9 is "ImportContentKeys"; 10 is "ExportContentKeys"; 11 is "AddContentKey"; 12 is "UpdateContentKey"; 13 is "DeleteContentKey"; 14 is "ImportKeySeeds"; 15 is "ExportKeySeeds"; 16 is "AddKeySeed"; 17 is "UpdateKeySeed"; 18 is "DeleteKeySeed". |
byte |
Required |
| Timestamp |
The date when the log entry was added (in the ISO 8601 format). |
date |
Required |
| RequestUrl |
The URL of the request that produced this log entry. |
string |
None. |
| RequestBody |
The body of the request that produced this log entry. |
string |
None. |
| AuthenticationCredentialId |
The ID of the credential that was used for authentication. |
string |
None. |
| AuthenticationType |
The type of authentication that was used. |
string |
None. |
Status Codes
All HTTP status codes must be expected, but the following status codes are the most probable:
- OK (200) - All found log entries are successfully returned.
- BadRequest (400) - The OData query is invalid.
Response Formats
application/json, text/json
[
{
"Id": "3b2c4d14-d1cd-404b-a412-3519980ba94b",
"Category": 64,
"Timestamp": "2026-01-13T13:08:32.4697827+00:00",
"RequestUrl": "sample string 4",
"RequestBody": "sample string 5",
"AuthenticationCredentialId": "sample string 6",
"AuthenticationType": "sample string 7"
},
{
"Id": "3b2c4d14-d1cd-404b-a412-3519980ba94b",
"Category": 64,
"Timestamp": "2026-01-13T13:08:32.4697827+00:00",
"RequestUrl": "sample string 4",
"RequestBody": "sample string 5",
"AuthenticationCredentialId": "sample string 6",
"AuthenticationType": "sample string 7"
}
]