/api/agent
POST /api/agent/v1/collection
Changed onCreate a new Collection.
Pass parent_collection_id to nest under another collection; omit for a root-level collection. The caller must have write access to the parent (or root, if no parent given).
post/api/agent/v1/collection
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-API-Key
Request body
Response
Successful response
Changes
- info
endpoint added
- info