Skip to Content
kosemdocs
ReferenceAPIEnvironment defaults

Get environment defaults

Gets what new environments start with where nothing says otherwise: this kosem's default image, whether their machines keep their roots on their disks, and the issuer of its identity tokens.

GET
/v1/environmentDefaults

Gets what new environments start with where nothing says otherwise: this kosem's default image, whether their machines keep their roots on their disks, and the issuer of its identity tokens.

Authorization

bearer
headerAuthorizationBearer <token>

An access token, or an API key.

Response Body

OK

application/json
  1. response
identityIssuer*string

The issuer of kosem's identity tokens, of environments and of registries that sign in without a key, which clouds trust as an OpenID Connect provider.

image*string

This kosem's default environment image reference, with its release tag or digest, which environments made without one run. Empty when environment creation is not configured.

rootOnDisk*boolean

Whether environments whose disks are block devices, as this kosem makes them, keep their roots on their disks, as a container keeps its own: what commands change, /workspace and the home included, survives a stop until the environment runs another image or is reset (ResetEnvironment), which starts it again from its image.

Example Request
curl -X GET 'https://api.kosem.ai/v1/environmentDefaults'
Example Response
{
  "identityIssuer": "string",
  "image": "string",
  "rootOnDisk": true
}