> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.doc-detective.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.doc-detective.com/_mcp/server.

# stopRecord

> Reference for the `stopRecord` schema.

## Referenced In

* [Markup definition](/reference/schemas/markup-definition)
* [test](/reference/schemas/test)
* [Resolved context](/reference/schemas/resolved-context)

## Fields

| Field      | Type                                                                                                        | Description                                                                                                                                                                                                                                                                                                                         | Default |
| :--------- | :---------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------ |
| stopRecord | one of: - boolean - null - string - object([stopRecord (detailed)](/reference/schemas/stoprecord-detailed)) | Required. Stop a recording started by an earlier `record` step. With no target (`true`/`null`), stops the most recently started recording that is still active (LIFO). To stop a specific recording when several overlap, target it by name with a string (`stopRecord: "<name>"`) or an object (`stopRecord: { name: "<name>" }`). | —       |

## Examples

```json
{
  "stopRecord": true
}
```

```json
{
  "stopRecord": "demo"
}
```

```json
{
  "stopRecord": {
    "name": "demo"
  }
}
```