Mixedbread

List Store Chunks

POST/v1/stores/list-chunks

AuthorizationLink to section

Authorizationstringrequired

Bearer token for API authentication. Format: `Bearer YOUR_API_KEY`

Request BodyLink to section

store_identifiersarrayrequired

IDs or names of stores to list chunks from.

top_kintegerdefault: 10

Number of chunks to return. Raise this to retrieve more chunks; this endpoint does not support pagination.

Constraints

Minimum: 1
file_idsarray | null

Optional file IDs to filter. Use list only for inclusion or specify an operator (`in` or `not_in`). Example: ["file_id_1", "file_id_2"] or ["not_in", ["file_id_1", "file_id_2"]].

sort_bystring | array | null

Optional sort applied to the returned chunks. Pass a metadata field path or a tuple of (field path, ascending). Unprefixed dot paths target file metadata; `generated_metadata.*` targets chunk metadata.

Response BodyLink to section

objectstringdefault: list

The object type of the response

Request
POST/v1/stores/list-chunks
from mixedbread import Mixedbread

mxbai = Mixedbread(api_key="YOUR_API_KEY")

response = mxbai.stores.list_chunks(
    store_identifiers=["my-knowledge-base"],
    top_k=10,
)

for chunk in response.data:
    print(chunk)
Response
JSON
{
  "object": "list",
  "data": [
    {
      "chunk_index": 0,
      "mime_type": "text/plain",
      "model": "mxbai-omni",
      "score": 1,
      "file_id": "{{FILE_ID}}",
      "filename": "pricing.csv",
      "store_id": "c3d4e5f6-a7b8-9012-cdef-345678901234",
      "metadata": {
        "category": "pricing",
        "currency": "USD"
      },
      "type": "text",
      "text": "Premium plan: $99/month, includes unlimited search across all stores."
    },
    {
      "chunk_index": 3,
      "mime_type": "text/plain",
      "model": "mxbai-omni",
      "score": 1,
      "file_id": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
      "filename": "pricing.csv",
      "store_id": "c3d4e5f6-a7b8-9012-cdef-345678901234",
      "metadata": {
        "category": "pricing",
        "currency": "USD"
      },
      "type": "text",
      "text": "Starter plan: $19/month, includes 1,000 search queries per month."
    }
  ]
}
Last updated: May 22, 2026