---
title: "Ingest Workspace Snapshot"
method: POST
path: "/workspaces/{id}/ingest"
tags: ["Workspaces"]
---

# Ingest Workspace Snapshot

`POST /workspaces/{id}/ingest`

## Request

- Base URL: `https://synchronex.ai/api/v1`
- URL: `https://synchronex.ai/api/v1/workspaces/{id}/ingest`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://synchronex.ai/oauth/authorize`, token URL `https://synchronex.ai/api/oauth/token`, scopes: `read`)

## Request body

- IngestWorkspaceSnapshotRequest
  - `content` string, required
  - `file_path` string
  - `content_hash` string
  - `hmac` string
  - `trigger_source` 'tauri_watch' | 'api_push' | 'mcp_tool' | 'manual' | 'cron' | 'kernel_update'

## Response `200`

Snapshot matched the last known hash.

- object
  - `status` 'no_change', required
  - `log_id` string, nullable, required

## Other responses

- `202`: Snapshot accepted for apply, queue, or conflict.
- `400`: Validation error. The request body or query string is invalid.
- `401`: Unauthorized. Missing, malformed, expired, or revoked bearer token.
- `403`: Forbidden. The token scope or account tier is insufficient.
- `404`: Not found or not owned by the authenticated user.
- `409`: Inbound policy rejected the snapshot, or the kernel update failed.
- `422`: Semantic validation failed.
- `429`: Rate limit exceeded. Retry after the indicated reset time.
- `500`: Internal server error.

---

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