---
title: "Get Logs Latest Timestamp"
method: GET
path: "/v0/logs/latest_timestamp"
tags: ["Logs"]
---

# Get Logs Latest Timestamp

`GET /v0/logs/latest_timestamp`

Returns the update timestamp of the most recently updated log within the specified
page and filter bounds.

## Query parameters

- `project_name` string, required — Name of the project to get entries from.
- `column_context` string, nullable — The context (prepending '/' seperated field names) from which to retrieve the logs.
- `context` string, nullable — Static context to filter logs by.
- `filter_expr` string, nullable — Boolean string to filter entries.
- `sorting` string, nullable — Dict with fields as keys and either 'ascending' or 'descending' as values. The first entry in the dict is the last field to be sorted by, which takes ultimate precedent, with other keys only remaining in order when the first key values are equal.
- `from_ids` string, nullable — The log ids which are permitted to be included in the search. Each log id listed does not need to be returned, but no logs which are not included in this list can be returned. This argument *cannot* be set if `exclude_ids` is set.
- `exclude_ids` string, nullable — The log ids which cannot be returned from the search. None of the listed ids will be returned, even if the logs are valid as per the filtering expression etc. This argument *cannot* be set if `from_ids` is set.
- `from_fields` string, nullable — The fields which are permitted to be included in the search. Each field listed does not need to be returned, but no fields which are not included in this list can be returned. This argument *cannot* be set if `exclude_fields` is set.
- `exclude_fields` string, nullable — The fields which cannot be returned from the search. None of the listed fields will be returned, even if the fields are valid as per the filtering expression etc. This argument *cannot* be set if `from_fields` is set.
- `limit` integer, nullable
- `offset` integer
- `randomize` boolean — If true, return logs in a deterministic random order (fixed seed) instead of newest-first.

## Response `200`

Successful Response

- unknown

## Other responses

- `404` — Project Not Found
- `422` — Validation Error

---

[API](https://skmtc.net/unify/apis/unifyai-http-api-reference.md) · [All operations](https://skmtc.net/unify/apis/unifyai-http-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unify/unifyai-http-api-reference/revisions/900377f918b6/schema)
