---
title: "POST /v1/workflows/{id}/refill"
method: POST
path: "/v1/workflows/{id}/refill"
---

# POST /v1/workflows/{id}/refill

`POST /v1/workflows/{id}/refill`

Refill remaining runs for a workflow

## Path parameters

- `id` string, required

## Request body

- union
  - object
  - RefillWorkflowParams
    - `remainRuns` integer, required

## Response `200`

OK

- RefillWorkflowSuccessResponse
  - `code` integer
  - `data` RefillWorkflowData
    - `remainRuns` integer
    - `workflowId` string
  - `message` string
  - `requestId` string

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

[API](https://skmtc.dev/b3os/apis/b3os-workflow-api.md) · [All operations](https://skmtc.dev/b3os/apis/b3os-workflow-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/b3os/b3os-workflow-api/revisions/a8c7af3c66a1/schema)
