# Write down that a fill run was replayed from a recipe with no model

The measurement of a replay that ended: one row for the run in the apply funnel, with the recipe scope it replayed from, no model calls, and how many steps a model turn had to mend (0 for a clean replay). It names the application's own run and takes no id from the caller, so it cannot reach another account's row. It is the run's measurement and is written whatever position the recipe switch is in. Requires authentication.

```http
POST https://hiresweep.com/api/openapi/applications/{applicationId}/fill/agent/recipe/run
x-api-key: YOUR_API_KEY
```

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `applicationId` | path | string | Yes |  |

## Request body

```json
{
  "type": "object",
  "properties": {
    "recipeScope": {
      "enum": [
        "site",
        "ats"
      ],
      "type": "string",
      "description": "Where the replayed recipe was learned: the site, or the ATS vendor."
    },
    "stage": {
      "enum": [
        "opened",
        "reached-form",
        "filled"
      ],
      "type": "string",
      "description": "The furthest stage the replay reached."
    },
    "repaired": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100,
      "description": "Steps a model turn had to mend."
    }
  },
  "required": [
    "recipeScope",
    "stage",
    "repaired"
  ]
}
```

## Responses

- `200`: The run's measurement is written, or there was no run to write it for.
