Skip to main content
GET
/
v1
/
collections
Get Collections
curl --request GET \
  --url https://api.clarm.com/v1/collections \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "name": "<string>",
    "sources": [
      {
        "id": 123,
        "name": "<string>",
        "type": "<string>",
        "configuration": {}
      }
    ]
  }
]
Get all collections (document sets) that the calling user has access to. Collections are groups of related documents and data sources that can be searched together.

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

Successful Response

id
integer
required
name
string
required
sources
SourceResponse · object[]

List of sources in the collection