For the complete documentation index, see llms.txt. This page is also available as Markdown.

Collection

This endpoint is used to manage collections inside an organization.

Entity fields:

Path
Type
Description

data.type

string

Should be "collection"

data.attributes.name

string

Collection name

data.attributes.description

string

Collection description

data.attributes.priority

integer

Collection priority

Example:

POST /api/v1/organization/${ORGANIZATION_ID}/collection/

{
    "data": {
        "type": "collection",
        "attributes": {
            "name": "Collection1",
            "description": "Sample Description",
            "priority": 10
        }
    }
}

Supported Operation

get

Returns the collection of collection

Path parameters
organizationIdstringRequired

organization Identifier

Query parameters
page[number]integerOptional
page[size]integerOptional
Responses
200

Successful response

application/vnd.api+json
get/organization/{organizationId}/collection
200

Successful response

post

Creates an item of type collection

Path parameters
organizationIdstringRequired

organization Identifier

Body
Responses
201

Successful response

application/vnd.api+json
post/organization/{organizationId}/collection
201

Successful response

get

Returns an instance of type collection

Path parameters
organizationIdstringRequired

organization Identifier

collectionIdstringRequired

collection Identifier

Query parameters
Responses
200

Successful response

application/vnd.api+json
get/organization/{organizationId}/collection/{collectionId}
200

Successful response

delete

Deletes an instance of type collection

Path parameters
organizationIdstringRequired

organization Identifier

collectionIdstringRequired

collection Identifier

Responses
204

Successful response

No content

delete/organization/{organizationId}/collection/{collectionId}
204

Successful response

No content

patch

Modifies an instance of type collection

Path parameters
organizationIdstringRequired

organization Identifier

collectionIdstringRequired

collection Identifier

Body
Responses
204

Successful response

No content

patch/organization/{organizationId}/collection/{collectionId}
204

Successful response

No content

Last updated

Was this helpful?