---
title: "GetDeploymentConfig returns the configuration for a deployment that the runtime should apply.
This is called by the runtime to pull its Variables and Annotations from the admin service."
method: GET
path: "/v1/deployments/{deploymentId}/config"
---

# GetDeploymentConfig returns the configuration for a deployment that the runtime should apply.
This is called by the runtime to pull its Variables and Annotations from the admin service.

`GET /v1/deployments/{deploymentId}/config`

## Path parameters

- `deploymentId` string, required

## Response `200`

A successful response.

- V1GetDeploymentConfigResponse
  - `annotations` object
  - `duckdbConnectorConfig` object
  - `editable` boolean — Whether the deployment is editable (dev environment with changes persisted to git repo).
  - `frontendUrl` string — Frontend URL for the deployment.
  - `systemVariables` object — System variables set by the admin service that should not be overridden by user input.
  - `updatedOn` string, date-time — Timestamp when the deployment was last updated.
  - `usesArchive` boolean — Whether the deployment is git based or archive based.
  - `variables` V1ProjectVariable[] — Variables for the deployment.
    - `createdOn` string, date-time — Timestamp when the variable was created.
    - `environment` string — Environment the variable is set for. If empty, the variable is shared for all environments.
    - `id` string — Internal ID.
    - `name` string — Variable name (case insensitive).
    - `updatedByUserId` string — User ID that most recently updated the variable. May be empty.
    - `updatedOn` string, date-time — Timestamp when the variable was last updated.
    - `value` string — Variable value.
  - `variablesLegacy` object — Deprecated: Variables for the deployment. Use `variables` instead.

## Other responses

- `default` — An unexpected error response.

## Changes

> 54 revisions in range; 1 could not be searched.

- **2026-05-15** (v1) `46a2096b63cd` — 1 info
  - added the optional property `systemVariables` to the response with the `200` status
- **2026-04-29** (v1) `00383e854407` — 1 breaking, 2 info
  - the `variables` response's property type/format changed from `object`/`` to `array`/`` for status `200`
  - added the optional property `editable` to the response with the `200` status
  - added the optional property `variablesLegacy` to the response with the `200` status
- **2026-01-15** (v1) `43ab1bb6bf11` — 1 info
  - added the optional property `duckdbConnectorConfig` to the response with the `200` status
- **2026-01-02** (v1) `efa99b247e12` — 1 info
  - endpoint added
- **2025-12-11** (v1) `f317ff96998d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/rilldata/apis/rill-admin-api/changes/v1/deployments/:deploymentId/config/get.md)

---

[API](https://skmtc.dev/rilldata/apis/rill-admin-api.md) · [All operations](https://skmtc.dev/rilldata/apis/rill-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rilldata/rill-admin-api/revisions/abe7a430f373/schema)
