---
title: "Confirm collection schema"
method: POST
path: "/api/v1/collections/{collection}/schema/confirm"
---

# Confirm collection schema

`POST /api/v1/collections/{collection}/schema/confirm`

## Request

- Base URL: `https://api.vectorpanda.com`
- URL: `https://api.vectorpanda.com/api/v1/collections/{collection}/schema/confirm`
- Auth: HTTP bearer

Confirm the schema for a collection. Required before the artifact
server will process uploaded files into queryable vectors.

## Request body

- object
  - `idField` string, required: Name of the ID/key column
  - `vectorField` string, required: Name of the vector/embedding column
  - `format` string: File format (auto-detected if omitted)
  - `dimension` integer: Vector dimension (auto-detected if omitted)

## Response `200`

Schema confirmed

- object
  - `status` string

---

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