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

Authorization
string
header
required

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.

organization_id
string
required

The unique identifier of an Organization

Maximum length: 29
name
string
required

The Organization's name.

Maximum length: 256
created_at
string

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

updated_at
string

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

limits
object | null

The usage limits of the Organization.

usage
object

The usage of the Organization.

status
enum<string>
default:
active

Wether the Organization is active or suspended.

Available options:
active,
suspended