---
title: "Attach Workflow Files"
method: POST
path: "/api/account-workflows/runs/{run_id}/files"
tags: ["Account Workflows"]
---

# Attach Workflow Files

`POST /api/account-workflows/runs/{run_id}/files`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/account-workflows/runs/{run_id}/files`
- Auth: HTTP bearer

## Path parameters

- `run_id` string, required

## Request body

- AttachWorkflowFilesRequest
  - `files` WorkflowFileRef[], required
    - `slot_key` string, required
    - `file_id` string, required
    - `source` string, nullable
    - `role` string, nullable
  - `parse` boolean
  - `validate` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-09** `6fe617c112ef`: 1 info
  - endpoint added
- **2026-08-29** `7a7c8e2b5afc`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/qomplement/apis/qomplement-api/changes/api/account-workflows/runs/:run_id/files/post.md)

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
