---
title: "Download Agent YAML configuration"
method: GET
path: "/v1/agents/download-agent/{agent_id}"
tags: ["Agent Management"]
---

# Download Agent YAML configuration

`GET /v1/agents/download-agent/{agent_id}`

## Request

- Base URL: `https://api.svahnar.com`
- URL: `https://api.svahnar.com/v1/agents/download-agent/{agent_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/svahnar/apis/svahnar-apis/docs/v1/agents/download-agent/:agent_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Download the YAML configuration file for a specific agent. Only the creator of the agent can download the configuration.

## Path parameters

- `agent_id` string, required: The unique identifier of the agent.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-02-11** `c9a09aaa6236`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/svahnar/apis/svahnar-apis/changes/v1/agents/download-agent/:agent_id/get.md)

---

[API](https://skmtc.dev/svahnar/apis/svahnar-apis.md) - [All operations](https://skmtc.dev/svahnar/apis/svahnar-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/svahnar/apis/svahnar-apis/revisions/a39db90c150d?raw)
