GET
/
projects
/
{project_id}
curl --request GET \
  --url https://api.totoy.ai/v1/projects/{project_id} \
  --header 'Authorization: Bearer <token>'
{
  "project_id": "pj_avX7imfLaPcQnv5ckvGlOEBA9",
  "name": "Totoy GmbH Project",
  "created_at": "2023-07-05T12:34:13Z",
  "updated_at": "2023-07-05T12:34:13Z",
  "knowledge_base_ids": [],
  "source_ids": [],
  "is_default": false,
  "usage": {
    "assistant_messages": {
      "knowledge_bases_chats": 1354,
      "explanations": 1234,
      "total": 2588
    },
    "document_sources_pages": 2534,
    "text_sources": 3756
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
string
required

Unique identifier for a Project created in Totoy.

Maximum length: 28

Response

200
application/json
OK

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.