Organization
Get Organization
Fetch the details of an organization by its id. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.
GET
Authorizations
Headers
The organization id to use for the request
Path Parameters
The id of the organization you want to fetch.
Response
200
application/json
Organization with the id that was requested
Example:
{
"created_at": "2021-01-01 00:00:00.000",
"id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"name": "Trieve",
"partner_configuration": {
"COMPANY_NAME": "Trieve",
"DEMO_DOMAIN": "demos.trieve.ai",
"FAVICON_URL": "https://cdn.trieve.ai/favicon.ico"
},
"registerable": true,
"updated_at": "2021-01-01 00:00:00.000"
}
Example:
{
"amount": 1000,
"chunk_count": 1000,
"created_at": "2021-01-01 00:00:00.000",
"dataset_count": 1,
"file_storage": 512,
"id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"message_count": 1000,
"name": "Free",
"stripe_id": "plan_123",
"updated_at": "2021-01-01 00:00:00.000",
"user_count": 5
}
Example:
{
"created_at": "2021-01-01 00:00:00.000",
"current_period_end": "2021-01-01 00:00:00.000",
"id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"organization_id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"plan_id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"stripe_id": "sub_123",
"updated_at": "2021-01-01 00:00:00.000"
}
Was this page helpful?