---
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.

---

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