Look up organization
Finds an organization by its slug.
GET
Finds an organization by its slug.
bearerheader
AuthorizationBearer <token>An access token, or an API key.
slug*stringSlug of the organization.
Match
^[a-z][a-z0-9-]{4,28}[a-z0-9]$OK
application/json- response
createTime*stringWhen the organization was created.
Format
date-timedisplayName*stringName shown in user interfaces.
name*stringResource name, organizations/{organization_id}. The ID is generated by the server and never changes.
slug*stringGlobally unique, human-readable alias. It never changes, so that links to the organization keep working.
state*stringLifecycle state. An organization whose deletion was requested is purged after a grace period unless it is undeleted.
Value in
"ACTIVE""DELETE_REQUESTED"updateTime*stringWhen the organization was last updated.
Format
date-timecurl -X GET 'https://api.kosem.ai/v1/organizations/lookup?slug=string'Example Response
{
"createTime": "2019-08-24T14:15:22Z",
"displayName": "string",
"name": "string",
"slug": "string",
"state": "ACTIVE",
"updateTime": "2019-08-24T14:15:22Z"
}