Create Collection
Collections
Create Collection
Create a new API collection (admin only)
POST
Create Collection
Authentication
Bearer token:
Bearer <admin_token>This endpoint requires admin privileges.
Request Body
Collection display name
Collection description (used for semantic search)
Full OpenAPI 3.0 specification including servers, paths, and authentication
Example Request
Response
What Happens
- Collection Created - Stored in database
- Vector Generated - Embedding created from name + description
- Cache Invalidated - Collection lists refreshed
Errors
| Status | Description |
|---|---|
| 400 | Invalid OpenAPI spec |
| 401 | Invalid or expired token |
| 403 | Admin access required |
| 409 | Collection name already exists |

