Skip to Content
Docs

Get organization by id

GET
/organization

Authorization

jwt
headerAuthorizationBearer <JWT>

Header Parameters

Response Body

application/json
  1. response
id*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$
name*string
Length1 <= length
description?string
baseDomain?string
features?
featureLimits?
bssConnection?
suspensions?
enforceMfaOn?string

An ISO 8601 date time string

Match^(?:\d+(?:\.\d+?)?|(?:\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z))$
Formatdate-time
_metaData*
Example Request
curl -X GET 'https://auth.your-tenant-id.my.contextual.io/api/v1/organization'
Example Response
{  "id": "string",  "name": "string",  "description": "string",  "baseDomain": "string",  "features": {    "mfa": true  },  "featureLimits": {    "maxUsers": -1,    "maxObjectTypes": -1,    "maxRecords": -1,    "maxTopics": -1,    "maxPartitions": -1,    "maxAgents": -1,    "maxAgentPods": -1,    "maxInstancesPerAgent": -1,    "maxEvents": -1,    "maxCustomDomainedAgents": -1,    "maxAiSearchEventHandlerPartitions": 1,    "maxAiSearchEventHandlerReplicas": 1,    "maxAiSearchEmbeddingEventHandlerPartitions": 1,    "maxAiSearchEmbeddingEventHandlerReplicas": 1,    "maxLogPartitions": 1,    "maxLogReplicas": 1,    "maxLogRetentionDays": 1,    "maxTriggerPartitions": 1,    "maxTriggerReplicas": 1  },  "bssConnection": {    "auth": {      "url": "http://example.com",      "clientId": "string",      "clientSecret": "string",      "audience": "string"    },    "eventReportingUrl": "http://example.com",    "adminApiUrl": "http://example.com"  },  "suspensions": {    "agents": true  },  "enforceMfaOn": "2019-08-24T14:15:22Z",  "_metaData": {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}