Create a Knowledge Base collection
POST
https://app.softsolz.uk/api/v1/services/smart-chat/kb/collectionsRecent Requests
Kept only in this browserTimeStatusTook
Send a request with Try it to see it here.
Headers
AuthorizationstringrequiredBearer token: Bearer sk_live_... (or sk_test_... for sandbox). A login token will not work here.
Idempotency-KeystringOptional idempotency key for safe retries.
Body Params
namestringrequiredCollection name.
descriptionstring | nullDescription.
visibilitystringVisibility. A connected app defaults to "private" (owned by the connecting member); a plain API key creates workspace-wide ("tenant") collections.
Response
Response Body
idstringCollection id.namestringCollection name.descriptionstring | nullDescription.visibilitystringVisibility.created_atstringCreation timestamp.Request
curl --request POST \ --url https://app.softsolz.uk/api/v1/services/smart-chat/kb/collections \ --header 'Authorization: Bearer sk_live_your_key' \ --header 'Content-Type: application/json' \ --data '{ "name": "Policies", "description": "Company policy PDFs.", "visibility": "tenant"}'Credentials
Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.
Response · 201
{ "data": { "id": "c0000000-0000-0000-0000-000000000001", "name": "Policies", "description": "Company policy PDFs.", "visibility": "tenant", "created_at": "2026-06-01T09:00:00.000Z" }}