---
title: "Reset what a page keeps"
method: DELETE
path: "/api/artifacts/{artifactId}/state"
tags: ["Artifacts"]
---

# Reset what a page keeps

`DELETE /api/artifacts/{artifactId}/state`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `x-sixb-csrf`
  - HTTP bearer
  - HTTP bearer

Deletes every value the artifact keeps for the caller.

## Path parameters

- `artifactId` string, required

## Response `200`

Response for status 200

- object
  - `cleared` integer, required: How many values were deleted

## Other responses

- `404`: Response for status 404
- `501`: Response for status 501

## Changes

- **2026-10-20** `ebeab1520daa`: 1 info
  - endpoint added
- **2026-10-20** `2529bf887ba6`: 1 breaking
  - api path removed without deprecation
- **2026-10-20** `8df745541b3a`: 1 info
  - endpoint added
- **2026-10-20** `8c53eb806aa9`: 1 breaking
  - api path removed without deprecation
- **2026-10-19** `c035fdb6dedd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sixb-ai/apis/sixb-api/changes/api/artifacts/:artifactId/state/delete.md)

---

[API](https://skmtc.dev/sixb-ai/apis/sixb-api.md) - [All operations](https://skmtc.dev/sixb-ai/apis/sixb-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sixb-ai/apis/sixb-api/revisions/a227d682eaa2?raw)
