---
title: "Reset cache for policy"
method: POST
path: "/api/v1/models/{modelId}/cache_reset/{policyName}"
tags: ["Models"]
---

# Reset cache for policy

`POST /api/v1/models/{modelId}/cache_reset/{policyName}`

## Path parameters

- `modelId` string, uuid, required — Model UUID
- `policyName` string, required — Cache policy name

## Request body

- ModelsCacheResetBody
  - `resetAt` string — ISO-8601 timestamp for when to reset the cache

## Response `200`

Cache reset scheduled

- ModelsCacheResetResponse
  - `cache_reset` object, required — Cache reset details
    - `created_at` string, nullable, required — Creation timestamp
    - `model_id` string, required — Model ID
    - `policy_name` string, required — Cache policy name
    - `reset_at` string, nullable, required — Reset timestamp
    - `updated_at` string, nullable, required — Last update timestamp
  - `success` boolean, required — Whether the operation succeeded

## Other responses

- `400` — Invalid reset timestamp
- `401` — Authentication required
- `403` — Permission denied
- `404` — Model or cache policy not found

---

[API](https://skmtc.net/omniapp/apis/omni-api.md) · [All operations](https://skmtc.net/omniapp/apis/omni-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/omniapp/omni-api/versions/4701f292c621/schema)
