---
title: "Apply Fills"
method: POST
path: "/api/filling-agent/apply"
tags: ["filling-agent"]
---

# Apply Fills

`POST /api/filling-agent/apply`

Execute a fill plan — streams progress events as cells are filled

## Request body

- ApplyRequest
  - `conversation_id` string, required
  - `actions` object[], required
  - `context` FillingAgentChatChatContext
    - `mode` string
    - `template_id` string, nullable
    - `filled_template_id` string, nullable
    - `document_ids` string[]
    - `parsed_data` object
    - `current_mappings` object
    - `cell_writes` object[]
    - `template_data` array[], nullable
      - unknown[]
        - unknown
    - `selection` object, nullable
    - `s3_key` string, nullable
    - `active_sheet` string, nullable
    - `field_definitions` object[], nullable
    - `agent_rules` string, nullable
    - `timezone` string, nullable

## 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/versions/718de1c0d866/schema)
