---
title: "Get preference value"
method: GET
path: "/api/v1/storage/preferences/{key}"
tags: ["storage"]
---

# Get preference value

`GET /api/v1/storage/preferences/{key}`

Returns the value of a specific preference key.

## Path parameters

- `key` string, required

## Query parameters

- `type` PreferenceValueType — unresolved $ref
- `sharedName` string

## Response `200`

Preference entry.

- PreferenceEntry — unresolved $ref

## Other responses

- `404` — Resource not found.
- `500` — Internal server error.
- `501` — Capability not implemented by the connected backend.

## Changes

- **2026-08-17** `dcf9b09e550f` — 1 info
  - added the non-success response with the status `501`

[Change history](https://skmtc.dev/dotnet/apis/devflow-agent-protocol/changes/api/v1/storage/preferences/:key/get.md)

---

[API](https://skmtc.dev/dotnet/apis/devflow-agent-protocol.md) · [All operations](https://skmtc.dev/dotnet/apis/devflow-agent-protocol/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dotnet/devflow-agent-protocol/revisions/31dec8eed3de/schema)
