---
title: "List objects"
method: GET
path: "/bus/objects/{prefix}"
tags: ["bus"]
---

# List objects

`GET /bus/objects/{prefix}`

Lists objects with the specified prefix.

## Path parameters

- `prefix` string, required

## Query parameters

- `bucket` string, required — The name of the bucket.
- `delimiter` string — Path delimiter ("/" or empty)
- `limit` integer — Maximum number of objects to return
- `marker` string — Key to start listing from
- `sortby` string — Field to sort results by
- `sortdir` string — Sort direction (asc/desc)
- `substring` string — Filter objects by substring
- `slabencryptionkey` string — Encryption key for slabs

## Response `200`

Successfully listed objects

- object
  - `objects` Object[]
    - `metadata` ObjectUserMetadata — User-defined metadata about an object provided through X-Sia-Meta- headers
    - `bucket` string — The name of the bucket.
    - `etag` string — The ETag of the object
    - `health` number, float — The health of the object
    - `modTime` string, date-time — When the object was last modified
    - `key` string — The key of the object
    - `size` integer — The size of the object in bytes
    - `mimeType` string — The MIME type of the object
    - `encryptionKey` string — A key used to encrypt and decrypt data. The key is either a regular key (key) or a salted key (skey). The latter requires a seed to be used for encryption and decryption.
    - `slabs` SlabSlice[]
      - `slab` Slab — A slab of data to migrate
        - `health` number, float
        - `encryptionKey` string — The encryption key used to encrypt the slab's shards
        - `minShards` integer — The number of data shards the slab is split into
      - `offset` integer
      - `limit` integer
  - `hasMore` boolean — Whether there are more objects to fetch

## Other responses

- `400` — Malformed request
- `500` — Internal server error

---

[API](https://skmtc.net/siafoundation/apis/renterd-api.md) · [All operations](https://skmtc.net/siafoundation/apis/renterd-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/siafoundation/renterd-api/versions/184a3d5207da/schema)
