---
title: "Embeddings Refine"
method: POST
path: "/v1/refine/embeddings"
tags: ["Refineries"]
---

# Embeddings Refine

`POST /v1/refine/embeddings`

Embeddings refinery endpoint using local chonkie.

Adds embeddings to chunks using the specified embedding model.
Currently only supports OpenAI text-embedding-3-small and text-embedding-3-large models.

## Headers

- `authorization` string, nullable

## Request body

- EmbeddingsRefineryRequest — Request model for embeddings refinery.
  - `chunks` object[], required — List of chunks to refine
  - `embedding_model` string — Embedding model to use (only text-embedding-3-small and text-embedding-3-large supported)

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/chonkie/apis/chonkie-api.md) · [All operations](https://skmtc.dev/chonkie/apis/chonkie-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chonkie/apis/chonkie-api/revisions/f40f036f941c?raw)
