---
title: "User-level vault health snapshot: node counts, pending conflicts, last transaction, device liveness."
method: POST
path: "/api/mcp/tools/env_sync.sync_status"
tags: ["misc"]
---

# User-level vault health snapshot: node counts, pending conflicts, last transaction, device liveness.

`POST /api/mcp/tools/env_sync.sync_status`

## Request

- Base URL: `https://api.ainote.dev`
- URL: `https://api.ainote.dev/api/mcp/tools/env_sync.sync_status`
- Auth: API key in header `Authorization`

User-level vault health snapshot: node counts, pending conflicts, last transaction, device liveness.

## Request body

- object
  - `device_id` string: Optional calling device id for audit attribution. The X-Ainote-Device-Id header is the canonical source; this argument is the backwards-compatible fallback for clients that predate the header. If both are sent and disagree, the request is rejected (DEVICE_MISMATCH).

## Response `200`

Tool executed successfully

- ToolSuccessResponse: Successful tool invocation. `content` mirrors the MCP `tools/call` result shape: an array of content blocks (text and optionally a structured resource payload).
  - `content` object[]
    - `type` 'text' | 'resource'
    - `text` string

## Other responses

- `400`: Invalid arguments or business-rule violation
- `401`: Missing or invalid McpKey

---

[API](https://skmtc.dev/ainote/apis/ainote-mcp-openapi-mirror.md) · [All operations](https://skmtc.dev/ainote/apis/ainote-mcp-openapi-mirror/llms.txt) · [OpenAPI document](https://skmtc.dev/ainote/apis/ainote-mcp-openapi-mirror/revisions/f6c91d85e027?raw)
