Look up project
Finds a project by its slug.
Finds a project by its slug.
bearerAuthorizationBearer <token>An access token, or an API key.
slug*stringSlug of the project.
^[a-z][a-z0-9-]{4,28}[a-z0-9]$OK
application/json- response
createTime*stringWhen the project was created.
date-timedeleteTime?stringWhen its deletion was requested; absent while it is active.
date-timedisplayName*stringName shown in user interfaces.
name*stringResource name, projects/{project_id}. The ID is generated by the server and never changes.
parent*stringThe organization the project belongs to, organizations/{organization_id}.
purgeTime?stringWhen kosem purges it, with everything in it, 30 days after its deletion was requested, unless it is undeleted first; absent while it is active.
date-timeslug*stringGlobally unique, human-readable alias. It never changes, so that links to the project keep working.
state*stringLifecycle state. Nothing in a project whose deletion was requested works but reading and restoring it, and it is purged at its purgeTime unless it is undeleted first.
"ACTIVE""DELETE_REQUESTED"updateTime*stringWhen the project was last updated.
date-timecurl -X GET 'https://api.kosem.ai/v1/projects/lookup?slug=string'{
"createTime": "2019-08-24T14:15:22Z",
"deleteTime": "2019-08-24T14:15:22Z",
"displayName": "string",
"name": "string",
"parent": "string",
"purgeTime": "2019-08-24T14:15:22Z",
"slug": "string",
"state": "ACTIVE",
"updateTime": "2019-08-24T14:15:22Z"
}