---
title: "List objects"
method: GET
path: "/api/v1/objects"
tags: ["objects"]
---

# List objects

`GET /api/v1/objects`

Lists objects in your environment. You can define a prefix to list a subset of your objects. If you do not set a prefix, Lattice returns all available objects. By default this endpoint will list local objects only.

## Query parameters

- `prefix` string
- `sinceTimestamp` string, date-time
- `pageToken` string, string
- `allObjectsInMesh` boolean
- `maxPageSize` integer

## Headers

- `Authorization` string, required

## Response `200`

Successful operation

- ListResponse
  - `path_metadatas` PathMetadata[], required
    - `content_identifier` ContentIdentifier, required
      - `path` string, required — A valid path must not contain the following: - Spaces or Tabs - Special characters other than underscore (_), dash (-), period (.) and slash (/) - Non-ASCII characters such as accents or symbols Paths must not start with a leading space.
      - `checksum` string, required — The SHA-256 checksum of this object.
    - `size_bytes` integer, required
    - `last_updated_at` string, date-time, required
    - `expiry_time` string, date-time
  - `next_page_token` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized to access resource
- `500` — Internal server error

---

[API](https://skmtc.net/anduril/apis/rest.md) · [All operations](https://skmtc.net/anduril/apis/rest/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anduril/rest/versions/c2a841b48ac6/schema)
