Skip to main content
DELETE
/
v1
/
projects
/
{project_id}
/
vector-stores
/
{vector_store_id}
/
files
Remove files from vector store
curl --request DELETE \
  --url https://api.example.com/v1/projects/{project_id}/vector-stores/{vector_store_id}/files \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-selected-account-id: <api-key>' \
  --data '
{
  "parse_result_ids": [
    "<string>"
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key for authentication

x-selected-account-id
string
header
required

Selected Account ID

Path Parameters

project_id
string
required
vector_store_id
string
required

Body

application/json
parse_result_ids
string[]
required

IDs of the parse results

Response

Files removed from vector store successfully