---
title: "Create embeddings"
method: POST
path: "/embeddings"
tags: ["Embeddings"]
---

# Create embeddings

`POST /embeddings`

Creates embeddings for the given input text.

## Request body

- EmbeddingRequest
  - `model` 'corti-s1-embedding', required
  - `input` union, required
    - string — Single text input.
    - string[] — Batch of text inputs.

## Response `200`

Embedding response

- EmbeddingResponse — OpenAI embeddings response.
  - `object` 'list'
  - `model` string
  - `data` object[]
    - `object` 'embedding'
    - `index` integer
    - `embedding` number[] — Embedding vector.
  - `usage` object
    - `prompt_tokens` integer
    - `total_tokens` integer

## Other responses

- `401` — Authentication failed

---

[API](https://skmtc.net/corti/apis/admin-api.md) · [All operations](https://skmtc.net/corti/apis/admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/corti/admin-api/revisions/5d1895a1b3fc/schema)
