Skip to main content
POST
Create Docset

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
properties
Properties · object | null
schema
Schema · object | null

Represents the schema of a DocSet.

prompts
Prompts · object | null

Response

Successful Response

account_id
string
required

The account id containing the DocSet.

docset_id
string
required

The unique id for the DocSet.

name
string
required

The name of the DocSet.

created_at
string<date-time>
required

The creation time of this DocSet.

readonly
boolean
required

Whether the DocSet is read-only.

properties
Properties · object | null

Additional properties for the DocSet.

size
integer | null

The number of documents in the DocSet.

schema
Schema · object | null

Represents the schema of a DocSet.

prompts
Prompts · object

The prompts associated with this DocSet.