v1
latestOpenAPI 3.0.0Cognigy Proprietary License2026-07-2239524.1 MBGet the Latest Log Entries
Gets the latest 100 log entries in a Project. Results are sorted descending by timestamp and _id. Supports cursor-based pagination via opaque base64url tokens returned in nextCursor and previousCursor. The total field is always -1 because counting rows in this collection is intentionally skipped for performance reasons. If you provide an invalid cursor value, a 400 error will be returned. When the request header x-cognigy-log-model-version is set to v2, the response items use the V2 shape with a nested metadata object instead of a top-level type field.
Path parameters
The unique identifier for the Project.
Query parameters
The cursor that points to the next page of results. Use the nextCursor value returned in a previous response to request the next set of items.
The cursor that points to the previous page of results. Use the previousCursor value returned in a previous response to request the previous set of items.
Headers
The Accept header specifies the media type that the client expects in the response. Available options: application/json, application/hal+json, application/xml, text/xml, text/csv. The default value is application/json.
When set to "v2", response items include the full V2 model with a nested metadata object containing organizationId, projectId, and type.
Response
Returns array of the latest Log Entries
Example response
{
"total": 1
}