v1
latestOpenAPI 3.0.0Cognigy Proprietary License2026-07-2239524.1 MBGet the Latest Log Entries
Gets the latest 100 log entries in a Project. Uses aggregation to first get the latest rows by _id, then sorts by timestamp. Supports cursor-based pagination using the _id field. If you provide an invalid cursor value, a 400 error will be returned. This endpoint is deprecated, use /v2.1/projects/{projectId}/logs/tail instead.
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.
Response
Returns array of the latest Log Entries
Example response
{
"total": 1
}