---
title: "Put Source State"
method: PUT
path: "/api/ingest/external/v1/sources/{source}/state"
tags: ["ingest"]
---

# Put Source State

`PUT /api/ingest/external/v1/sources/{source}/state`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/ingest/external/v1/sources/{source}/state`
- Auth: none declared

Enable or disable a source for this identity.

Idempotent - safe to call when already in the target state.
Body: ``{"blocked": bool}``.

## Path parameters

- `source` string, required

## Headers

- `x-ingest-key` string, nullable
- `authorization` string, nullable
- `x-impersonate-identity-id` string, nullable

## Request body

- SourceStateUpdateV1
  - `blocked` boolean, required

## Response `200`

Successful Response

- IngestSourceStateV1
  - `source` string, required
  - `blocked` boolean, required
  - `capture_count` integer, required
  - `last_capture_at` string, date-time, nullable, required
  - `default_recall_searchable` boolean
  - `default_extraction_mode` 'none' | 'owner'
  - `extraction_context_budget_chars` integer
  - `retention_days` integer, nullable
  - `capture_mode` 'manual' | 'selective' | 'automatic' | 'scheduled' | 'event'
  - `review_required` boolean
  - `mark_new_captures_read` boolean
  - `archive_new_captures` boolean

## Other responses

- `422`: Validation Error

---

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