sync

Legacy alias for pulling files from the primary vault. Paginated: default 25 files per call, follow `next_cursor` for the rest. To fetch specific files, pass `paths` (up to 100 exact paths in one call) instead of pulling their whole directory.

Legacy alias for pulling files from the primary vault. Paginated: default 25 files per call, follow next_cursor for the rest. To fetch specific files, pass paths (up to 100 exact paths in one call) instead of pulling their whole directory.

post/api/mcp/tools/sync_pull

Request

  • Base URL: https://api.ainote.dev
  • URL: https://api.ainote.dev/api/mcp/tools/sync_pull
  • Auth: API key in header Authorization

Request body

sincestring

ISO 8601 timestamp. Only return files updated after this time. Omit to start from the first page. Deletions are not reported.

pathstring

Optional filter: a directory (everything under it, e.g. 'global') or an exact file path (e.g. 'global/MEMORY.md'). A trailing slash is ignored.

pathsstring[]

Up to 100 exact file paths fetched in ONE call. Absent paths are listed in missing. Cannot be combined with path/since/cursor.

limitinteger

Max files per page. Default 25, max 100.

cursorstring

Pass next_cursor from the previous response to fetch the next page.

Response

Tool executed successfully

Changes

No recorded changes to this operation across all 1 revision of this API.