Pull only what changed since your last run with updated_since.
To sync efficiently, fetch only the records that changed since your last run rather than
re-paging the entire collection every time.
updated_since
Pass updated_since — an ISO-8601 timestamp with an offset (a Z or numeric offset,
e.g. 2026-05-01T18:22:10Z). It returns records with updated_at at or after that time:
updated_sincecomposes with the cursor — page through the filtered results exactly
as on the Pagination page, just with updated_since added to each request.
A malformed or offset-less updated_since (for example 2026-05-01 or
2026-05-01T18:22:10 with no Z) returns 400 (invalid_request).
A durable sync loop
Because results are ordered by updated_at ascending, a robust sync stores the
updated_at of the last item it processed and passes it as updated_since on the next
run:
import requestsbase = "https://api.myhamlet.com/v1/locations"headers = {"Authorization": "Bearer hmlt_your_api_key"}# high_water_mark is persisted between runs (e.g. in your database)def sync(high_water_mark): cursor = None while True: params = {"per_page": 100, "updated_since": high_water_mark} if cursor: params["cursor"] = cursor page = requests.get(base, headers=headers, params=params).json() for item in page["data"]: upsert(item) high_water_mark = item["updated_at"] # advance the watermark cursor = page["next_cursor"] if cursor is None: break return high_water_mark # persist for the next run
updated_since is inclusive, so re-running with a stored watermark may re-return the
last record you already saw. Make your write idempotent (upsert by uuid) so replays
are harmless.
Transcripts change after ingestion
A meeting’s updated_at also moves when its transcript artifact is rebuilt, which happens
after ingestion rather than during it: usually because speakers on the transcript were
identified later, so lines that published null for speaker_name and speaker_role now
carry a name and a role. The utterances themselves are unchanged. When a meeting you have
already stored comes back in an updated_since page, re-fetch
GET /v1/meetings/{uuid}/transcript and compare its generated_at
with the value you recorded: a newer one means the JSONL behind the presigned URL has been
replaced, and is worth downloading again.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Hamlet API","colors":{"primary":"#2f9c62","light":"#4ec27a","dark":"#0b1220"},"logo":{"light":"https://mintcdn.com/hamlet/MZ2LL5vcdGU31OUZ/logo/light.svg?fit=max\u0026auto=format\u0026n=MZ2LL5vcdGU31OUZ\u0026q=85\u0026s=d5adb5be38482cd4df1c1bf59a46b4b6","dark":"https://mintcdn.com/hamlet/MZ2LL5vcdGU31OUZ/logo/dark.svg?fit=max\u0026auto=format\u0026n=MZ2LL5vcdGU31OUZ\u0026q=85\u0026s=f172a7b6dc953b50f437bc69b179199e"},"favicon":"https://mintcdn.com/hamlet/MZ2LL5vcdGU31OUZ/favicon.svg?fit=max\u0026auto=format\u0026n=MZ2LL5vcdGU31OUZ\u0026q=85\u0026s=940383c0439fbe9e92c8db75a77f64eb","footer":{"socials":{"website":"https://www.myhamlet.com"},"links":[{"header":"Company","items":[{"label":"About","href":"https://www.myhamlet.com/about"},{"label":"Contact","href":"https://www.myhamlet.com/contact"}]},{"header":"Legal","items":[{"label":"Privacy","href":"https://www.myhamlet.com/privacy"},{"label":"Terms","href":"https://www.myhamlet.com/terms"}]}]},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hamlet","hasAudioNarration":false,"actualSubdomain":"hamlet","customDomains":["www.myhamlet.com"],"gitSource":{"type":"github","owner":"myhamlet","repo":"hamlet-web-v2","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aea98937d64b58344abec5b","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"Guides","count":7},{"language":"default","tag":"API reference","count":6},{"language":"default","tag":"Meetings","count":3},{"language":"default","tag":"Get started","count":2},{"language":"default","tag":"Government Bodies","count":1},{"language":"default","tag":"Locations","count":1},{"language":"default","tag":"System","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"incremental-sync","slug":"/incremental-sync","pageMetadata":{"title":"Incremental sync","description":"Pull only what changed since your last run with updated_since.","href":"/incremental-sync"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Pull only what changed since your last run with updated_since.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`To sync efficiently, fetch only the records that changed since your last run rather than\nre-paging the entire collection every time.`}),`\n`,_jsx(Heading,{level:`2`,id:`updated_since`,children:_jsx(_components.code,{children:`updated_since`})}),`\n`,_jsxs(_components.p,{children:[`Pass `,_jsx(_components.code,{children:`updated_since`}),` — an ISO-8601 timestamp `,_jsx(_components.strong,{children:`with an offset`}),` (a `,_jsx(_components.code,{children:`Z`}),` or numeric offset,\ne.g. `,_jsx(_components.code,{children:`2026-05-01T18:22:10Z`}),`). It returns records with `,_jsx(_components.code,{children:`updated_at`}),` at or after that time:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.myhamlet.com/v1/locations?updated_since=2026-05-01T18:22:10Z\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer hmlt_your_api_key\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`updated_since`}),` `,_jsx(_components.strong,{children:`composes with the cursor`}),` — page through the filtered results exactly\nas on the `,_jsx(_components.a,{href:`/pagination`,children:`Pagination`}),` page, just with `,_jsx(_components.code,{children:`updated_since`}),` added to each request.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`A malformed or offset-less `,_jsx(_components.code,{children:`updated_since`}),` (for example `,_jsx(_components.code,{children:`2026-05-01`}),` or\n`,_jsx(_components.code,{children:`2026-05-01T18:22:10`}),` with no `,_jsx(_components.code,{children:`Z`}),`) returns `,_jsx(_components.code,{children:`400`}),` (`,_jsx(_components.code,{children:`invalid_request`}),`).`]})}),`\n`,_jsx(Heading,{level:`2`,id:`a-durable-sync-loop`,children:`A durable sync loop`}),`\n`,_jsxs(_components.p,{children:[`Because results are ordered by `,_jsx(_components.code,{children:`updated_at`}),` ascending, a robust sync stores the\n`,_jsx(_components.code,{children:`updated_at`}),` of the last item it processed and passes it as `,_jsx(_components.code,{children:`updated_since`}),` on the next\nrun:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`base `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.myhamlet.com/v1/locations\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer hmlt_your_api_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# high_water_mark is persisted between runs (e.g. in your database)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` sync`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`high_water_mark`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cursor `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` None`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` while`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` params `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"per_page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"updated_since\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: high_water_mark}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cursor:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` params[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cursor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cursor`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` page `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(base, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`params`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`params).json()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` item `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` page[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` upsert(item)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` high_water_mark `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` item[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# advance the watermark`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cursor `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` page[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"next_cursor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cursor `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`is`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` None`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` break`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` high_water_mark `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# persist for the next run`})]}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`updated_since`}),` is inclusive, so re-running with a stored watermark may re-return the\nlast record you already saw. Make your write idempotent (upsert by `,_jsx(_components.code,{children:`uuid`}),`) so replays\nare harmless.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`transcripts-change-after-ingestion`,children:`Transcripts change after ingestion`}),`\n`,_jsxs(_components.p,{children:[`A meeting’s `,_jsx(_components.code,{children:`updated_at`}),` also moves when its transcript artifact is rebuilt, which happens\nafter ingestion rather than during it: usually because speakers on the transcript were\nidentified later, so lines that published `,_jsx(_components.code,{children:`null`}),` for `,_jsx(_components.code,{children:`speaker_name`}),` and `,_jsx(_components.code,{children:`speaker_role`}),` now\ncarry a name and a role. The utterances themselves are unchanged. When a meeting you have\nalready stored comes back in an `,_jsx(_components.code,{children:`updated_since`}),` page, re-fetch\n`,_jsx(_components.a,{href:`/transcript-format`,children:_jsx(_components.code,{children:`GET /v1/meetings/{uuid}/transcript`})}),` and compare its `,_jsx(_components.code,{children:`generated_at`}),`\nwith the value you recorded: a newer one means the JSONL behind the presigned URL has been\nreplaced, and is worth downloading again.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Incremental sync","description":"Pull only what changed since your last run with updated_since.","href":"/incremental-sync"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"updated_since","slug":"updated_since","depth":2,"children":[]},{"title":"A durable sync loop","slug":"a-durable-sync-loop","depth":2,"children":[]},{"title":"Transcripts change after ingestion","slug":"transcripts-change-after-ingestion","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"hamlet","siteName":"Hamlet API","title":"Incremental sync - Hamlet API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-11T20:08:52.545Z","originalFileLocation":"incremental-sync.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Pull only what changed since your last run with updated_since.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Hamlet API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/hamlet/fBW4WBFFTEztT1ne/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/hamlet/fBW4WBFFTEztT1ne/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/hamlet/fBW4WBFFTEztT1ne/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/hamlet/fBW4WBFFTEztT1ne/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/hamlet/fBW4WBFFTEztT1ne/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/hamlet/fBW4WBFFTEztT1ne/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/hamlet/fBW4WBFFTEztT1ne/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/hamlet/fBW4WBFFTEztT1ne/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/hamlet/fBW4WBFFTEztT1ne/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Incremental sync - Hamlet API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Pull only what changed since your last run with updated_since.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hamlet API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.myhamlet.com/docs/incremental-sync\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hamlet.mintlify.site/docs/_mintlify/api/og/v2?division=Guides\u0026amp;title=Incremental+sync\u0026amp;description=Pull+only+what+changed+since+your+last+run+with+updated_since.\u0026amp;theme=35df60d4d183b3419c6e4650\u0026amp;signature=4cf20bc4ee8679ff751d062865f3de7c4c1d486f9bdc4f91320929e83c321ee3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Incremental sync - Hamlet API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Pull only what changed since your last run with updated_since.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hamlet.mintlify.site/docs/_mintlify/api/og/v2?division=Guides\u0026amp;title=Incremental+sync\u0026amp;description=Pull+only+what+changed+since+your+last+run+with+updated_since.\u0026amp;theme=35df60d4d183b3419c6e4650\u0026amp;signature=4cf20bc4ee8679ff751d062865f3de7c4c1d486f9bdc4f91320929e83c321ee3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/hamlet/fBW4WBFFTEztT1ne/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Hamlet API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2f9c62\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.myhamlet.com/docs/incremental-sync\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/incremental-sync.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.myhamlet.com/#organization\",\"name\":\"Hamlet API\",\"url\":\"https://www.myhamlet.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hamlet/MZ2LL5vcdGU31OUZ/logo/light.svg?fit=max\u0026auto=format\u0026n=MZ2LL5vcdGU31OUZ\u0026q=85\u0026s=d5adb5be38482cd4df1c1bf59a46b4b6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.myhamlet.com/docs#website\",\"name\":\"Hamlet API\",\"url\":\"https://www.myhamlet.com/docs\",\"publisher\":{\"@id\":\"https://www.myhamlet.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.myhamlet.com/docs/incremental-sync#webpage\",\"url\":\"https://www.myhamlet.com/docs/incremental-sync\",\"name\":\"Incremental sync\",\"description\":\"Pull only what changed since your last run with updated_since.\",\"dateModified\":\"2026-09-11T20:08:52.545Z\",\"isPartOf\":{\"@id\":\"https://www.myhamlet.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.myhamlet.com/docs/incremental-sync#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.myhamlet.com/docs/incremental-sync#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://www.myhamlet.com/docs/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Incremental sync\",\"item\":\"https://www.myhamlet.com/docs/incremental-sync\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.myhamlet.com/docs/incremental-sync#article\",\"headline\":\"Incremental sync\",\"name\":\"Incremental sync\",\"description\":\"Pull only what changed since your last run with updated_since.\",\"url\":\"https://www.myhamlet.com/docs/incremental-sync\",\"mainEntityOfPage\":{\"@id\":\"https://www.myhamlet.com/docs/incremental-sync#webpage\"},\"dateModified\":\"2026-09-11T20:08:52.545Z\",\"publisher\":{\"@id\":\"https://www.myhamlet.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.myhamlet.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Hamlet API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Hamlet API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/incremental-sync.md","siteName":"Hamlet API","nav":{"global":null,"groups":[{"group":"Get started","pages":[{"title":"Hamlet API","href":"/index"},{"title":"Quickstart","href":"/quickstart"}]},{"group":"Guides","pages":[{"title":"Authentication","href":"/authentication"},{"title":"Rate limits","href":"/rate-limits"},{"title":"Pagination","description":"Page through list endpoints with opaque cursors.","href":"/pagination"},{"title":"Incremental sync","href":"/incremental-sync"},{"title":"Transcript format","description":"How to fetch a meeting transcript and the structure of the JSONL artifact.","href":"/transcript-format"},{"title":"Agenda topics","href":"/agenda-topics"},{"title":"Errors","href":"/errors"}]},{"group":"API reference","pages":[{"group":"System","pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"/openapi.json get /health","href":"/api-reference/system/health-check"}]},{"group":"Meetings","pages":[{"title":"List meetings","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/meetings","href":"/api-reference/meetings/list-meetings"},{"title":"Get a meeting's agenda","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/meetings/{uuid}/agenda","href":"/api-reference/meetings/get-a-meetings-agenda"},{"title":"Get a meeting's transcript","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/meetings/{uuid}/transcript","href":"/api-reference/meetings/get-a-meetings-transcript"}]},{"group":"Locations","pages":[{"title":"List locations","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/locations","href":"/api-reference/locations/list-locations"}]},{"group":"Government Bodies","pages":[{"title":"List a location's government bodies","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/locations/{uuid}/government-bodies","href":"/api-reference/government-bodies/list-a-locations-government-bodies"}]}]}]},"basePath":"","title":"Incremental sync - Hamlet API","deploymentId":"dpl_2MqcLy8smQrrovUehgcZEsoo1tJX","buildId":"dpl_2MqcLy8smQrrovUehgcZEsoo1tJX","dynamics":[],"chunks":[]}