Skip to main content
POST
/
v1
/
console
/
knowledge-base
/
collections
Create Collection
curl --request POST \
  --url http://localhost:8000/v1/console/knowledge-base/collections \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "data": {
    "name": "<string>"
  },
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your JWT access token

Body

application/json
name
string
required
Required string length: 3 - 64

Response

Successful Response

data
CollectionResponse · object
message
string | null
success
boolean
default:true