---
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`

## 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

---

[API](https://skmtc.net/qomplement/apis/fastapi.md) · [All operations](https://skmtc.net/qomplement/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qomplement/fastapi/revisions/718de1c0d866/schema)
