Sign in

Create vector store file

documented

Create a vector store file.

POST /vector_stores/{vector_store_id}/filesVector Storesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.openai.com/v1/vector_stores/{{$vector_store_id}}/files" \
  -X POST \
  -H "Authorization: Bearer {{OPENAI_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "OpenAI-Beta: assistants=v2" \
  -d '{"file_id": "{{$file_id}}", "attributes": {"source": "{{$attributes_source}}", "type": "{{$attributes_type}}"}, "chunking_strategy": {"type": "auto"}}'