Skip to main content
POST
/
v1
/
document-collections
Create Document Collection
curl --request POST \
  --url https://{api_endpoint}/api/v1/document-collections \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "title": "<string>",
  "description": "<string>",
  "tags": [
    "<string>"
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
title
string | null
description
string | null
tags
string[] | null

Response

Successful Response