---
title: "Export Llm Configs"
method: POST
path: "/workflows/v1/llm-configs/export"
tags: ["LLM Configs"]
---

# Export Llm Configs

`POST /workflows/v1/llm-configs/export`

## Request

- Base URL: `https://api-qa.interactly.ai`
- URL: `https://api-qa.interactly.ai/workflows/v1/llm-configs/export`
- Auth: HTTP bearer

Export LLM configurations as a portable ``llm_configs.v1`` bundle: the listed ones, or every config in
the team when ``llm_config_ids`` is omitted.

Every secret is replaced with ``<REDACTED>`` and listed under ``redactions`` whatever the caller's role,
because the file is meant to be passed around; the importer supplies those values again.

## Request body

- LLMConfigExportRequest
  - `llm_config_ids` string[], nullable: Configs to export. Omit to export every LLM config in the team.

## Response `200`

Successful Response

- LLMConfigBundle: Self-describing envelope for one or more exported LLM configs. ``configs`` holds plain dicts rather than ``LLMOrGroupConfig`` models. The union would accept ``<REDACTED>`` as a perfectly valid ``api_key``, so a config is only validated once the importer has put its secrets back.
  - `export_format` string: Export format identifier
  - `exported_at` string, date-time
  - `configs` object[], required: Each item has llm_config_id, name, description, is_default and config. No team or audit fields.
  - `redactions` LLMConfigRedaction[]: Fields whose values were replaced with the '<REDACTED>' sentinel
    - `path` string, required: Dotted path from the bundle root, e.g. 'configs.0.config.llms.1.api_key'
    - `config_name` string, nullable: Name of the exported config the secret belongs to
    - `reason` string, required: Why it was redacted, e.g. 'secret field'
  - `warnings` string[]: Non-fatal notes for whoever imports the bundle

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-21** `4a885f58a270`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/interactly/apis/interactly-api-3/changes/workflows/v1/llm-configs/export/post.md)

---

[API](https://skmtc.dev/interactly/apis/interactly-api-3.md) - [All operations](https://skmtc.dev/interactly/apis/interactly-api-3/llms.txt) - [OpenAPI document](https://skmtc.dev/interactly/apis/interactly-api-3/revisions/919b415ec222?raw)
