POST
/
projects

Authorizations

Authorization
string
headerrequired

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

Body

application/json
name
string
required

The name of the Project.

Maximum length: 256

Response

200 - application/json

A project is a collection of Sources and Knowledge Bases with the same lifespan. If a project is deleted, all associated resources will also be deleted. Explanations can also be assigned to Projects for billing purposes.

project_id
string
required

The unique identifier of a Project

Maximum length: 28
name
string
required

The name of the Project

Maximum length: 256
created_at
string
required

Date-time of when the Project was created, in ISO 8601 format

updated_at
string
required

Date-time of when the Project was last modified, in ISO 8601 format

knowledge_base_ids
string[]
required

A list of knowledge_base_ids that are assigned to the Project. One Project can have multiple Knowledge Bases.

source_ids
string[]
required

A list of source_ids of Sources that are assigned to the Project.

is_default
boolean
required

Whether the Project is the default Project for the Organization. The default Project is used when no Project is specified in an API request. The default Project cannot be deleted.

usage
object

The usage of the Project.