---
title: "Get a managed config"
method: GET
path: "/v1/agent-config/{key}"
tags: ["Agent Config"]
---

# Get a managed config

`GET /v1/agent-config/{key}`

## Request

- Base URL: `https://api.roark.ai`
- URL: `https://api.roark.ai/v1/agent-config/{key}`
- Auth: HTTP bearer

Fetch one managed config with its channel pointers and recent revisions, newest first.

## Path parameters

- `key` string, required

## Response `200`

The config with recent revisions.

- object
  - `data` ManagedAgentConfigDetail, required: A managed config for a code-first agent (LiveKit, Pipecat, or any stack using the SDK): your agent fetches its tunable surface from Roark at session start. Two channels: production for real traffic, staging for candidates under test.
    - `id` string, uuid, required
    - `key` string, required: The stable handle your code fetches by.
    - `agentId` string, uuid, nullable, required: The linked Roark agent, when one exists.
    - `productionRevisionId` string, uuid, nullable, required: The revision real traffic reads.
    - `stagingRevisionId` string, uuid, nullable, required: The candidate revision Roark test calls read. Null when nothing is staged.
    - `createdAt` string, required: ISO 8601.
    - `updatedAt` string, required: ISO 8601.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Managed config not found
- `429`: Too Many Requests
- `500`: Internal Server Error

## Changes

> 187 revisions in range; 1 not diffed.

- **2026-09-22** `29256c5296cf`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/roarkhq/apis/roark-analytics-api/changes/v1/agent-config/:key/get.md)

---

[API](https://skmtc.dev/roarkhq/apis/roark-analytics-api.md) - [All operations](https://skmtc.dev/roarkhq/apis/roark-analytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/roarkhq/apis/roark-analytics-api/revisions/1a91a5c90e44?raw)
