Make a collection hold exactly these documents (up to 1,000): listed ones are written, the rest of the collection deleted
POST/chat/knowledge/collections/:name/sync
Make a collection hold exactly these documents (up to 1,000): listed ones are written, the rest of the collection deleted
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Missing API key or key lacks permission
Invalid API key, unverified domain, or sending paused
Not found
Validation error
Rate limit (50 requests per second for this API) or daily quota exceeded; see the retry-after header