---
title: "Reset a source"
method: POST
path: "/sources/{source_id}/reset"
tags: ["Sources"]
---

# Reset a source

`POST /sources/{source_id}/reset`

Re-runs Deck's antibot analysis for the source. Runs keep using the existing analysis until the new one completes. Resetting again shortly after a previous reset has no effect and returns the current source; `reset_at` shows when the last reset took effect.

## Path parameters

- `source_id` string, required

## Response `200`

OK

- ResetSourceResponse — The source after a reset request.
  - `id` string, required — Unique identifier for the source, prefixed with `src_`.
  - `object` string, required — Always `source`.
  - `name` string, nullable, required — Display name for the source.
  - `type` string, required — The source type. `website` is currently the only supported type; it defaults to `website` if omitted.
  - `website` SourceWebsite, required — Website configuration for a source.
    - `url` string, required — The URL of the website or service. Deck normalizes this on create: it prepends `https://` when no scheme is given, lowercases the scheme and host, drops default ports (80/443), and trims trailing slashes — so the stored and returned value may differ from what you sent. Non-HTTP(S) URLs are rejected.
  - `created_at` string, date-time, required — ISO 8601 timestamp of when the resource was created.
  - `updated_at` string, date-time, required — ISO 8601 timestamp of when the resource was last updated.
  - `reset_at` string, date-time, nullable, required — ISO 8601 timestamp of when the source's antibot analysis was last reset, if ever.
  - `request_id` string, required — Unique identifier for the API request. Include this when contacting support.

## Other responses

- `400` — Bad request — validation error or malformed input.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not found — the requested resource does not exist.
- `409` — Conflict — the request is valid but cannot be completed in the current state.
- `422` — Unprocessable content — the request body is understood but contains invalid values.
- `429` — Too many requests or session concurrency exceeded. Retry with backoff; honor Retry-After and RateLimit headers when present.
- `500` — Internal server error.

---

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