# Get built in image

`GET /v1/images/{image}`, operation `environments.GetBuiltInImage`

Gets a built-in image, its preparation state and its versions.

Built-in images are maintained by kosem and available to every project without counting against organization quotas.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `image` | path | Yes | `string` | The built-in image's ID, such as python or node. |
| `parent` | query | No | `string` | Optional organization or project resource name (organizations/{organization_id} or projects/{project_id}) to count environments running each version within that scope. Requires environments.images.get on the parent. |

## Responses

### 200

OK

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `availability` | `Availability` | Yes | For an organization's image: the projects whose environments use it. Project and built-in images leave this empty. |
| `availability.allProjects` | `boolean` | Yes | Every project, including those created later. |
| `availability.projects` | `string[]` | Yes | Specific projects (projects/{project_id}) when allProjects is false; up to 500. Set allProjects to true for more. |
| `builtIn` | `boolean` | No | Whether kosem manages and prepares this image for every project without counting against organization quotas. |
| `checkTime` | `string (date-time)` | No | When kosem last resolved its source; unset until it has. |
| `createTime` | `string (date-time)` | No | When the image was created; unset on built-in images until kosem checks them. |
| `description` | `string` | No | Short summary of what the image contains, set on built-in images. |
| `displayName` | `string` | Yes | What people call the image. |
| `followTag` | `boolean` | Yes | Whether kosem resolves its tag again every hour, as RefreshImage does, so that it prepares each new version. A source named by a digest never moves. |
| `keepVersions` | `integer (int32)` | Yes | Maximum number of recent versions retained. Older versions are deleted once no environment uses them. |
| `name` | `string` | Yes | Resource name: organizations/{organization_id}/images/{image_id}, projects/{project_id}/images/{image_id} or images/{image_id} for built-in images. |
| `refreshReason` | `string` | Yes | Why kosem's last check of its tag couldn't refresh it, which leaves it as it was; empty once a check can. |
| `registry` | `string` | No | The registry that kosem signs in with to pull it, when it's private. |
| `source` | `string` | Yes | The image's reference, with a tag or a digest, in its shortest spelling, such as node:24 for docker.io/library/node:24. Set when the image is created, and never changed. |
| `state` | `string` | No | PREPARING until its latest version is ready to run, READY once it is, and FAILED if kosem can't prepare it. Unset on built-in images until kosem checks them or when kosem doesn't prepare them. Values: `PREPARING`, `READY`, `FAILED`. |
| `stateReason` | `string` | Yes | Why kosem can't prepare it, when it can't. |
| `updateTime` | `string (date-time)` | No | When the image last changed; unset on built-in images until kosem checks them. |
| `user` | `string` | No | Default non-root user commands run as inside the image, such as vscode or node. Set on built-in images. |
| `versions` | `ImageVersion[]` | Yes | What its source named each time it was resolved, newest first. |

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.