Organization
Returns the Organization details.
Totoy API
Explanation
Knowledge Bases
- GETReturns a list of Knowledge Bases.
- POSTCreates a Knowledge Base.
- GETRetrieves a Knowledge Base.
- DELDeletes a Knowledge Base.
- PATCHModifies a Knowledge Base.
- POSTCreates a Knowledge Base Chat Response for the given Messages.
- GETReturns a list of Knowledge Base Sources.
- POSTAdds Sources to a Knowledge Base.
- GETRetrieves a Knowledge Base Source.
- DELRemoves a Knowledge Base Source from a Knowledge Base.
Sources
Projects
Organization
Organization
Returns the Organization details.
GET
/
organization
curl --request GET \
--url https://api.totoy.ai/v1/organization \
--header 'Authorization: Bearer <token>'
{
"organization_id": "org_sjd823ndpaxy8223ndm0paq53",
"name": "Totoy GmbH",
"created_at": "2023-07-05T12:34:13Z",
"updated_at": "2024-07-05T12:34:13Z",
"limits": {
"assistant_messages": 100000,
"document_sources_pages": 50000,
"text_sources": 50000,
"projects": 10,
"knowledge_bases": 10,
"type": "hard"
},
"usage": {
"assistant_messages": {
"knowledge_bases_chats": 13542,
"explanations": 12653,
"total": 26195
},
"projects": 7,
"knowledge_bases": 7,
"text_sources": 3756,
"document_sources_pages": 2534
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
OK
The Organization
object represents an organization in the system.
curl --request GET \
--url https://api.totoy.ai/v1/organization \
--header 'Authorization: Bearer <token>'
{
"organization_id": "org_sjd823ndpaxy8223ndm0paq53",
"name": "Totoy GmbH",
"created_at": "2023-07-05T12:34:13Z",
"updated_at": "2024-07-05T12:34:13Z",
"limits": {
"assistant_messages": 100000,
"document_sources_pages": 50000,
"text_sources": 50000,
"projects": 10,
"knowledge_bases": 10,
"type": "hard"
},
"usage": {
"assistant_messages": {
"knowledge_bases_chats": 13542,
"explanations": 12653,
"total": 26195
},
"projects": 7,
"knowledge_bases": 7,
"text_sources": 3756,
"document_sources_pages": 2534
}
}