---
title: "Exchange a device-login token for read-only registry credentials (installer)"
method: POST
path: "/v1/registry/credentials"
tags: ["Registry"]
---

# Exchange a device-login token for read-only registry credentials (installer)

`POST /v1/registry/credentials`

## Request

- Base URL: `https://api.algenta.ai`
- URL: `https://api.algenta.ai/v1/registry/credentials`
- Auth: none declared

Called by install.sh after the device-login flow. Verifies the Supabase access token and returns read-only credentials for the container registry hosting the runtime images. Answers 503 when this deployment does not distribute images (ALGENTA_REGISTRY_READ_TOKEN unset).

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- RegistryCredentials
  - `registry` string, required
  - `username` string, required
  - `password` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/codna/apis/algenta-api.md) · [All operations](https://skmtc.dev/codna/apis/algenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/codna/apis/algenta-api/revisions/35d30f84a5df?raw)
