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

# Create embeddings

`POST /v1/embeddings`

## Request body

- CoreEmbeddingRequest
  - `dimensions` integer
  - `encoding_format` string
  - `input` unknown
  - `model` string
  - `provider` string — Gateway routing hint; stripped before upstream execution.

## Response `200`

OK

- CoreEmbeddingResponse
  - `data` CoreEmbeddingData[]
    - `embedding` object
    - `index` integer
    - `object` string
  - `model` string
  - `object` string
  - `provider` string
  - `usage` CoreEmbeddingUsage
    - `prompt_tokens` integer
    - `total_tokens` integer

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `429` — Too Many Requests
- `502` — Bad Gateway

---

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