apicheats.dev Cheat sheet Raw .md
POST

Try POST /vector_stores — OpenAI API

OpenAI playground

Create vector store

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.openai.com; the proxy stores and logs nothing about them.

Body application/json

6 body fields
  • file_ids · optional · string[] — A list of [File](https://developers.openai.com/api/reference/resources/files) IDs that the vector store should use. Useful for tools like `file_search` that can access files.
  • name · optional · string — The name of the vector store.
  • description · optional · string — A description for the vector store. Can be used to describe the vector store's purpose.
  • expires_after · optional · object — The expiration policy for a vector store.
  • chunking_strategy · optional · object — The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy. Only applicable if `file_ids` is non-empty.
  • metadata · optional · object — Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.