Load files from a source into a table: the service reads the files where they are, derives a searchable schema, embeds the text and writes the rows. The request is answered once the checks that take a bounded time have passed; the load then runs on its own and is followed with GET /v1/hydrate/{database}.
One path, four answers, by two fields of the request. With a table: 202 and that table’s load. With no table: 202 and a plan, which loads one table per folder found under the source. With dry_run: true: 200 and nothing written, for the one table or for every table found. A refusal has the same status and body either way.
A table that already exists but has no load on record is not refused here: with if_exists: refuse (the default) the load is accepted and then ends failed, saying the table exists. A sync load is instead taken over the table as it stands.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
database
string
required
The database to load into.
Body
application/json
What to load and how. Only source is required.
A load: read the files at source, derive a searchable table schema from them, embed the text, and write the rows into table. Only source is required. An unknown field is refused with 400.
source
Bucket · object
required
Where the source files are.
Bucket
PublicS3
Prefix
Show child attributes
batch
object
How the load sizes its commits; the service's defaults when absent,
which suit most loads.
Show child attributes
chunk
null | object
Split a long text column into one table row per chunk.
Show child attributes
columns
string[] | null
Source columns to carry into the table; every column when absent.
csv
null | object
How a delimited source is written; read only when format is csv,
or auto and the source turns out to be delimited text.
Show child attributes
docs
string[]
Documentation files to read for the table's context, beyond the ones
found under the source itself: object keys in the same root as the
source (the database's root for a prefix source, the bucket for a
bucket one), each read whatever its name. For a data dictionary
several tables share, kept beside their prefixes rather than copied
under each.
dry_run
boolean
Make every check a load is accepted by and stop there: the
database, the account's standing, the notice address, access to the
source, and the source listed and read as the load would read it.
Nothing is loaded, written or counted; 200 when the load would be
accepted, the refusal it would get otherwise. For checking access to
a source before loading it.
embed
null | object
The embedding column to build, and the text columns it is made
from. Absent, the load builds one from the text columns it finds;
no_embed builds none.
Show child attributes
format
enum<string>
The format the source files are written in; parquet when left out.
Available options:
parquet,
orc,
ndjson,
csv,
iceberg,
elasticsearch_snapshot,
delta,
auto
fts
object[]
The full-text indexes to build, one per column named. Absent, every
text column is indexed; no_fts builds none.
Show child attributes
if_exists
enum<string>
What to do when the table already exists; refuse when absent.
Available options:
refuse,
append,
replace
key_patterns
string[]
Which files under the source are read, by their names: a key is read
when its last path segment matches one of these patterns, in which
* stands for any run of characters and ? for one. *.parquet keeps
events/2026-10-01/part-0.parquet and leaves out
part-0.parquet.crc beside it; summary.json keeps that one
file of each folder. For a source that keeps files of several kinds
side by side. Empty or absent, every file is read.
The format, auto's detection included, then sees only the files
kept. An Iceberg table ignores it: its files are the ones its
metadata names, never the ones a listing finds, so iceberg reads
the whole table whatever this says.
no_embed
boolean
Build no embedding column even when a text column would take one.
no_fts
boolean
Build no text index even when a text column would take one.
notify
null | object
Who to tell when the load ends (succeeded, failed, or stopped before
it finished) in one short mail to email. The address must already
be confirmed for the account, or the request is refused with 403.
A cancel withdraws the notice. Absent, nobody is told and the
caller polls the load's status.
Show child attributes
on_failure
enum<string>
What becomes of a half-built table when the load fails for good or
is cancelled; keep when absent.
Available options:
drop,
keep
on_type_drift
enum<string>
What a sync pass does when a column's source type has drifted
lossily from the type the table stores; rewrite when absent. A
lossless widen, and a column the table does not have yet, are always
taken whatever this says.
Available options:
rewrite,
fail
parts
integer<int32> | null
How many parts the load is split into, run side by side, each
taking a share of the source's files. Absent, the service chooses
from the source's size, so a small table is one part and a large
one uses as many as it may; 1 is one part. At most 64. On a
resume it must match the count the load was started with, or be
absent.
Required range: x >= 0
path_columns
object
Columns whose values are taken from where each file sits rather than
from what it holds - a tenant or application id in the bucket's name,
a date folder, Hive's name=value folders - stamped on every row the
file gives (every chunk of it, when the table chunks), or, declared
store: false, captured only to choose the files read by. A file
whose path does not match is left out and counted (unmatched_paths
in the load's status), never loaded with a null. Not for an Iceberg
or Delta table or a snapshot, whose files are the ones their
metadata names. Absent, no column is taken from the path.
object
object[]
Show child attributes
path_filter
object
Which files are read, by the values path_columns takes from their
paths: a condition per path column, every one of which a file's
values must meet. Applied to the listing, before a file is read or
counted against an allowance; a condition on a value taken from a
folder leaves the folders out of range unlisted. A relative bound
(-365d) is resolved when the source is listed: for a load, once,
when it is accepted, which a resume of it shares; for each sync
pass, at the pass. A file a window has moved past stays in the
table: the filter decides what is read, not what is kept, and a sync
pass neither reads such a file nor counts it gone.
Show child attributes
resume
boolean
Continue a stopped load from its checkpoint instead of starting one;
with no checkpoint to continue from - a run that never saved one -
the load starts from the beginning. A resume asks for the data the
load's own request did: one that changes the source, the files read
or how they are read, the columns or their roles, or whether the
rows are appended is refused with 409 once the load has run.
snapshot
null | object
Which index of a snapshot repository to load: required when format
is elasticsearch_snapshot (or auto over a repository), refused
with any other format.
Show child attributes
sync
boolean
Keep the table matching the files in its source rather than load it
once. The load numbers every source file, stamps each row with its
file's number, and records each file it loaded (its key, version
marker, size, modification time and rows) in a list the table keeps
hidden beside it; a successful load ends synced rather than
succeeded. A request that names no table passes it to every table
it loads. Refused with if_exists: append, since an appended table
holds rows from no file, and for a prefix source, which is staged
data loaded once. Absent or false, a one-off load.
Every pass keeps the roles the table was built with - the columns its
embedding is made from, its text indexes, the column it cuts into
passages - as the table's own schema records them, so every row is
embedded and indexed alike. A column that later files bring, prose
included, is stored as a plain column in no role: neither embedded
nor text-indexed, and not found by vector or keyword search, until
the table is loaded again.
table
string
The table to load. Left out or empty, one table is loaded per folder
directly under the source instead, each named for its folder (from
a bucket source, for the bucket first) and loaded on its own. Such a request
is answered with a plan, followed with GET ?plan=.
text_columns
string[]
Text columns kept as their text (by source or table name), beside
those the load keeps so by itself: their values are never parsed as
JSON documents whose fields become columns of their own. A load
keeps every text column whose values are mostly not JSON as text
without being asked - a column of source files, where a file that
happens to be JSON is still a file - and opens the rest, a column of
serialized documents, for fields. Naming a column here keeps it as
text whatever its values are. Each must name a carried text column.
Response
Dry run (dry_run: true): the load would be accepted. Nothing was written or counted. The body is for the one table the request named, or lists every table found when it named none.
Option 1
Option 2
What a dry run that would be accepted is answered with (200).
admissible
boolean
required
Always true: a load that would not be accepted is answered with
its refusal instead.
job
string
required
The name the load would have.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Infino","description":"Infino is an open-source retrieval engine for full-text, vector, and SQL search, with your data stored as Apache Parquet on object storage.","colors":{"primary":"#d24011","light":"#e8623a","dark":"#d24011"},"logo":{"light":"https://mintcdn.com/infino-29/sXqDYmwcZ7BW4kvO/logo/infino-logo.png?fit=max\u0026auto=format\u0026n=sXqDYmwcZ7BW4kvO\u0026q=85\u0026s=6bf8ba5e6249a14bb302a90e30e5e18f","dark":"https://mintcdn.com/infino-29/sXqDYmwcZ7BW4kvO/logo/infino-logo.png?fit=max\u0026auto=format\u0026n=sXqDYmwcZ7BW4kvO\u0026q=85\u0026s=6bf8ba5e6249a14bb302a90e30e5e18f","href":"https://infino.ai"},"favicon":"https://mintcdn.com/infino-29/LrgKEC9MS1pd7XX7/favicon.png?fit=max\u0026auto=format\u0026n=LrgKEC9MS1pd7XX7\u0026q=85\u0026s=e08bd7081efa9de5d611ea206ba6e46c","navbar":{"links":[{"href":"https://infino.ai","label":"Home"},{"href":"https://infino.ai/vs","label":"Compare"},{"href":"https://infino.ai/cloud","label":"Infino Cloud"},{"href":"https://github.com/infino-ai/infino","label":"GitHub"}],"primary":{"type":"button","label":"Talk to us","href":"mailto:[email protected]"}},"footer":{"socials":{"github":"https://github.com/infino-ai/infino"},"links":[{"header":"Resources","items":[{"label":"GitHub","href":"https://github.com/infino-ai/infino"},{"label":"Issues","href":"https://github.com/infino-ai/infino/issues"}]}]},"search":{"prompt":"Search the Infino docs…"},"seo":{"metatags":{"canonical":"https://infino.ai/docs","og:site_name":"Infino","og:type":"website","og:image":"/images/og-card.png","twitter:card":"summary_large_image","twitter:image":"/images/og-card.png"},"indexing":"all"},"fonts":{"family":"Inter"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"infino-29","hasAudioNarration":false,"actualSubdomain":"infino-29","customDomains":["infino.ai"],"gitSource":{"type":"github","owner":"infino-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10f1f49ffae5051c417fed"},"feedback":{"agentFeedback":true,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b114b72948bc6989af172ce","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"API Reference","count":32},{"language":"default","tag":"REST API","count":29},{"language":"default","tag":"Documentation","count":28},{"language":"default","tag":"Infino Cloud","count":12},{"language":"default","tag":"Guides","count":9},{"language":"default","tag":"Agent","count":7},{"language":"default","tag":"Search","count":7},{"language":"default","tag":"Reference","count":4},{"language":"default","tag":"Databases","count":4},{"language":"default","tag":"Hydrate","count":4}]},"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":"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/hydrate/start-a-load","slug":"/api-reference/hydrate/start-a-load","pageMetadata":{"title":"Start a load","description":"Load files from a source into a table: the service reads the files where they are, derives a searchable schema, embeds the text and writes the rows. The request is answered once the checks that take a bounded time have passed; the load then runs on its own and is followed with `GET /v1/hydrate/{database}`.\n\nOne path, four answers, by two fields of the request. With a `table`: `202` and that table's load. With no `table`: `202` and a plan, which loads one table per folder found under the source. With `dry_run: true`: `200` and nothing written, for the one table or for every table found. A refusal has the same status and body either way.\n\nA table that already exists but has no load on record is not refused here: with `if_exists: refuse` (the default) the load is accepted and then ends `failed`, saying the table exists. A `sync` load is instead taken over the table as it stands.\n\nPreview: this route may change between releases.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/hydrate/{database}","href":"/api-reference/hydrate/start-a-load","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Load files from a source into a table: the service reads the files where they are, derives a searchable schema, embeds the text and writes the rows. The request is answered once the checks that take a bounded time have passed; the load then runs on its own and is followed with \", _jsx(_components.code, {\n children: \"GET /v1/hydrate/{database}\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"One path, four answers, by two fields of the request. With a \", _jsx(_components.code, {\n children: \"table\"\n }), \": \", _jsx(_components.code, {\n children: \"202\"\n }), \" and that table’s load. With no \", _jsx(_components.code, {\n children: \"table\"\n }), \": \", _jsx(_components.code, {\n children: \"202\"\n }), \" and a plan, which loads one table per folder found under the source. With \", _jsx(_components.code, {\n children: \"dry_run: true\"\n }), \": \", _jsx(_components.code, {\n children: \"200\"\n }), \" and nothing written, for the one table or for every table found. A refusal has the same status and body either way.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"A table that already exists but has no load on record is not refused here: with \", _jsx(_components.code, {\n children: \"if_exists: refuse\"\n }), \" (the default) the load is accepted and then ends \", _jsx(_components.code, {\n children: \"failed\"\n }), \", saying the table exists. A \", _jsx(_components.code, {\n children: \"sync\"\n }), \" load is instead taken over the table as it stands.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Preview: this route may change between releases.\"\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Start a load","description":"Load files from a source into a table: the service reads the files where they are, derives a searchable schema, embeds the text and writes the rows. The request is answered once the checks that take a bounded time have passed; the load then runs on its own and is followed with `GET /v1/hydrate/{database}`.\n\nOne path, four answers, by two fields of the request. With a `table`: `202` and that table's load. With no `table`: `202` and a plan, which loads one table per folder found under the source. With `dry_run: true`: `200` and nothing written, for the one table or for every table found. A refusal has the same status and body either way.\n\nA table that already exists but has no load on record is not refused here: with `if_exists: refuse` (the default) the load is accepted and then ends `failed`, saying the table exists. A `sync` load is instead taken over the table as it stands.\n\nPreview: this route may change between releases.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/hydrate/{database}","href":"/api-reference/hydrate/start-a-load","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/infino-29/645d308d2f9fae79/structured-data.js","/docs/_mintlify/custom/infino-29/ec3d5239f2e7ff69/same-tab-links.js","/docs/_mintlify/custom/infino-29/cf391a6d1558677e/context7-widget.js"],"openApiReferenceData":{"operation":{"tags":["Hydrate"],"summary":"Start a load","description":"Load files from a source into a table: the service reads the files where they are, derives a searchable schema, embeds the text and writes the rows. The request is answered once the checks that take a bounded time have passed; the load then runs on its own and is followed with `GET /v1/hydrate/{database}`.\n\nOne path, four answers, by two fields of the request. With a `table`: `202` and that table's load. With no `table`: `202` and a plan, which loads one table per folder found under the source. With `dry_run: true`: `200` and nothing written, for the one table or for every table found. A refusal has the same status and body either way.\n\nA table that already exists but has no load on record is not refused here: with `if_exists: refuse` (the default) the load is accepted and then ends `failed`, saying the table exists. A `sync` load is instead taken over the table as it stands.\n\nPreview: this route may change between releases.","operationId":"hydrate_start","parameters":["8c1ab0c8-77da-49fe-906b-5427e1feb0c6"],"requestBody":"1cb6e994-bc9d-49c1-b991-beeb4abd9a5c","responses":{"200":"76f8e6ed-3b6b-4166-b7ff-25503d986497","202":"9b7bfd83-505c-4e5d-93ea-3b8b6e0ddfcf","400":"573d3d5d-3ce3-459f-b963-c299f23401e8","401":"c994f21a-b4a7-4a49-92a5-3113f912f596","402":"de74a637-f49a-4d33-b631-0ec1e46db2c5","403":"781c1b11-1a40-4d0f-a6e1-bfb431a99f0c","404":"f61e3243-d835-4ff8-abcf-53e04d9f1b14","409":"e515bf6e-4952-4614-9836-edeafe3cb6fa","410":"ce1092be-b09d-464b-8b7b-4a2b6cfa2885","412":"ca47e6e4-a644-4587-9b04-aa9a3d99655b","429":"a38fbe30-50ac-48bf-9920-b12566f3b11f","500":"d12d9078-8683-4e1f-b859-b94075a7d024","501":"7d5021f5-cbbf-4f0c-a194-bc6c878362db","502":"3366607d-ca97-4385-8f7f-754991665eb1","503":"0bd67e7b-2c72-4565-8238-76f50fa051bf"},"security":["1258fe85-5976-492c-bc8f-b856b488c3ea"],"x-stability":"preview","method":"post","type":"path","servers":["599977cb-8918-427d-9d7b-8a848f5cf332"],"path":"/v1/hydrate/{database}","baseUrlOptions":["https://api.platform.infino.ws"],"title":"Start a load","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"8c1ab0c8-77da-49fe-906b-5427e1feb0c6":{"name":"database","in":"path","description":"The database to load into.","required":true,"schema":{"type":"string","isRequired":true,"description":"The database to load into.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"description":"What to load and how. Only `source` is required.","content":{"application/json":{"schema":{"type":"object","description":"A load: read the files at `source`, derive a searchable table schema from them, embed the text, and write the rows into `table`. Only `source` is required. An unknown field is refused with `400`.","required":["source"],"properties":{"source":{"oneOf":[{"type":"object","title":"Bucket","description":"Where the source files are.","required":["bucket","prefix","kind"],"properties":{"bucket":{"type":"string","description":"The bucket's name (on Azure Blob Storage, the container's).","isRequired":true,"uniqueKey":"source.oneOf.0.bucket","typeLabel":"string"},"kind":{"type":"string","enum":["bucket"],"isRequired":true,"uniqueKey":"source.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"prefix":{"type":"string","description":"A key prefix inside the bucket, read as a folder: `team` reads\n`team/` and never `team-finance/`. Empty reads the whole bucket.\nIt must not start with `/` or contain `..`.","isRequired":true,"uniqueKey":"source.oneOf.0.prefix","typeLabel":"string"},"encryption":{"oneOf":[{"type":"null","uniqueKey":"source.oneOf.0.encryption.oneOf.0","typeLabel":"null"},{"type":"object","title":"AwsKms","description":"The customer-managed key the bucket's objects are encrypted\nunder, when it has one, so the load can decrypt them. Leave it\nout for a bucket without one.","required":["key_arn","bucket_key","kind"],"properties":{"bucket_key":{"type":"boolean","description":"Whether to use an S3 Bucket Key, which cuts KMS request cost. It is\napplied on every write. Set it `false` when the key policy is\npinned to object ARNs, where a bucket key would be denied.","isRequired":true,"uniqueKey":"source.oneOf.0.encryption.oneOf.1.bucket_key","typeLabel":"boolean"},"key_arn":{"type":"string","description":"The KMS key ARN. Its region must equal the bucket's region.","isRequired":true,"uniqueKey":"source.oneOf.0.encryption.oneOf.1.key_arn","typeLabel":"string"},"kind":{"type":"string","enum":["aws_kms"],"isRequired":true,"uniqueKey":"source.oneOf.0.encryption.oneOf.1.kind","typeLabel":"enum\u003cstring>"}},"uniqueKey":"source.oneOf.0.encryption.oneOf.1","typeLabel":"AwsKms · object"},{"type":"object","title":"GcpKms","description":"The customer-managed key the bucket's objects are encrypted\nunder, when it has one, so the load can decrypt them. Leave it\nout for a bucket without one.","required":["key_name","kind"],"properties":{"key_name":{"type":"string","description":"The Cloud KMS key resource name.","isRequired":true,"uniqueKey":"source.oneOf.0.encryption.oneOf.2.key_name","typeLabel":"string"},"kind":{"type":"string","enum":["gcp_kms"],"isRequired":true,"uniqueKey":"source.oneOf.0.encryption.oneOf.2.kind","typeLabel":"enum\u003cstring>"}},"uniqueKey":"source.oneOf.0.encryption.oneOf.2","typeLabel":"GcpKms · object"},{"type":"object","title":"AzureVault","description":"The customer-managed key the bucket's objects are encrypted\nunder, when it has one, so the load can decrypt them. Leave it\nout for a bucket without one.","required":["key_id","kind"],"properties":{"key_id":{"type":"string","description":"The Key Vault key id (vault URL).","isRequired":true,"uniqueKey":"source.oneOf.0.encryption.oneOf.3.key_id","typeLabel":"string"},"kind":{"type":"string","enum":["azure_vault"],"isRequired":true,"uniqueKey":"source.oneOf.0.encryption.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"encryption_scope":{"oneOf":[{"type":"string","description":"The storage-account encryption scope bound to the key, where one is\nused. Left out, no scope is named.","uniqueKey":"source.oneOf.0.encryption.oneOf.3.encryption_scope.oneOf.0","typeLabel":"string"},{"type":"null","description":"The storage-account encryption scope bound to the key, where one is\nused. Left out, no scope is named.","uniqueKey":"source.oneOf.0.encryption.oneOf.3.encryption_scope.oneOf.1","typeLabel":"null"}],"uniqueKey":"source.oneOf.0.encryption.oneOf.3.encryption_scope","typeLabel":"string | null"}},"uniqueKey":"source.oneOf.0.encryption.oneOf.3","typeLabel":"AzureVault · object"}],"uniqueKey":"source.oneOf.0.encryption","typeLabel":"null | AwsKms · object | GcpKms · object | AzureVault · object"}},"isRequired":true,"uniqueKey":"source.oneOf.0","typeLabel":"Bucket · object"},{"type":"object","title":"PublicS3","description":"Where the source files are.","required":["bucket","prefix","region","kind"],"properties":{"bucket":{"type":"string","description":"The public bucket's name.","isRequired":true,"uniqueKey":"source.oneOf.1.bucket","typeLabel":"string"},"kind":{"type":"string","enum":["public_s3"],"isRequired":true,"uniqueKey":"source.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"prefix":{"type":"string","description":"A key prefix inside the bucket, read as a folder. Empty reads\nthe whole bucket.","isRequired":true,"uniqueKey":"source.oneOf.1.prefix","typeLabel":"string"},"region":{"type":"string","description":"The bucket's own AWS region, for example `us-east-1`.","isRequired":true,"uniqueKey":"source.oneOf.1.region","typeLabel":"string"}},"isRequired":true,"uniqueKey":"source.oneOf.1","typeLabel":"PublicS3 · object"},{"type":"object","title":"Prefix","description":"Where the source files are.","required":["prefix","kind"],"properties":{"kind":{"type":"string","enum":["prefix"],"isRequired":true,"uniqueKey":"source.oneOf.2.kind","typeLabel":"enum\u003cstring>"},"prefix":{"type":"string","description":"The key prefix, relative to the database's root. It must not be\nempty, start with `/` or contain `..`.","isRequired":true,"uniqueKey":"source.oneOf.2.prefix","typeLabel":"string"}},"isRequired":true,"uniqueKey":"source.oneOf.2","typeLabel":"Prefix · object"}],"isRequired":true,"uniqueKey":"source","typeLabel":"Bucket · object | PublicS3 · object | Prefix · object"},"batch":{"type":"object","description":"How the load sizes its commits; the service's defaults when absent,\nwhich suit most loads.","properties":{"commit_target_mb":{"oneOf":[{"type":"integer","format":"int64","description":"The stored bytes a commit aims for, in MiB. The load also holds\nevery commit to a fixed memory bound this does not raise, so on a\nwide, sparse table, whose rows take far more in memory than they\nstore, commits can come out smaller than asked.","minimum":0,"uniqueKey":"batch.commit_target_mb.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"The stored bytes a commit aims for, in MiB. The load also holds\nevery commit to a fixed memory bound this does not raise, so on a\nwide, sparse table, whose rows take far more in memory than they\nstore, commits can come out smaller than asked.","minimum":0,"uniqueKey":"batch.commit_target_mb.oneOf.1","typeLabel":"null"}],"uniqueKey":"batch.commit_target_mb","typeLabel":"integer\u003cint64> | null"},"max_rows_per_commit":{"oneOf":[{"type":"integer","format":"int64","description":"The most rows one commit holds.","minimum":0,"uniqueKey":"batch.max_rows_per_commit.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"The most rows one commit holds.","minimum":0,"uniqueKey":"batch.max_rows_per_commit.oneOf.1","typeLabel":"null"}],"uniqueKey":"batch.max_rows_per_commit","typeLabel":"integer\u003cint64> | null"},"optimize_every_commits":{"oneOf":[{"type":"integer","format":"int64","description":"Commits between the table optimizations a run interleaves with\nthem. A load on Infino Cloud runs none: the service compacts the\ntable once the load has ended.","minimum":0,"uniqueKey":"batch.optimize_every_commits.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"Commits between the table optimizations a run interleaves with\nthem. A load on Infino Cloud runs none: the service compacts the\ntable once the load has ended.","minimum":0,"uniqueKey":"batch.optimize_every_commits.oneOf.1","typeLabel":"null"}],"uniqueKey":"batch.optimize_every_commits","typeLabel":"integer\u003cint64> | null"}},"additionalProperties":false,"uniqueKey":"batch","typeLabel":"object"},"chunk":{"oneOf":[{"type":"null","uniqueKey":"chunk.oneOf.0","typeLabel":"null"},{"type":"object","description":"Split a long text column into one table row per chunk.","required":["column"],"properties":{"column":{"type":"string","description":"The text column to split. In the table it holds each chunk's text.","isRequired":true,"uniqueKey":"chunk.oneOf.1.column","typeLabel":"string"},"first_chunk_only":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"chunk.oneOf.1.first_chunk_only.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Columns kept whole on each row's first chunk only and empty on the\nrest: large per-document fields (an infobox, a reference list) the\ncustomer wants stored and indexed once per row rather than once per\nchunk. A nested column (a list, a struct, a map) is kept so whether\nnamed or not; absent or empty, every other column is copied onto\nevery chunk.","uniqueKey":"chunk.oneOf.1.first_chunk_only.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Columns kept whole on each row's first chunk only and empty on the\nrest: large per-document fields (an infobox, a reference list) the\ncustomer wants stored and indexed once per row rather than once per\nchunk. A nested column (a list, a struct, a map) is kept so whether\nnamed or not; absent or empty, every other column is copied onto\nevery chunk.","uniqueKey":"chunk.oneOf.1.first_chunk_only.oneOf.1","typeLabel":"null"}],"uniqueKey":"chunk.oneOf.1.first_chunk_only","typeLabel":"string[] | null"},"index_column":{"oneOf":[{"type":"string","description":"The column numbering each row's chunks from 0; `chunk` when absent.","uniqueKey":"chunk.oneOf.1.index_column.oneOf.0","typeLabel":"string"},{"type":"null","description":"The column numbering each row's chunks from 0; `chunk` when absent.","uniqueKey":"chunk.oneOf.1.index_column.oneOf.1","typeLabel":"null"}],"uniqueKey":"chunk.oneOf.1.index_column","typeLabel":"string | null"},"markdown":{"type":"boolean","description":"Treat the text as Markdown and split along its headings first.","uniqueKey":"chunk.oneOf.1.markdown","typeLabel":"boolean"},"max_tokens":{"oneOf":[{"type":"integer","description":"The most embedding-model tokens a chunk may hold; 512 when left\nout, a passage. A chunk never takes more than the model reads of a\ndocument, less what the row's other embedding source columns take;\na size past what the model reads is refused.","minimum":0,"uniqueKey":"chunk.oneOf.1.max_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The most embedding-model tokens a chunk may hold; 512 when left\nout, a passage. A chunk never takes more than the model reads of a\ndocument, less what the row's other embedding source columns take;\na size past what the model reads is refused.","minimum":0,"uniqueKey":"chunk.oneOf.1.max_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"chunk.oneOf.1.max_tokens","typeLabel":"integer | null"},"overlap_tokens":{"oneOf":[{"type":"integer","description":"Tokens each chunk repeats from the end of the one before; none when\nabsent. Must be smaller than the chunk.","minimum":0,"uniqueKey":"chunk.oneOf.1.overlap_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Tokens each chunk repeats from the end of the one before; none when\nabsent. Must be smaller than the chunk.","minimum":0,"uniqueKey":"chunk.oneOf.1.overlap_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"chunk.oneOf.1.overlap_tokens","typeLabel":"integer | null"},"path_column":{"oneOf":[{"type":"string","description":"The column naming each row's file. Its extension says how the text\nis cut: code at its definitions, Markdown at its headings, a log at\nits records, packed to about sixty lines, as the code-context client\ncuts files. Absent, a carried text column named `path` is used when\nthere is one; with none, the text is Markdown when `markdown` says so\nand plain lines otherwise. Each chunk's line range, symbol, kind and\nscope are recorded in columns of those names after the numbering\ncolumn.","uniqueKey":"chunk.oneOf.1.path_column.oneOf.0","typeLabel":"string"},{"type":"null","description":"The column naming each row's file. Its extension says how the text\nis cut: code at its definitions, Markdown at its headings, a log at\nits records, packed to about sixty lines, as the code-context client\ncuts files. Absent, a carried text column named `path` is used when\nthere is one; with none, the text is Markdown when `markdown` says so\nand plain lines otherwise. Each chunk's line range, symbol, kind and\nscope are recorded in columns of those names after the numbering\ncolumn.","uniqueKey":"chunk.oneOf.1.path_column.oneOf.1","typeLabel":"null"}],"uniqueKey":"chunk.oneOf.1.path_column","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"chunk.oneOf.1","typeLabel":"object"}],"uniqueKey":"chunk","typeLabel":"null | object"},"columns":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"columns.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Source columns to carry into the table; every column when absent.","uniqueKey":"columns.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Source columns to carry into the table; every column when absent.","uniqueKey":"columns.oneOf.1","typeLabel":"null"}],"uniqueKey":"columns","typeLabel":"string[] | null"},"csv":{"oneOf":[{"type":"null","uniqueKey":"csv.oneOf.0","typeLabel":"null"},{"type":"object","description":"How a delimited source is written; read only when `format` is `csv`,\nor `auto` and the source turns out to be delimited text.","properties":{"delimiter":{"oneOf":[{"type":"string","description":"The one character between fields: `,` when absent; `;` and `\\t` are\ncommon in exports.","uniqueKey":"csv.oneOf.1.delimiter.oneOf.0","typeLabel":"string"},{"type":"null","description":"The one character between fields: `,` when absent; `;` and `\\t` are\ncommon in exports.","uniqueKey":"csv.oneOf.1.delimiter.oneOf.1","typeLabel":"null"}],"uniqueKey":"csv.oneOf.1.delimiter","typeLabel":"string | null"},"header":{"oneOf":[{"type":"boolean","description":"Whether the first record names the columns: yes when absent.","uniqueKey":"csv.oneOf.1.header.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the first record names the columns: yes when absent.","uniqueKey":"csv.oneOf.1.header.oneOf.1","typeLabel":"null"}],"uniqueKey":"csv.oneOf.1.header","typeLabel":"boolean | null"},"quote":{"oneOf":[{"type":"string","description":"The one character that quotes a field: `\"` when absent.","uniqueKey":"csv.oneOf.1.quote.oneOf.0","typeLabel":"string"},{"type":"null","description":"The one character that quotes a field: `\"` when absent.","uniqueKey":"csv.oneOf.1.quote.oneOf.1","typeLabel":"null"}],"uniqueKey":"csv.oneOf.1.quote","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"csv.oneOf.1","typeLabel":"object"}],"uniqueKey":"csv","typeLabel":"null | object"},"docs":{"type":"array","items":{"type":"string","uniqueKey":"docs.items.[INDEX]","typeLabel":"string"},"description":"Documentation files to read for the table's context, beyond the ones\nfound under the source itself: object keys in the same root as the\nsource (the database's root for a `prefix` source, the bucket for a\n`bucket` one), each read whatever its name. For a data dictionary\nseveral tables share, kept beside their prefixes rather than copied\nunder each.","uniqueKey":"docs","typeLabel":"string[]"},"dry_run":{"type":"boolean","description":"Make every check a load is accepted by and stop there: the\ndatabase, the account's standing, the notice address, access to the\nsource, and the source listed and read as the load would read it.\nNothing is loaded, written or counted; `200` when the load would be\naccepted, the refusal it would get otherwise. For checking access to\na source before loading it.","uniqueKey":"dry_run","typeLabel":"boolean"},"embed":{"oneOf":[{"type":"null","uniqueKey":"embed.oneOf.0","typeLabel":"null"},{"type":"object","description":"The embedding column to build, and the text columns it is made\nfrom. Absent, the load builds one from the text columns it finds;\n`no_embed` builds none.","required":["column","source"],"properties":{"column":{"type":"string","description":"The name of the embedding (vector) column to create.","isRequired":true,"uniqueKey":"embed.oneOf.1.column","typeLabel":"string"},"source":{"type":"array","items":{"type":"string","uniqueKey":"embed.oneOf.1.source.items.[INDEX]","typeLabel":"string"},"description":"The text columns whose values are joined into the text that is\nembedded for each row.","isRequired":true,"uniqueKey":"embed.oneOf.1.source","typeLabel":"string[]"}},"additionalProperties":false,"uniqueKey":"embed.oneOf.1","typeLabel":"object"}],"uniqueKey":"embed","typeLabel":"null | object"},"format":{"type":"string","description":"The format the source files are written in; `parquet` when left out.","enum":["parquet","orc","ndjson","csv","iceberg","elasticsearch_snapshot","delta","auto"],"uniqueKey":"format","typeLabel":"enum\u003cstring>"},"fts":{"type":"array","items":{"type":"object","description":"A full-text index on one column of the table.","required":["column"],"properties":{"column":{"type":"string","description":"The text column to index for keyword search.","isRequired":true,"uniqueKey":"fts.items.[INDEX].column","typeLabel":"string"},"analyzer":{"oneOf":[{"type":"string","description":"The analyzer the index is built with. `standard` is the only one,\nand the default when left out.","uniqueKey":"fts.items.[INDEX].analyzer.oneOf.0","typeLabel":"string"},{"type":"null","description":"The analyzer the index is built with. `standard` is the only one,\nand the default when left out.","uniqueKey":"fts.items.[INDEX].analyzer.oneOf.1","typeLabel":"null"}],"uniqueKey":"fts.items.[INDEX].analyzer","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"fts.items.[INDEX]","typeLabel":"object"},"description":"The full-text indexes to build, one per column named. Absent, every\ntext column is indexed; `no_fts` builds none.","uniqueKey":"fts","typeLabel":"object[]"},"if_exists":{"type":"string","description":"What to do when the table already exists; `refuse` when absent.","enum":["refuse","append","replace"],"uniqueKey":"if_exists","typeLabel":"enum\u003cstring>"},"key_patterns":{"type":"array","items":{"type":"string","uniqueKey":"key_patterns.items.[INDEX]","typeLabel":"string"},"description":"Which files under the source are read, by their names: a key is read\nwhen its last path segment matches one of these patterns, in which\n`*` stands for any run of characters and `?` for one. `*.parquet` keeps\n`events/2026-10-01/part-0.parquet` and leaves out\n`part-0.parquet.crc` beside it; `summary.json` keeps that one\nfile of each folder. For a source that keeps files of several kinds\nside by side. Empty or absent, every file is read.\n\nThe format, `auto`'s detection included, then sees only the files\nkept. An Iceberg table ignores it: its files are the ones its\nmetadata names, never the ones a listing finds, so `iceberg` reads\nthe whole table whatever this says.","uniqueKey":"key_patterns","typeLabel":"string[]"},"no_embed":{"type":"boolean","description":"Build no embedding column even when a text column would take one.","uniqueKey":"no_embed","typeLabel":"boolean"},"no_fts":{"type":"boolean","description":"Build no text index even when a text column would take one.","uniqueKey":"no_fts","typeLabel":"boolean"},"notify":{"oneOf":[{"type":"null","uniqueKey":"notify.oneOf.0","typeLabel":"null"},{"type":"object","description":"Who to tell when the load ends (succeeded, failed, or stopped before\nit finished) in one short mail to `email`. The address must already\nbe confirmed for the account, or the request is refused with `403`.\nA cancel withdraws the notice. Absent, nobody is told and the\ncaller polls the load's status.","required":["email"],"properties":{"email":{"type":"string","description":"The address the mail goes to. It must already be confirmed for the\naccount.","isRequired":true,"uniqueKey":"notify.oneOf.1.email","typeLabel":"string"},"link":{"oneOf":[{"type":"string","description":"A page the mail links to, where the loaded table can be used. Only\na link under a prefix the service allows is accepted; any other is\nrefused with `400`.","uniqueKey":"notify.oneOf.1.link.oneOf.0","typeLabel":"string"},{"type":"null","description":"A page the mail links to, where the loaded table can be used. Only\na link under a prefix the service allows is accepted; any other is\nrefused with `400`.","uniqueKey":"notify.oneOf.1.link.oneOf.1","typeLabel":"null"}],"uniqueKey":"notify.oneOf.1.link","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"notify.oneOf.1","typeLabel":"object"}],"uniqueKey":"notify","typeLabel":"null | object"},"on_failure":{"type":"string","description":"What becomes of a half-built table when the load fails for good or\nis cancelled; `keep` when absent.","enum":["drop","keep"],"uniqueKey":"on_failure","typeLabel":"enum\u003cstring>"},"on_type_drift":{"type":"string","description":"What a sync pass does when a column's source type has drifted\n*lossily* from the type the table stores; `rewrite` when absent. A\nlossless widen, and a column the table does not have yet, are always\ntaken whatever this says.","enum":["rewrite","fail"],"uniqueKey":"on_type_drift","typeLabel":"enum\u003cstring>"},"parts":{"oneOf":[{"type":"integer","format":"int32","description":"How many parts the load is split into, run side by side, each\ntaking a share of the source's files. Absent, the service chooses\nfrom the source's size, so a small table is one part and a large\none uses as many as it may; `1` is one part. At most 64. On a\nresume it must match the count the load was started with, or be\nabsent.","minimum":0,"uniqueKey":"parts.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"How many parts the load is split into, run side by side, each\ntaking a share of the source's files. Absent, the service chooses\nfrom the source's size, so a small table is one part and a large\none uses as many as it may; `1` is one part. At most 64. On a\nresume it must match the count the load was started with, or be\nabsent.","minimum":0,"uniqueKey":"parts.oneOf.1","typeLabel":"null"}],"uniqueKey":"parts","typeLabel":"integer\u003cint32> | null"},"path_columns":{"oneOf":[{"type":"null","uniqueKey":"path_columns.oneOf.0","typeLabel":"null"},{"type":"object","description":"Columns whose values are taken from where each file sits rather than\nfrom what it holds - a tenant or application id in the bucket's name,\na date folder, Hive's `name=value` folders - stamped on every row the\nfile gives (every chunk of it, when the table chunks), or, declared\n`store: false`, captured only to choose the files read by. A file\nwhose path does not match is left out and counted (`unmatched_paths`\nin the load's status), never loaded with a null. Not for an Iceberg\nor Delta table or a snapshot, whose files are the ones their\nmetadata names. Absent, no column is taken from the path.","required":["hive"],"properties":{"hive":{"type":"boolean","description":"Must be `true`: the object names Hive's layout and nothing else.","isRequired":true,"uniqueKey":"path_columns.oneOf.1.hive","typeLabel":"boolean"},"store":{"type":"boolean","description":"Whether the folders' columns are stored in the table, as a declared\npath column's `store` says: `false` reads them only to filter, prune\nand plan by, and the table gets no column of them. Stored when\nabsent.","uniqueKey":"path_columns.oneOf.1.store","typeLabel":"boolean"},"types":{"type":"object","description":"The type of a column's values, by the column's name; a column not\nnamed here is text.","additionalProperties":{"type":"string","description":"The type a path column's values are read as. `string` (the default): text. `int64`, `uint64`, `float64`: numbers. `date`: an ISO date, `YYYY-MM-DD`. `timestamp`: an ISO 8601 date or date and time (`2026-10-30T14:00:00Z`; UTC when it names no zone); a bare run of digits is not one. `epoch_ms`: milliseconds since the epoch, as digits with an optional leading `-`.","enum":["string","int64","uint64","float64","date","timestamp","epoch_ms"],"uniqueKey":"path_columns.oneOf.1.types.additionalProperties","typeLabel":"enum\u003cstring>"},"propertyNames":{"type":"string"},"uniqueKey":"path_columns.oneOf.1.types","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"path_columns.oneOf.1","typeLabel":"object"},{"type":"array","items":{"type":"object","description":"One column taken from where each file sits: its name, what its pattern\nis matched against, the pattern, and the type its values are read as.\n\n`pattern` is a template, anchored at both ends and literal except for\nits placeholders: `{value}` is the value, exactly once; `{_}` matches\nwithout capturing; either takes a regular expression after a colon to\nconstrain what it matches (`{value:[0-9]+}`); `{_*}` is any number of\nwhole path segments, none included - except at the pattern's end, where\nit is everything below a folder and takes at least one, so\n`{value}/{_*}` is a folder's files and never a file at the source's root.\nEvery placeholder matches within the segments it stands in: a\nconstraint never reaches across a `/`. A placeholder without a constraint\nmatches within one segment, never a `/`, and as little as it can, so\n`{_}-regional-{value}` splits `acme-io-regional-sub_1` at the literal.\nFor anything a template cannot say, `regex` takes a regular expression\ninstead, anchored at both ends, with the value in the group named\n`value`. Exactly one of the two.","required":["column","from"],"properties":{"column":{"type":"string","description":"The table column the value lands in.","isRequired":true,"uniqueKey":"path_columns.oneOf.2.items.[INDEX].column","typeLabel":"string"},"from":{"type":"string","description":"What the pattern is matched against.","enum":["bucket","key"],"isRequired":true,"uniqueKey":"path_columns.oneOf.2.items.[INDEX].from","typeLabel":"enum\u003cstring>"},"pattern":{"oneOf":[{"type":"string","description":"A template matched against the whole bucket name or key, with\n`{value}` where the column's value is, for example\n`events/{value}/{_*}`. Give exactly one of `pattern` and `regex`.","uniqueKey":"path_columns.oneOf.2.items.[INDEX].pattern.oneOf.0","typeLabel":"string"},{"type":"null","description":"A template matched against the whole bucket name or key, with\n`{value}` where the column's value is, for example\n`events/{value}/{_*}`. Give exactly one of `pattern` and `regex`.","uniqueKey":"path_columns.oneOf.2.items.[INDEX].pattern.oneOf.1","typeLabel":"null"}],"uniqueKey":"path_columns.oneOf.2.items.[INDEX].pattern","typeLabel":"string | null"},"regex":{"oneOf":[{"type":"string","description":"A regular expression matched against the whole bucket name or key,\nwith the column's value in the group named `value`, for what a\ntemplate cannot say. Give exactly one of `pattern` and `regex`.","uniqueKey":"path_columns.oneOf.2.items.[INDEX].regex.oneOf.0","typeLabel":"string"},{"type":"null","description":"A regular expression matched against the whole bucket name or key,\nwith the column's value in the group named `value`, for what a\ntemplate cannot say. Give exactly one of `pattern` and `regex`.","uniqueKey":"path_columns.oneOf.2.items.[INDEX].regex.oneOf.1","typeLabel":"null"}],"uniqueKey":"path_columns.oneOf.2.items.[INDEX].regex","typeLabel":"string | null"},"store":{"type":"boolean","description":"Whether the value is stored in the table: a column of the path\ncolumn's name, stamped on every row of the file. `false` captures\nthe value only to choose files by - `path_filter`, the folders a\nlisting leaves out, the folders a request naming no table reads as\npartitions, the files counted unmatched - and the table gets no\ncolumn of it, so its schema is what the files alone give it, and a\nfile's own column of the same name is no clash. Such a capture takes\nno role (`fts`, `embed`, `chunk`, `columns`). Stored when absent: a\nvalue taken from a path and not stored is lost with the path, and\nonly a reload brings it back.","uniqueKey":"path_columns.oneOf.2.items.[INDEX].store","typeLabel":"boolean"},"type":{"type":"string","description":"The type the value is read as; text when absent.","enum":["string","int64","uint64","float64","date","timestamp","epoch_ms"],"uniqueKey":"path_columns.oneOf.2.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"path_columns.oneOf.2.items.[INDEX]","typeLabel":"object"},"description":"Columns whose values are taken from where each file sits rather than\nfrom what it holds - a tenant or application id in the bucket's name,\na date folder, Hive's `name=value` folders - stamped on every row the\nfile gives (every chunk of it, when the table chunks), or, declared\n`store: false`, captured only to choose the files read by. A file\nwhose path does not match is left out and counted (`unmatched_paths`\nin the load's status), never loaded with a null. Not for an Iceberg\nor Delta table or a snapshot, whose files are the ones their\nmetadata names. Absent, no column is taken from the path.","uniqueKey":"path_columns.oneOf.2","typeLabel":"object[]"}],"uniqueKey":"path_columns","typeLabel":"null | object | object[]"},"path_filter":{"type":"object","description":"Which files are read, by the values `path_columns` takes from their\npaths: a condition per path column, every one of which a file's\nvalues must meet. Applied to the listing, before a file is read or\ncounted against an allowance; a condition on a value taken from a\nfolder leaves the folders out of range unlisted. A relative bound\n(`-365d`) is resolved when the source is listed: for a load, once,\nwhen it is accepted, which a resume of it shares; for each sync\npass, at the pass. A file a window has moved past stays in the\ntable: the filter decides what is read, not what is kept, and a sync\npass neither reads such a file nor counts it gone.","additionalProperties":{"type":"object","description":"What a file's value of one path column must meet for the file to be read: every bound given, compared in the column's type. A bound is a JSON string or a number; on a `date`, `timestamp` or `epoch_ms` column it may also be relative, a signed count of days or hours from the time the source is listed (`-365d`, `-36h`). A file whose value is null meets no condition.","properties":{"eq":{"description":"The value must equal this. Any JSON value is read; a string or a\nnumber is accepted, anything else is refused with `400`.","uniqueKey":"path_filter.additionalProperties.eq","typeLabel":"any"},"gt":{"description":"The value must be greater than this. Any JSON value is read; a\nstring or a number is accepted, anything else is refused with `400`.","uniqueKey":"path_filter.additionalProperties.gt","typeLabel":"any"},"gte":{"description":"The value must be at least this. Any JSON value is read; a string\nor a number is accepted, anything else is refused with `400`.","uniqueKey":"path_filter.additionalProperties.gte","typeLabel":"any"},"in":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"path_filter.additionalProperties.in.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"The value must be one of these. Each item is any JSON value; a\nstring or a number is accepted, anything else is refused with `400`.","uniqueKey":"path_filter.additionalProperties.in.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"description":"The value must be one of these. Each item is any JSON value; a\nstring or a number is accepted, anything else is refused with `400`.","uniqueKey":"path_filter.additionalProperties.in.oneOf.1","typeLabel":"null"}],"uniqueKey":"path_filter.additionalProperties.in","typeLabel":"any[] | null"},"lt":{"description":"The value must be less than this. Any JSON value is read; a string\nor a number is accepted, anything else is refused with `400`.","uniqueKey":"path_filter.additionalProperties.lt","typeLabel":"any"},"lte":{"description":"The value must be at most this. Any JSON value is read; a string or\na number is accepted, anything else is refused with `400`.","uniqueKey":"path_filter.additionalProperties.lte","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"path_filter.additionalProperties","typeLabel":"object"},"propertyNames":{"type":"string"},"uniqueKey":"path_filter","typeLabel":"object"},"resume":{"type":"boolean","description":"Continue a stopped load from its checkpoint instead of starting one;\nwith no checkpoint to continue from - a run that never saved one -\nthe load starts from the beginning. A resume asks for the data the\nload's own request did: one that changes the source, the files read\nor how they are read, the columns or their roles, or whether the\nrows are appended is refused with `409` once the load has run.","uniqueKey":"resume","typeLabel":"boolean"},"snapshot":{"oneOf":[{"type":"null","uniqueKey":"snapshot.oneOf.0","typeLabel":"null"},{"type":"object","description":"Which index of a snapshot repository to load: required when `format`\nis `elasticsearch_snapshot` (or `auto` over a repository), refused\nwith any other format.","required":["index"],"properties":{"index":{"type":"string","description":"The index, by the name the cluster gave it.","isRequired":true,"uniqueKey":"snapshot.oneOf.1.index","typeLabel":"string"},"cluster_state":{"type":"boolean","description":"With `opensearch_table`, also register the source cluster's\nown state as this snapshot took it, beside the index's row in the\nplugin's registry, for the plugin to apply on its cluster before it\ncreates the index: the persistent settings, legacy, index and\ncomponent templates, ingest and search pipelines and stored scripts\nof the snapshot's global state, and the security plugin's action\ngroups, tenants, roles, internal users (without their password hashes,\nwhich stay on the source cluster) and role mappings from its\nconfiguration index. The entries the\nsecurity plugin makes itself, and its authentication, node and audit\nconfiguration, stay the target cluster's own. What sets or places\nshards on the source's nodes (shard allocation and recovery settings,\na template's shard and replica counts and allocation) is dropped, so\nthe target places shards by its own settings; an index state\nmanagement policy with an action on shards loads as written and is\nnamed. Each of these, and anything else the plugin cannot apply, is\nnamed in the load's log. The\nstate is the whole of the snapshot's: one load of a migration asks\nfor it, and each that does registers it all again.","uniqueKey":"snapshot.oneOf.1.cluster_state","typeLabel":"boolean"},"no_vectors":{"type":"boolean","description":"Leave the index's vector fields (`dense_vector`, `knn_vector`,\n`sparse_vector`, `rank_vectors`) out of the table: no column of\ntheir values, and none of the index's vector files read. Absent or\nfalse, each is a column of the values its documents hold. The\ntable's own embedding, which hydrate makes from text, is built\neither way.","uniqueKey":"snapshot.oneOf.1.no_vectors","typeLabel":"boolean"},"opensearch_table":{"type":"boolean","description":"Load the index as the table the OpenSearch plugin serves an index\nfrom: an index created over it (`index.infino.table`) with the\nsnapshot's mapping serves the documents as the cluster did. The\ntable holds each document's id in `osid` and its `_source` in\n`source`, and each field the mapping declares in a column named by\nits dotted path, typed and indexed from the mapping as the plugin\ntypes them (a `text` field gets a text index, a `knn_vector` a\nvector index); nothing else is inferred, so a request with this\ndeclares no columns, text indexes, embedding or chunking, and no\nembedding is made.","uniqueKey":"snapshot.oneOf.1.opensearch_table","typeLabel":"boolean"},"snapshot":{"oneOf":[{"type":"string","description":"The snapshot, by name; absent, the newest successful snapshot that\nholds the index.","uniqueKey":"snapshot.oneOf.1.snapshot.oneOf.0","typeLabel":"string"},{"type":"null","description":"The snapshot, by name; absent, the newest successful snapshot that\nholds the index.","uniqueKey":"snapshot.oneOf.1.snapshot.oneOf.1","typeLabel":"null"}],"uniqueKey":"snapshot.oneOf.1.snapshot","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"snapshot.oneOf.1","typeLabel":"object"}],"uniqueKey":"snapshot","typeLabel":"null | object"},"sync":{"type":"boolean","description":"Keep the table matching the files in its source rather than load it\nonce. The load numbers every source file, stamps each row with its\nfile's number, and records each file it loaded (its key, version\nmarker, size, modification time and rows) in a list the table keeps\nhidden beside it; a successful load ends `synced` rather than\n`succeeded`. A request that names no table passes it to every table\nit loads. Refused with `if_exists: append`, since an appended table\nholds rows from no file, and for a `prefix` source, which is staged\ndata loaded once. Absent or false, a one-off load.\n\nEvery pass keeps the roles the table was built with - the columns its\nembedding is made from, its text indexes, the column it cuts into\npassages - as the table's own schema records them, so every row is\nembedded and indexed alike. A column that later files bring, prose\nincluded, is stored as a plain column in no role: neither embedded\nnor text-indexed, and not found by vector or keyword search, until\nthe table is loaded again.","uniqueKey":"sync","typeLabel":"boolean"},"table":{"type":"string","description":"The table to load. Left out or empty, one table is loaded per folder\ndirectly under the source instead, each named for its folder (from\na `bucket` source, for the bucket first) and loaded on its own. Such a request\nis answered with a plan, followed with `GET ?plan=`.","uniqueKey":"table","typeLabel":"string"},"text_columns":{"type":"array","items":{"type":"string","uniqueKey":"text_columns.items.[INDEX]","typeLabel":"string"},"description":"Text columns kept as their text (by source or table name), beside\nthose the load keeps so by itself: their values are never parsed as\nJSON documents whose fields become columns of their own. A load\nkeeps every text column whose values are mostly not JSON as text\nwithout being asked - a column of source files, where a file that\nhappens to be JSON is still a file - and opens the rest, a column of\nserialized documents, for fields. Naming a column here keeps it as\ntext whatever its values are. Each must name a carried text column.","uniqueKey":"text_columns","typeLabel":"string[]"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"table":"support_tickets","source":{"kind":"bucket","bucket":"example-exports","prefix":"tickets/2026/"},"format":"ndjson","fts":[{"column":"body"}],"embed":{"column":"body_embedding","source":["body"]}},"examples":{"Example":{"title":"Example","value":{"table":"support_tickets","source":{"kind":"bucket","bucket":"example-exports","prefix":"tickets/2026/"},"format":"ndjson","fts":[{"column":"body"}],"embed":{"column":"body_embedding","source":["body"]}}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"76f8e6ed-3b6b-4166-b7ff-25503d986497":{"description":"Dry run (`dry_run: true`): the load would be accepted. Nothing was written or counted. The body is for the one table the request named, or lists every table found when it named none.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"What a dry run that would be accepted is answered with (`200`).","required":["job","admissible"],"properties":{"admissible":{"type":"boolean","description":"Always `true`: a load that would not be accepted is answered with\nits refusal instead.","isRequired":true,"uniqueKey":"oneOf.0.admissible","typeLabel":"boolean"},"job":{"type":"string","description":"The name the load would have.","isRequired":true,"uniqueKey":"oneOf.0.job","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"What a dry run that would be accepted is answered with (`200`).","required":["tables","admissible"],"properties":{"admissible":{"type":"boolean","description":"Always `true`: a request that would not be accepted is answered\nwith its refusal instead.","isRequired":true,"uniqueKey":"oneOf.1.admissible","typeLabel":"boolean"},"tables":{"type":"array","items":{"type":"object","description":"One table a request naming no table loads.","required":["folder","table","job"],"properties":{"folder":{"type":"string","description":"The folder the table is read from, relative to the request's\nsource; empty when the source itself is the table.","isRequired":true,"uniqueKey":"oneOf.1.tables.items.[INDEX].folder","typeLabel":"string"},"job":{"type":"string","description":"The name of the table's own load, followed with `GET ?table=`.","isRequired":true,"uniqueKey":"oneOf.1.tables.items.[INDEX].job","typeLabel":"string"},"table":{"type":"string","description":"The name the table was given.","isRequired":true,"uniqueKey":"oneOf.1.tables.items.[INDEX].table","typeLabel":"string"},"key_patterns":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.tables.items.[INDEX].key_patterns.items.[INDEX]","typeLabel":"string"},"description":"The file-name patterns the table's files are read by, when the\nrequest or the plan named any.","uniqueKey":"oneOf.1.tables.items.[INDEX].key_patterns","typeLabel":"string[]"}},"uniqueKey":"oneOf.1.tables.items.[INDEX]","typeLabel":"object"},"description":"The tables that would be loaded, one per folder found.","isRequired":true,"uniqueKey":"oneOf.1.tables","typeLabel":"object[]"},"copies_left_out":{"type":"integer","description":"Files left out because they hold the same rows as files that are\nread.","minimum":0,"uniqueKey":"oneOf.1.copies_left_out","typeLabel":"integer"},"files_left_out":{"type":"integer","description":"Data files directly under the source, beside its folders, which no\ntable reads.","minimum":0,"uniqueKey":"oneOf.1.files_left_out","typeLabel":"integer"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"admissible":true,"job":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"9b7bfd83-505c-4e5d-93ea-3b8b6e0ddfcf":{"description":"Accepted. With a `table`: the load's name and state, `admitting` for a new load (its source is still being read; follow it to `pending`, or to `failed` with the reason) and `pending` for a resume, an append or a replace. With no `table`: the request's plan, `admitting`, followed with `GET ?plan=`.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"What a load that was accepted is answered with (`202`): the load of\nthe table the request named, or the plan of a request that named\nnone.","required":["job","state"],"properties":{"job":{"type":"string","description":"The load's name.","isRequired":true,"uniqueKey":"oneOf.0.job","typeLabel":"string"},"state":{"type":"string","description":"Where the load stands: `admitting` or `pending` for a load just\naccepted, `cancelling` or `stopped` for one just cancelled.","enum":["admitting","pending","running","cancelling","stopped","succeeded","synced","failed","unknown"],"isRequired":true,"uniqueKey":"oneOf.0.state","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"What a load that was accepted is answered with (`202`): the load of\nthe table the request named, or the plan of a request that named\nnone.","required":["plan","state","request","started_ms","updated_ms"],"properties":{"plan":{"type":"string","description":"The plan's id, which `GET ?plan=` follows it by.","isRequired":true,"uniqueKey":"oneOf.1.plan","typeLabel":"string"},"request":{"type":"object","description":"The request as it was sent.","required":["source"],"properties":{"source":{"oneOf":[{"type":"object","title":"Bucket","description":"Where the source files are.","required":["bucket","prefix","kind"],"properties":{"bucket":{"type":"string","description":"The bucket's name (on Azure Blob Storage, the container's).","isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.0.bucket","typeLabel":"string"},"kind":{"type":"string","enum":["bucket"],"isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"prefix":{"type":"string","description":"A key prefix inside the bucket, read as a folder: `team` reads\n`team/` and never `team-finance/`. Empty reads the whole bucket.\nIt must not start with `/` or contain `..`.","isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.0.prefix","typeLabel":"string"},"encryption":{"oneOf":[{"type":"null","uniqueKey":"oneOf.1.request.source.oneOf.0.encryption.oneOf.0","typeLabel":"null"},{"type":"object","title":"AwsKms","description":"The customer-managed key the bucket's objects are encrypted\nunder, when it has one, so the load can decrypt them. Leave it\nout for a bucket without one.","required":["key_arn","bucket_key","kind"],"properties":{"bucket_key":{"type":"boolean","description":"Whether to use an S3 Bucket Key, which cuts KMS request cost. It is\napplied on every write. Set it `false` when the key policy is\npinned to object ARNs, where a bucket key would be denied.","isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.0.encryption.oneOf.1.bucket_key","typeLabel":"boolean"},"key_arn":{"type":"string","description":"The KMS key ARN. Its region must equal the bucket's region.","isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.0.encryption.oneOf.1.key_arn","typeLabel":"string"},"kind":{"type":"string","enum":["aws_kms"],"isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.0.encryption.oneOf.1.kind","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.1.request.source.oneOf.0.encryption.oneOf.1","typeLabel":"AwsKms · object"},{"type":"object","title":"GcpKms","description":"The customer-managed key the bucket's objects are encrypted\nunder, when it has one, so the load can decrypt them. Leave it\nout for a bucket without one.","required":["key_name","kind"],"properties":{"key_name":{"type":"string","description":"The Cloud KMS key resource name.","isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.0.encryption.oneOf.2.key_name","typeLabel":"string"},"kind":{"type":"string","enum":["gcp_kms"],"isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.0.encryption.oneOf.2.kind","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.1.request.source.oneOf.0.encryption.oneOf.2","typeLabel":"GcpKms · object"},{"type":"object","title":"AzureVault","description":"The customer-managed key the bucket's objects are encrypted\nunder, when it has one, so the load can decrypt them. Leave it\nout for a bucket without one.","required":["key_id","kind"],"properties":{"key_id":{"type":"string","description":"The Key Vault key id (vault URL).","isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.0.encryption.oneOf.3.key_id","typeLabel":"string"},"kind":{"type":"string","enum":["azure_vault"],"isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.0.encryption.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"encryption_scope":{"oneOf":[{"type":"string","description":"The storage-account encryption scope bound to the key, where one is\nused. Left out, no scope is named.","uniqueKey":"oneOf.1.request.source.oneOf.0.encryption.oneOf.3.encryption_scope.oneOf.0","typeLabel":"string"},{"type":"null","description":"The storage-account encryption scope bound to the key, where one is\nused. Left out, no scope is named.","uniqueKey":"oneOf.1.request.source.oneOf.0.encryption.oneOf.3.encryption_scope.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.source.oneOf.0.encryption.oneOf.3.encryption_scope","typeLabel":"string | null"}},"uniqueKey":"oneOf.1.request.source.oneOf.0.encryption.oneOf.3","typeLabel":"AzureVault · object"}],"uniqueKey":"oneOf.1.request.source.oneOf.0.encryption","typeLabel":"null | AwsKms · object | GcpKms · object | AzureVault · object"}},"isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.0","typeLabel":"Bucket · object"},{"type":"object","title":"PublicS3","description":"Where the source files are.","required":["bucket","prefix","region","kind"],"properties":{"bucket":{"type":"string","description":"The public bucket's name.","isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.1.bucket","typeLabel":"string"},"kind":{"type":"string","enum":["public_s3"],"isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"prefix":{"type":"string","description":"A key prefix inside the bucket, read as a folder. Empty reads\nthe whole bucket.","isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.1.prefix","typeLabel":"string"},"region":{"type":"string","description":"The bucket's own AWS region, for example `us-east-1`.","isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.1.region","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.1","typeLabel":"PublicS3 · object"},{"type":"object","title":"Prefix","description":"Where the source files are.","required":["prefix","kind"],"properties":{"kind":{"type":"string","enum":["prefix"],"isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.2.kind","typeLabel":"enum\u003cstring>"},"prefix":{"type":"string","description":"The key prefix, relative to the database's root. It must not be\nempty, start with `/` or contain `..`.","isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.2.prefix","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.1.request.source.oneOf.2","typeLabel":"Prefix · object"}],"isRequired":true,"uniqueKey":"oneOf.1.request.source","typeLabel":"Bucket · object | PublicS3 · object | Prefix · object"},"batch":{"type":"object","description":"How the load sizes its commits; the service's defaults when absent,\nwhich suit most loads.","properties":{"commit_target_mb":{"oneOf":[{"type":"integer","format":"int64","description":"The stored bytes a commit aims for, in MiB. The load also holds\nevery commit to a fixed memory bound this does not raise, so on a\nwide, sparse table, whose rows take far more in memory than they\nstore, commits can come out smaller than asked.","minimum":0,"uniqueKey":"oneOf.1.request.batch.commit_target_mb.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"The stored bytes a commit aims for, in MiB. The load also holds\nevery commit to a fixed memory bound this does not raise, so on a\nwide, sparse table, whose rows take far more in memory than they\nstore, commits can come out smaller than asked.","minimum":0,"uniqueKey":"oneOf.1.request.batch.commit_target_mb.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.batch.commit_target_mb","typeLabel":"integer\u003cint64> | null"},"max_rows_per_commit":{"oneOf":[{"type":"integer","format":"int64","description":"The most rows one commit holds.","minimum":0,"uniqueKey":"oneOf.1.request.batch.max_rows_per_commit.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"The most rows one commit holds.","minimum":0,"uniqueKey":"oneOf.1.request.batch.max_rows_per_commit.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.batch.max_rows_per_commit","typeLabel":"integer\u003cint64> | null"},"optimize_every_commits":{"oneOf":[{"type":"integer","format":"int64","description":"Commits between the table optimizations a run interleaves with\nthem. A load on Infino Cloud runs none: the service compacts the\ntable once the load has ended.","minimum":0,"uniqueKey":"oneOf.1.request.batch.optimize_every_commits.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"Commits between the table optimizations a run interleaves with\nthem. A load on Infino Cloud runs none: the service compacts the\ntable once the load has ended.","minimum":0,"uniqueKey":"oneOf.1.request.batch.optimize_every_commits.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.batch.optimize_every_commits","typeLabel":"integer\u003cint64> | null"}},"additionalProperties":false,"uniqueKey":"oneOf.1.request.batch","typeLabel":"object"},"chunk":{"oneOf":[{"type":"null","uniqueKey":"oneOf.1.request.chunk.oneOf.0","typeLabel":"null"},{"type":"object","description":"Split a long text column into one table row per chunk.","required":["column"],"properties":{"column":{"type":"string","description":"The text column to split. In the table it holds each chunk's text.","isRequired":true,"uniqueKey":"oneOf.1.request.chunk.oneOf.1.column","typeLabel":"string"},"first_chunk_only":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.request.chunk.oneOf.1.first_chunk_only.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Columns kept whole on each row's first chunk only and empty on the\nrest: large per-document fields (an infobox, a reference list) the\ncustomer wants stored and indexed once per row rather than once per\nchunk. A nested column (a list, a struct, a map) is kept so whether\nnamed or not; absent or empty, every other column is copied onto\nevery chunk.","uniqueKey":"oneOf.1.request.chunk.oneOf.1.first_chunk_only.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Columns kept whole on each row's first chunk only and empty on the\nrest: large per-document fields (an infobox, a reference list) the\ncustomer wants stored and indexed once per row rather than once per\nchunk. A nested column (a list, a struct, a map) is kept so whether\nnamed or not; absent or empty, every other column is copied onto\nevery chunk.","uniqueKey":"oneOf.1.request.chunk.oneOf.1.first_chunk_only.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.chunk.oneOf.1.first_chunk_only","typeLabel":"string[] | null"},"index_column":{"oneOf":[{"type":"string","description":"The column numbering each row's chunks from 0; `chunk` when absent.","uniqueKey":"oneOf.1.request.chunk.oneOf.1.index_column.oneOf.0","typeLabel":"string"},{"type":"null","description":"The column numbering each row's chunks from 0; `chunk` when absent.","uniqueKey":"oneOf.1.request.chunk.oneOf.1.index_column.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.chunk.oneOf.1.index_column","typeLabel":"string | null"},"markdown":{"type":"boolean","description":"Treat the text as Markdown and split along its headings first.","uniqueKey":"oneOf.1.request.chunk.oneOf.1.markdown","typeLabel":"boolean"},"max_tokens":{"oneOf":[{"type":"integer","description":"The most embedding-model tokens a chunk may hold; 512 when left\nout, a passage. A chunk never takes more than the model reads of a\ndocument, less what the row's other embedding source columns take;\na size past what the model reads is refused.","minimum":0,"uniqueKey":"oneOf.1.request.chunk.oneOf.1.max_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The most embedding-model tokens a chunk may hold; 512 when left\nout, a passage. A chunk never takes more than the model reads of a\ndocument, less what the row's other embedding source columns take;\na size past what the model reads is refused.","minimum":0,"uniqueKey":"oneOf.1.request.chunk.oneOf.1.max_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.chunk.oneOf.1.max_tokens","typeLabel":"integer | null"},"overlap_tokens":{"oneOf":[{"type":"integer","description":"Tokens each chunk repeats from the end of the one before; none when\nabsent. Must be smaller than the chunk.","minimum":0,"uniqueKey":"oneOf.1.request.chunk.oneOf.1.overlap_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Tokens each chunk repeats from the end of the one before; none when\nabsent. Must be smaller than the chunk.","minimum":0,"uniqueKey":"oneOf.1.request.chunk.oneOf.1.overlap_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.chunk.oneOf.1.overlap_tokens","typeLabel":"integer | null"},"path_column":{"oneOf":[{"type":"string","description":"The column naming each row's file. Its extension says how the text\nis cut: code at its definitions, Markdown at its headings, a log at\nits records, packed to about sixty lines, as the code-context client\ncuts files. Absent, a carried text column named `path` is used when\nthere is one; with none, the text is Markdown when `markdown` says so\nand plain lines otherwise. Each chunk's line range, symbol, kind and\nscope are recorded in columns of those names after the numbering\ncolumn.","uniqueKey":"oneOf.1.request.chunk.oneOf.1.path_column.oneOf.0","typeLabel":"string"},{"type":"null","description":"The column naming each row's file. Its extension says how the text\nis cut: code at its definitions, Markdown at its headings, a log at\nits records, packed to about sixty lines, as the code-context client\ncuts files. Absent, a carried text column named `path` is used when\nthere is one; with none, the text is Markdown when `markdown` says so\nand plain lines otherwise. Each chunk's line range, symbol, kind and\nscope are recorded in columns of those names after the numbering\ncolumn.","uniqueKey":"oneOf.1.request.chunk.oneOf.1.path_column.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.chunk.oneOf.1.path_column","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"oneOf.1.request.chunk.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.request.chunk","typeLabel":"null | object"},"columns":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.request.columns.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Source columns to carry into the table; every column when absent.","uniqueKey":"oneOf.1.request.columns.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Source columns to carry into the table; every column when absent.","uniqueKey":"oneOf.1.request.columns.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.columns","typeLabel":"string[] | null"},"csv":{"oneOf":[{"type":"null","uniqueKey":"oneOf.1.request.csv.oneOf.0","typeLabel":"null"},{"type":"object","description":"How a delimited source is written; read only when `format` is `csv`,\nor `auto` and the source turns out to be delimited text.","properties":{"delimiter":{"oneOf":[{"type":"string","description":"The one character between fields: `,` when absent; `;` and `\\t` are\ncommon in exports.","uniqueKey":"oneOf.1.request.csv.oneOf.1.delimiter.oneOf.0","typeLabel":"string"},{"type":"null","description":"The one character between fields: `,` when absent; `;` and `\\t` are\ncommon in exports.","uniqueKey":"oneOf.1.request.csv.oneOf.1.delimiter.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.csv.oneOf.1.delimiter","typeLabel":"string | null"},"header":{"oneOf":[{"type":"boolean","description":"Whether the first record names the columns: yes when absent.","uniqueKey":"oneOf.1.request.csv.oneOf.1.header.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the first record names the columns: yes when absent.","uniqueKey":"oneOf.1.request.csv.oneOf.1.header.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.csv.oneOf.1.header","typeLabel":"boolean | null"},"quote":{"oneOf":[{"type":"string","description":"The one character that quotes a field: `\"` when absent.","uniqueKey":"oneOf.1.request.csv.oneOf.1.quote.oneOf.0","typeLabel":"string"},{"type":"null","description":"The one character that quotes a field: `\"` when absent.","uniqueKey":"oneOf.1.request.csv.oneOf.1.quote.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.csv.oneOf.1.quote","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"oneOf.1.request.csv.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.request.csv","typeLabel":"null | object"},"docs":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.request.docs.items.[INDEX]","typeLabel":"string"},"description":"Documentation files to read for the table's context, beyond the ones\nfound under the source itself: object keys in the same root as the\nsource (the database's root for a `prefix` source, the bucket for a\n`bucket` one), each read whatever its name. For a data dictionary\nseveral tables share, kept beside their prefixes rather than copied\nunder each.","uniqueKey":"oneOf.1.request.docs","typeLabel":"string[]"},"dry_run":{"type":"boolean","description":"Make every check a load is accepted by and stop there: the\ndatabase, the account's standing, the notice address, access to the\nsource, and the source listed and read as the load would read it.\nNothing is loaded, written or counted; `200` when the load would be\naccepted, the refusal it would get otherwise. For checking access to\na source before loading it.","uniqueKey":"oneOf.1.request.dry_run","typeLabel":"boolean"},"embed":{"oneOf":[{"type":"null","uniqueKey":"oneOf.1.request.embed.oneOf.0","typeLabel":"null"},{"type":"object","description":"The embedding column to build, and the text columns it is made\nfrom. Absent, the load builds one from the text columns it finds;\n`no_embed` builds none.","required":["column","source"],"properties":{"column":{"type":"string","description":"The name of the embedding (vector) column to create.","isRequired":true,"uniqueKey":"oneOf.1.request.embed.oneOf.1.column","typeLabel":"string"},"source":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.request.embed.oneOf.1.source.items.[INDEX]","typeLabel":"string"},"description":"The text columns whose values are joined into the text that is\nembedded for each row.","isRequired":true,"uniqueKey":"oneOf.1.request.embed.oneOf.1.source","typeLabel":"string[]"}},"additionalProperties":false,"uniqueKey":"oneOf.1.request.embed.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.request.embed","typeLabel":"null | object"},"format":{"type":"string","description":"The format the source files are written in; `parquet` when left out.","enum":["parquet","orc","ndjson","csv","iceberg","elasticsearch_snapshot","delta","auto"],"uniqueKey":"oneOf.1.request.format","typeLabel":"enum\u003cstring>"},"fts":{"type":"array","items":{"type":"object","description":"A full-text index on one column of the table.","required":["column"],"properties":{"column":{"type":"string","description":"The text column to index for keyword search.","isRequired":true,"uniqueKey":"oneOf.1.request.fts.items.[INDEX].column","typeLabel":"string"},"analyzer":{"oneOf":[{"type":"string","description":"The analyzer the index is built with. `standard` is the only one,\nand the default when left out.","uniqueKey":"oneOf.1.request.fts.items.[INDEX].analyzer.oneOf.0","typeLabel":"string"},{"type":"null","description":"The analyzer the index is built with. `standard` is the only one,\nand the default when left out.","uniqueKey":"oneOf.1.request.fts.items.[INDEX].analyzer.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.fts.items.[INDEX].analyzer","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"oneOf.1.request.fts.items.[INDEX]","typeLabel":"object"},"description":"The full-text indexes to build, one per column named. Absent, every\ntext column is indexed; `no_fts` builds none.","uniqueKey":"oneOf.1.request.fts","typeLabel":"object[]"},"if_exists":{"type":"string","description":"What to do when the table already exists; `refuse` when absent.","enum":["refuse","append","replace"],"uniqueKey":"oneOf.1.request.if_exists","typeLabel":"enum\u003cstring>"},"key_patterns":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.request.key_patterns.items.[INDEX]","typeLabel":"string"},"description":"Which files under the source are read, by their names: a key is read\nwhen its last path segment matches one of these patterns, in which\n`*` stands for any run of characters and `?` for one. `*.parquet` keeps\n`events/2026-10-01/part-0.parquet` and leaves out\n`part-0.parquet.crc` beside it; `summary.json` keeps that one\nfile of each folder. For a source that keeps files of several kinds\nside by side. Empty or absent, every file is read.\n\nThe format, `auto`'s detection included, then sees only the files\nkept. An Iceberg table ignores it: its files are the ones its\nmetadata names, never the ones a listing finds, so `iceberg` reads\nthe whole table whatever this says.","uniqueKey":"oneOf.1.request.key_patterns","typeLabel":"string[]"},"no_embed":{"type":"boolean","description":"Build no embedding column even when a text column would take one.","uniqueKey":"oneOf.1.request.no_embed","typeLabel":"boolean"},"no_fts":{"type":"boolean","description":"Build no text index even when a text column would take one.","uniqueKey":"oneOf.1.request.no_fts","typeLabel":"boolean"},"notify":{"oneOf":[{"type":"null","uniqueKey":"oneOf.1.request.notify.oneOf.0","typeLabel":"null"},{"type":"object","description":"Who to tell when the load ends (succeeded, failed, or stopped before\nit finished) in one short mail to `email`. The address must already\nbe confirmed for the account, or the request is refused with `403`.\nA cancel withdraws the notice. Absent, nobody is told and the\ncaller polls the load's status.","required":["email"],"properties":{"email":{"type":"string","description":"The address the mail goes to. It must already be confirmed for the\naccount.","isRequired":true,"uniqueKey":"oneOf.1.request.notify.oneOf.1.email","typeLabel":"string"},"link":{"oneOf":[{"type":"string","description":"A page the mail links to, where the loaded table can be used. Only\na link under a prefix the service allows is accepted; any other is\nrefused with `400`.","uniqueKey":"oneOf.1.request.notify.oneOf.1.link.oneOf.0","typeLabel":"string"},{"type":"null","description":"A page the mail links to, where the loaded table can be used. Only\na link under a prefix the service allows is accepted; any other is\nrefused with `400`.","uniqueKey":"oneOf.1.request.notify.oneOf.1.link.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.notify.oneOf.1.link","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"oneOf.1.request.notify.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.request.notify","typeLabel":"null | object"},"on_failure":{"type":"string","description":"What becomes of a half-built table when the load fails for good or\nis cancelled; `keep` when absent.","enum":["drop","keep"],"uniqueKey":"oneOf.1.request.on_failure","typeLabel":"enum\u003cstring>"},"on_type_drift":{"type":"string","description":"What a sync pass does when a column's source type has drifted\n*lossily* from the type the table stores; `rewrite` when absent. A\nlossless widen, and a column the table does not have yet, are always\ntaken whatever this says.","enum":["rewrite","fail"],"uniqueKey":"oneOf.1.request.on_type_drift","typeLabel":"enum\u003cstring>"},"parts":{"oneOf":[{"type":"integer","format":"int32","description":"How many parts the load is split into, run side by side, each\ntaking a share of the source's files. Absent, the service chooses\nfrom the source's size, so a small table is one part and a large\none uses as many as it may; `1` is one part. At most 64. On a\nresume it must match the count the load was started with, or be\nabsent.","minimum":0,"uniqueKey":"oneOf.1.request.parts.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"How many parts the load is split into, run side by side, each\ntaking a share of the source's files. Absent, the service chooses\nfrom the source's size, so a small table is one part and a large\none uses as many as it may; `1` is one part. At most 64. On a\nresume it must match the count the load was started with, or be\nabsent.","minimum":0,"uniqueKey":"oneOf.1.request.parts.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.parts","typeLabel":"integer\u003cint32> | null"},"path_columns":{"oneOf":[{"type":"null","uniqueKey":"oneOf.1.request.path_columns.oneOf.0","typeLabel":"null"},{"type":"object","description":"Columns whose values are taken from where each file sits rather than\nfrom what it holds - a tenant or application id in the bucket's name,\na date folder, Hive's `name=value` folders - stamped on every row the\nfile gives (every chunk of it, when the table chunks), or, declared\n`store: false`, captured only to choose the files read by. A file\nwhose path does not match is left out and counted (`unmatched_paths`\nin the load's status), never loaded with a null. Not for an Iceberg\nor Delta table or a snapshot, whose files are the ones their\nmetadata names. Absent, no column is taken from the path.","required":["hive"],"properties":{"hive":{"type":"boolean","description":"Must be `true`: the object names Hive's layout and nothing else.","isRequired":true,"uniqueKey":"oneOf.1.request.path_columns.oneOf.1.hive","typeLabel":"boolean"},"store":{"type":"boolean","description":"Whether the folders' columns are stored in the table, as a declared\npath column's `store` says: `false` reads them only to filter, prune\nand plan by, and the table gets no column of them. Stored when\nabsent.","uniqueKey":"oneOf.1.request.path_columns.oneOf.1.store","typeLabel":"boolean"},"types":{"type":"object","description":"The type of a column's values, by the column's name; a column not\nnamed here is text.","additionalProperties":{"type":"string","description":"The type a path column's values are read as. `string` (the default): text. `int64`, `uint64`, `float64`: numbers. `date`: an ISO date, `YYYY-MM-DD`. `timestamp`: an ISO 8601 date or date and time (`2026-10-30T14:00:00Z`; UTC when it names no zone); a bare run of digits is not one. `epoch_ms`: milliseconds since the epoch, as digits with an optional leading `-`.","enum":["string","int64","uint64","float64","date","timestamp","epoch_ms"],"uniqueKey":"oneOf.1.request.path_columns.oneOf.1.types.additionalProperties","typeLabel":"enum\u003cstring>"},"propertyNames":{"type":"string"},"uniqueKey":"oneOf.1.request.path_columns.oneOf.1.types","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1.request.path_columns.oneOf.1","typeLabel":"object"},{"type":"array","items":{"type":"object","description":"One column taken from where each file sits: its name, what its pattern\nis matched against, the pattern, and the type its values are read as.\n\n`pattern` is a template, anchored at both ends and literal except for\nits placeholders: `{value}` is the value, exactly once; `{_}` matches\nwithout capturing; either takes a regular expression after a colon to\nconstrain what it matches (`{value:[0-9]+}`); `{_*}` is any number of\nwhole path segments, none included - except at the pattern's end, where\nit is everything below a folder and takes at least one, so\n`{value}/{_*}` is a folder's files and never a file at the source's root.\nEvery placeholder matches within the segments it stands in: a\nconstraint never reaches across a `/`. A placeholder without a constraint\nmatches within one segment, never a `/`, and as little as it can, so\n`{_}-regional-{value}` splits `acme-io-regional-sub_1` at the literal.\nFor anything a template cannot say, `regex` takes a regular expression\ninstead, anchored at both ends, with the value in the group named\n`value`. Exactly one of the two.","required":["column","from"],"properties":{"column":{"type":"string","description":"The table column the value lands in.","isRequired":true,"uniqueKey":"oneOf.1.request.path_columns.oneOf.2.items.[INDEX].column","typeLabel":"string"},"from":{"type":"string","description":"What the pattern is matched against.","enum":["bucket","key"],"isRequired":true,"uniqueKey":"oneOf.1.request.path_columns.oneOf.2.items.[INDEX].from","typeLabel":"enum\u003cstring>"},"pattern":{"oneOf":[{"type":"string","description":"A template matched against the whole bucket name or key, with\n`{value}` where the column's value is, for example\n`events/{value}/{_*}`. Give exactly one of `pattern` and `regex`.","uniqueKey":"oneOf.1.request.path_columns.oneOf.2.items.[INDEX].pattern.oneOf.0","typeLabel":"string"},{"type":"null","description":"A template matched against the whole bucket name or key, with\n`{value}` where the column's value is, for example\n`events/{value}/{_*}`. Give exactly one of `pattern` and `regex`.","uniqueKey":"oneOf.1.request.path_columns.oneOf.2.items.[INDEX].pattern.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.path_columns.oneOf.2.items.[INDEX].pattern","typeLabel":"string | null"},"regex":{"oneOf":[{"type":"string","description":"A regular expression matched against the whole bucket name or key,\nwith the column's value in the group named `value`, for what a\ntemplate cannot say. Give exactly one of `pattern` and `regex`.","uniqueKey":"oneOf.1.request.path_columns.oneOf.2.items.[INDEX].regex.oneOf.0","typeLabel":"string"},{"type":"null","description":"A regular expression matched against the whole bucket name or key,\nwith the column's value in the group named `value`, for what a\ntemplate cannot say. Give exactly one of `pattern` and `regex`.","uniqueKey":"oneOf.1.request.path_columns.oneOf.2.items.[INDEX].regex.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.path_columns.oneOf.2.items.[INDEX].regex","typeLabel":"string | null"},"store":{"type":"boolean","description":"Whether the value is stored in the table: a column of the path\ncolumn's name, stamped on every row of the file. `false` captures\nthe value only to choose files by - `path_filter`, the folders a\nlisting leaves out, the folders a request naming no table reads as\npartitions, the files counted unmatched - and the table gets no\ncolumn of it, so its schema is what the files alone give it, and a\nfile's own column of the same name is no clash. Such a capture takes\nno role (`fts`, `embed`, `chunk`, `columns`). Stored when absent: a\nvalue taken from a path and not stored is lost with the path, and\nonly a reload brings it back.","uniqueKey":"oneOf.1.request.path_columns.oneOf.2.items.[INDEX].store","typeLabel":"boolean"},"type":{"type":"string","description":"The type the value is read as; text when absent.","enum":["string","int64","uint64","float64","date","timestamp","epoch_ms"],"uniqueKey":"oneOf.1.request.path_columns.oneOf.2.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.1.request.path_columns.oneOf.2.items.[INDEX]","typeLabel":"object"},"description":"Columns whose values are taken from where each file sits rather than\nfrom what it holds - a tenant or application id in the bucket's name,\na date folder, Hive's `name=value` folders - stamped on every row the\nfile gives (every chunk of it, when the table chunks), or, declared\n`store: false`, captured only to choose the files read by. A file\nwhose path does not match is left out and counted (`unmatched_paths`\nin the load's status), never loaded with a null. Not for an Iceberg\nor Delta table or a snapshot, whose files are the ones their\nmetadata names. Absent, no column is taken from the path.","uniqueKey":"oneOf.1.request.path_columns.oneOf.2","typeLabel":"object[]"}],"uniqueKey":"oneOf.1.request.path_columns","typeLabel":"null | object | object[]"},"path_filter":{"type":"object","description":"Which files are read, by the values `path_columns` takes from their\npaths: a condition per path column, every one of which a file's\nvalues must meet. Applied to the listing, before a file is read or\ncounted against an allowance; a condition on a value taken from a\nfolder leaves the folders out of range unlisted. A relative bound\n(`-365d`) is resolved when the source is listed: for a load, once,\nwhen it is accepted, which a resume of it shares; for each sync\npass, at the pass. A file a window has moved past stays in the\ntable: the filter decides what is read, not what is kept, and a sync\npass neither reads such a file nor counts it gone.","additionalProperties":{"type":"object","description":"What a file's value of one path column must meet for the file to be read: every bound given, compared in the column's type. A bound is a JSON string or a number; on a `date`, `timestamp` or `epoch_ms` column it may also be relative, a signed count of days or hours from the time the source is listed (`-365d`, `-36h`). A file whose value is null meets no condition.","properties":{"eq":{"description":"The value must equal this. Any JSON value is read; a string or a\nnumber is accepted, anything else is refused with `400`.","uniqueKey":"oneOf.1.request.path_filter.additionalProperties.eq","typeLabel":"any"},"gt":{"description":"The value must be greater than this. Any JSON value is read; a\nstring or a number is accepted, anything else is refused with `400`.","uniqueKey":"oneOf.1.request.path_filter.additionalProperties.gt","typeLabel":"any"},"gte":{"description":"The value must be at least this. Any JSON value is read; a string\nor a number is accepted, anything else is refused with `400`.","uniqueKey":"oneOf.1.request.path_filter.additionalProperties.gte","typeLabel":"any"},"in":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.1.request.path_filter.additionalProperties.in.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"The value must be one of these. Each item is any JSON value; a\nstring or a number is accepted, anything else is refused with `400`.","uniqueKey":"oneOf.1.request.path_filter.additionalProperties.in.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"description":"The value must be one of these. Each item is any JSON value; a\nstring or a number is accepted, anything else is refused with `400`.","uniqueKey":"oneOf.1.request.path_filter.additionalProperties.in.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.path_filter.additionalProperties.in","typeLabel":"any[] | null"},"lt":{"description":"The value must be less than this. Any JSON value is read; a string\nor a number is accepted, anything else is refused with `400`.","uniqueKey":"oneOf.1.request.path_filter.additionalProperties.lt","typeLabel":"any"},"lte":{"description":"The value must be at most this. Any JSON value is read; a string or\na number is accepted, anything else is refused with `400`.","uniqueKey":"oneOf.1.request.path_filter.additionalProperties.lte","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"oneOf.1.request.path_filter.additionalProperties","typeLabel":"object"},"propertyNames":{"type":"string"},"uniqueKey":"oneOf.1.request.path_filter","typeLabel":"object"},"resume":{"type":"boolean","description":"Continue a stopped load from its checkpoint instead of starting one;\nwith no checkpoint to continue from - a run that never saved one -\nthe load starts from the beginning. A resume asks for the data the\nload's own request did: one that changes the source, the files read\nor how they are read, the columns or their roles, or whether the\nrows are appended is refused with `409` once the load has run.","uniqueKey":"oneOf.1.request.resume","typeLabel":"boolean"},"snapshot":{"oneOf":[{"type":"null","uniqueKey":"oneOf.1.request.snapshot.oneOf.0","typeLabel":"null"},{"type":"object","description":"Which index of a snapshot repository to load: required when `format`\nis `elasticsearch_snapshot` (or `auto` over a repository), refused\nwith any other format.","required":["index"],"properties":{"index":{"type":"string","description":"The index, by the name the cluster gave it.","isRequired":true,"uniqueKey":"oneOf.1.request.snapshot.oneOf.1.index","typeLabel":"string"},"cluster_state":{"type":"boolean","description":"With `opensearch_table`, also register the source cluster's\nown state as this snapshot took it, beside the index's row in the\nplugin's registry, for the plugin to apply on its cluster before it\ncreates the index: the persistent settings, legacy, index and\ncomponent templates, ingest and search pipelines and stored scripts\nof the snapshot's global state, and the security plugin's action\ngroups, tenants, roles, internal users (without their password hashes,\nwhich stay on the source cluster) and role mappings from its\nconfiguration index. The entries the\nsecurity plugin makes itself, and its authentication, node and audit\nconfiguration, stay the target cluster's own. What sets or places\nshards on the source's nodes (shard allocation and recovery settings,\na template's shard and replica counts and allocation) is dropped, so\nthe target places shards by its own settings; an index state\nmanagement policy with an action on shards loads as written and is\nnamed. Each of these, and anything else the plugin cannot apply, is\nnamed in the load's log. The\nstate is the whole of the snapshot's: one load of a migration asks\nfor it, and each that does registers it all again.","uniqueKey":"oneOf.1.request.snapshot.oneOf.1.cluster_state","typeLabel":"boolean"},"no_vectors":{"type":"boolean","description":"Leave the index's vector fields (`dense_vector`, `knn_vector`,\n`sparse_vector`, `rank_vectors`) out of the table: no column of\ntheir values, and none of the index's vector files read. Absent or\nfalse, each is a column of the values its documents hold. The\ntable's own embedding, which hydrate makes from text, is built\neither way.","uniqueKey":"oneOf.1.request.snapshot.oneOf.1.no_vectors","typeLabel":"boolean"},"opensearch_table":{"type":"boolean","description":"Load the index as the table the OpenSearch plugin serves an index\nfrom: an index created over it (`index.infino.table`) with the\nsnapshot's mapping serves the documents as the cluster did. The\ntable holds each document's id in `osid` and its `_source` in\n`source`, and each field the mapping declares in a column named by\nits dotted path, typed and indexed from the mapping as the plugin\ntypes them (a `text` field gets a text index, a `knn_vector` a\nvector index); nothing else is inferred, so a request with this\ndeclares no columns, text indexes, embedding or chunking, and no\nembedding is made.","uniqueKey":"oneOf.1.request.snapshot.oneOf.1.opensearch_table","typeLabel":"boolean"},"snapshot":{"oneOf":[{"type":"string","description":"The snapshot, by name; absent, the newest successful snapshot that\nholds the index.","uniqueKey":"oneOf.1.request.snapshot.oneOf.1.snapshot.oneOf.0","typeLabel":"string"},{"type":"null","description":"The snapshot, by name; absent, the newest successful snapshot that\nholds the index.","uniqueKey":"oneOf.1.request.snapshot.oneOf.1.snapshot.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request.snapshot.oneOf.1.snapshot","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"oneOf.1.request.snapshot.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.request.snapshot","typeLabel":"null | object"},"sync":{"type":"boolean","description":"Keep the table matching the files in its source rather than load it\nonce. The load numbers every source file, stamps each row with its\nfile's number, and records each file it loaded (its key, version\nmarker, size, modification time and rows) in a list the table keeps\nhidden beside it; a successful load ends `synced` rather than\n`succeeded`. A request that names no table passes it to every table\nit loads. Refused with `if_exists: append`, since an appended table\nholds rows from no file, and for a `prefix` source, which is staged\ndata loaded once. Absent or false, a one-off load.\n\nEvery pass keeps the roles the table was built with - the columns its\nembedding is made from, its text indexes, the column it cuts into\npassages - as the table's own schema records them, so every row is\nembedded and indexed alike. A column that later files bring, prose\nincluded, is stored as a plain column in no role: neither embedded\nnor text-indexed, and not found by vector or keyword search, until\nthe table is loaded again.","uniqueKey":"oneOf.1.request.sync","typeLabel":"boolean"},"table":{"type":"string","description":"The table to load. Left out or empty, one table is loaded per folder\ndirectly under the source instead, each named for its folder (from\na `bucket` source, for the bucket first) and loaded on its own. Such a request\nis answered with a plan, followed with `GET ?plan=`.","uniqueKey":"oneOf.1.request.table","typeLabel":"string"},"text_columns":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.request.text_columns.items.[INDEX]","typeLabel":"string"},"description":"Text columns kept as their text (by source or table name), beside\nthose the load keeps so by itself: their values are never parsed as\nJSON documents whose fields become columns of their own. A load\nkeeps every text column whose values are mostly not JSON as text\nwithout being asked - a column of source files, where a file that\nhappens to be JSON is still a file - and opens the rest, a column of\nserialized documents, for fields. Naming a column here keeps it as\ntext whatever its values are. Each must name a carried text column.","uniqueKey":"oneOf.1.request.text_columns","typeLabel":"string[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.request","typeLabel":"object"},"started_ms":{"type":"integer","format":"int64","description":"When the request was accepted, in milliseconds since the Unix epoch.","minimum":0,"isRequired":true,"uniqueKey":"oneOf.1.started_ms","typeLabel":"integer\u003cint64>"},"state":{"type":"string","description":"Where the plan stands.","enum":["admitting","admitted","failed","unknown"],"isRequired":true,"uniqueKey":"oneOf.1.state","typeLabel":"enum\u003cstring>"},"updated_ms":{"type":"integer","format":"int64","description":"When the plan last changed, in milliseconds since the Unix epoch.","minimum":0,"isRequired":true,"uniqueKey":"oneOf.1.updated_ms","typeLabel":"integer\u003cint64>"},"copies_left_out":{"type":"integer","description":"Files left out because they hold the same rows as files that are\nread.","minimum":0,"uniqueKey":"oneOf.1.copies_left_out","typeLabel":"integer"},"error":{"oneOf":[{"type":"string","description":"Why the plan is `failed`, in the words the `POST` would have been\nrefused with; absent otherwise.","uniqueKey":"oneOf.1.error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why the plan is `failed`, in the words the `POST` would have been\nrefused with; absent otherwise.","uniqueKey":"oneOf.1.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.error","typeLabel":"string | null"},"files_left_out":{"type":"integer","description":"Data files directly under the source, beside its folders, which no\ntable reads.","minimum":0,"uniqueKey":"oneOf.1.files_left_out","typeLabel":"integer"},"tables":{"type":"array","items":{"type":"object","description":"One table a request naming no table loads.","required":["folder","table","job"],"properties":{"folder":{"type":"string","description":"The folder the table is read from, relative to the request's\nsource; empty when the source itself is the table.","isRequired":true,"uniqueKey":"oneOf.1.tables.items.[INDEX].folder","typeLabel":"string"},"job":{"type":"string","description":"The name of the table's own load, followed with `GET ?table=`.","isRequired":true,"uniqueKey":"oneOf.1.tables.items.[INDEX].job","typeLabel":"string"},"table":{"type":"string","description":"The name the table was given.","isRequired":true,"uniqueKey":"oneOf.1.tables.items.[INDEX].table","typeLabel":"string"},"key_patterns":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.tables.items.[INDEX].key_patterns.items.[INDEX]","typeLabel":"string"},"description":"The file-name patterns the table's files are read by, when the\nrequest or the plan named any.","uniqueKey":"oneOf.1.tables.items.[INDEX].key_patterns","typeLabel":"string[]"}},"uniqueKey":"oneOf.1.tables.items.[INDEX]","typeLabel":"object"},"description":"The tables found, each with its own load, once the plan is\n`admitted`; empty until then.","uniqueKey":"oneOf.1.tables","typeLabel":"object[]"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"example":{"job":"hydrate/cust_example/analytics/support_tickets","state":"admitting"},"examples":{"Example":{"title":"Example","value":{"job":"hydrate/cust_example/analytics/support_tickets","state":"admitting"}}},"exampleType":"examples"}},"exampleType":"examples"},"573d3d5d-3ce3-459f-b963-c299f23401e8":{"description":"The request is malformed: a body that is not JSON or has an unknown field, an invalid database or table name, a source, pattern, path column, filter, snapshot or notice link that does not validate, options that cannot be combined (`sync` with `append` or a `prefix` source; `replace` with `resume` or with no table), a `public_s3` source where public sources are not turned on, or a source that does not hold what `format` says.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"c994f21a-b4a7-4a49-92a5-3113f912f596":{"description":"Missing or invalid API key.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"de74a637-f49a-4d33-b631-0ec1e46db2c5":{"description":"The account is suspended, or its free period has ended.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"781c1b11-1a40-4d0f-a6e1-bfb431a99f0c":{"description":"Refused, and the message says which: the key may not write to this database; the account has no capacity to run loads on; the account is at its row or vector limit; the database's own storage has not been verified or can no longer be reached; the source could not be listed with the access granted, or is not proven to be the account's; `notify.email` is not confirmed for the account; or the table is append-only and the request would remove rows (`sync`, `replace`, or `on_failure: drop`).","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"f61e3243-d835-4ff8-abcf-53e04d9f1b14":{"description":"The database does not exist.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"e515bf6e-4952-4614-9836-edeafe3cb6fa":{"description":"The table already has a load on record and the request does not say `resume`, `if_exists: append` or `if_exists: replace`; or that load is still running, is being cleared, or is a `sync` load (which is neither resumed nor appended to); or a resume changes what the load reads; or a replace waited for the running load to stop and it has not yet. With no `table`: one of the tables found already has a load on record.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"ce1092be-b09d-464b-8b7b-4a2b6cfa2885":{"description":"The database is being deleted.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"ca47e6e4-a644-4587-9b04-aa9a3d99655b":{"description":"The load's record changed while the request was being applied. Nothing was lost: send the same request again.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"a38fbe30-50ac-48bf-9920-b12566f3b11f":{"description":"The account's request rate limit is exceeded. Retry later.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"d12d9078-8683-4e1f-b859-b94075a7d024":{"description":"The service could not read or write a record it needs. Not caused by the request; retry later.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"7d5021f5-cbbf-4f0c-a194-bc6c878362db":{"description":"Loading is not available on this deployment; or the request needs something this deployment does not do: `if_exists: replace` where tables cannot be dropped for a load, or a `bucket` source into a database on the service's own storage on a cloud where that is not supported.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"3366607d-ca97-4385-8f7f-754991665eb1":{"description":"Files the account uploaded for this `prefix` source could not be finalized. Retry.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"0bd67e7b-2c72-4565-8238-76f50fa051bf":{"description":"The source's storage failed in a way that may pass, or the service is shedding load. Retry after a short wait.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"1258fe85-5976-492c-bc8f-b856b488c3ea":{"api_key":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"api_key"}}},"servers":{"599977cb-8918-427d-9d7b-8a848f5cf332":{"url":"https://api.platform.infino.ws","description":"Infino Cloud"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"api_key"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"api_key","name":"Authorization"}],"title":"api_key"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"infino-29","siteName":"Infino","title":"Start a load - Infino","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/hydrate/start-a-load.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=\"Load files from a source into a table: the service reads the files where they are, derives a searchable schema, embeds the text and writes the rows. The request is answered once the checks that take a bounded time have passed; the load then runs on its own and is followed with GET /v1/hydrate/{database}. One path, four answers, by two fields of the request. With a table: 202 and that table\u0026#x27;s load. With no table: 202 and a plan, which loads one table per folder found under the source. With dry_run: true: 200 and nothing written, for the one table or for every table found. A refusal has the same status and body either way. A table that already exists but has no load on record is not refused here: with if_exists: refuse (the default) the load is accepted and then ends failed, saying the table exists. A sync load is instead taken over the table as it stands. Preview: this route may change between releases.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Infino\">\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/infino-29/QxzEBvRaDzIUbPUA/_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/infino-29/QxzEBvRaDzIUbPUA/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/infino-29/QxzEBvRaDzIUbPUA/_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/infino-29/QxzEBvRaDzIUbPUA/_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/infino-29/QxzEBvRaDzIUbPUA/_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/infino-29/QxzEBvRaDzIUbPUA/_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/infino-29/QxzEBvRaDzIUbPUA/_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/infino-29/QxzEBvRaDzIUbPUA/_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/infino-29/QxzEBvRaDzIUbPUA/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Start a load - Infino\">\u003cmeta data-mint-head property=\"og:description\" content=\"Load files from a source into a table: the service reads the files where they are, derives a searchable schema, embeds the text and writes the rows. The request is answered once the checks that take a bounded time have passed; the load then runs on its own and is followed with GET /v1/hydrate/{database}. One path, four answers, by two fields of the request. With a table: 202 and that table\u0026#x27;s load. With no table: 202 and a plan, which loads one table per folder found under the source. With dry_run: true: 200 and nothing written, for the one table or for every table found. A refusal has the same status and body either way. A table that already exists but has no load on record is not refused here: with if_exists: refuse (the default) the load is accepted and then ends failed, saying the table exists. A sync load is instead taken over the table as it stands. Preview: this route may change between releases.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Infino\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://infino.ai/docs/api-reference/hydrate/start-a-load\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://infino-29.mintlify.site/docs/images/og-card.png\">\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=\"Start a load - Infino\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Load files from a source into a table: the service reads the files where they are, derives a searchable schema, embeds the text and writes the rows. The request is answered once the checks that take a bounded time have passed; the load then runs on its own and is followed with GET /v1/hydrate/{database}. One path, four answers, by two fields of the request. With a table: 202 and that table\u0026#x27;s load. With no table: 202 and a plan, which loads one table per folder found under the source. With dry_run: true: 200 and nothing written, for the one table or for every table found. A refusal has the same status and body either way. A table that already exists but has no load on record is not refused here: with if_exists: refuse (the default) the load is accepted and then ends failed, saying the table exists. A sync load is instead taken over the table as it stands. Preview: this route may change between releases.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://infino-29.mintlify.site/docs/images/og-card.png\">\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/infino-29/QxzEBvRaDzIUbPUA/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Infino\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#d24011\">\u003clink data-mint-head rel=\"canonical\" href=\"https://infino.ai/docs/api-reference/hydrate/start-a-load\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/hydrate/start-a-load.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://infino.ai/#organization\",\"name\":\"Infino\",\"url\":\"https://infino.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/infino-29/sXqDYmwcZ7BW4kvO/logo/infino-logo.png?fit=max\u0026auto=format\u0026n=sXqDYmwcZ7BW4kvO\u0026q=85\u0026s=6bf8ba5e6249a14bb302a90e30e5e18f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://infino.ai/docs#website\",\"name\":\"Infino\",\"url\":\"https://infino.ai/docs\",\"publisher\":{\"@id\":\"https://infino.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://infino.ai/docs/api-reference/hydrate/start-a-load#webpage\",\"url\":\"https://infino.ai/docs/api-reference/hydrate/start-a-load\",\"name\":\"Start a load\",\"description\":\"Load files from a source into a table: the service reads the files where they are, derives a searchable schema, embeds the text and writes the rows. The request is answered once the checks that take a bounded time have passed; the load then runs on its own and is followed with GET /v1/hydrate/{database}. One path, four answers, by two fields of the request. With a table: 202 and that table's load. With no table: 202 and a plan, which loads one table per folder found under the source. With dry_run: true: 200 and nothing written, for the one table or for every table found. A refusal has the same status and body either way. A table that already exists but has no load on record is not refused here: with if_exists: refuse (the default) the load is accepted and then ends failed, saying the table exists. A sync load is instead taken over the table as it stands. Preview: this route may change between releases.\",\"isPartOf\":{\"@id\":\"https://infino.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://infino.ai/docs/api-reference/hydrate/start-a-load#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://infino.ai/docs/api-reference/hydrate/start-a-load#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"REST API\",\"item\":\"https://infino.ai/docs/api-reference/rows/append-rows\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hydrate\",\"item\":\"https://infino.ai/docs/api-reference/hydrate/get-the-status-of-a-load\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Start a load\",\"item\":\"https://infino.ai/docs/api-reference/hydrate/start-a-load\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://infino.ai/docs/api-reference/hydrate/start-a-load#apireference\",\"headline\":\"Start a load\",\"name\":\"Start a load\",\"description\":\"Load files from a source into a table: the service reads the files where they are, derives a searchable schema, embeds the text and writes the rows. The request is answered once the checks that take a bounded time have passed; the load then runs on its own and is followed with GET /v1/hydrate/{database}. One path, four answers, by two fields of the request. With a table: 202 and that table's load. With no table: 202 and a plan, which loads one table per folder found under the source. With dry_run: true: 200 and nothing written, for the one table or for every table found. A refusal has the same status and body either way. A table that already exists but has no load on record is not refused here: with if_exists: refuse (the default) the load is accepted and then ends failed, saying the table exists. A sync load is instead taken over the table as it stands. Preview: this route may change between releases.\",\"url\":\"https://infino.ai/docs/api-reference/hydrate/start-a-load\",\"mainEntityOfPage\":{\"@id\":\"https://infino.ai/docs/api-reference/hydrate/start-a-load#webpage\"},\"image\":\"https://infino.ai/images/og-card.png\",\"publisher\":{\"@id\":\"https://infino.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://infino.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Infino\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Infino\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/hydrate/start-a-load.md","siteName":"Infino","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/mcp"}]},{"tab":"Tutorials","pages":[{"title":"Tutorials","href":"/tutorials"}]},{"tab":"Use Cases","pages":[{"title":"Use Cases","href":"/use-cases"}]},{"tab":"Demos","pages":[{"title":"Demos","href":"/demos"}]},{"tab":"API Reference","groups":[{"group":"SDKs \u0026 CLI","pages":[{"title":"Overview","icon":"code","href":"/api-reference"},{"title":"Local vs Infino Cloud","icon":"table-columns","href":"/api-reference/parity"},{"title":"Infino CLI: create tables, ingest, and search","icon":"terminal","href":"/cli"}]},{"group":"REST API","pages":[{"group":"Rows","pages":[{"title":"Append rows","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/append/{database}","href":"/api-reference/rows/append-rows"},{"title":"Delete rows","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/delete/{database}","href":"/api-reference/rows/delete-rows"},{"title":"Update rows","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/update/{database}","href":"/api-reference/rows/update-rows"}]},{"group":"Search","pages":[{"title":"BM25 full-text search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/bm25_search/{database}","href":"/api-reference/search/bm25-full-text-search"},{"title":"Count matches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/count/{database}","href":"/api-reference/search/count-matches"},{"title":"Exact match","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/exact_match/{database}","href":"/api-reference/search/exact-match"},{"title":"Hybrid search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/hybrid_search/{database}","href":"/api-reference/search/hybrid-search"},{"title":"Run a SQL query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/query_sql/{database}","href":"/api-reference/search/run-a-sql-query"},{"title":"Token match","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/token_match/{database}","href":"/api-reference/search/token-match"},{"title":"Vector search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/vector_search/{database}","href":"/api-reference/search/vector-search"}]},{"group":"Tables","pages":[{"title":"Create a table","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/create_table/{database}","href":"/api-reference/tables/create-a-table"},{"title":"Drop a table","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/drop_table/{database}","href":"/api-reference/tables/drop-a-table"},{"title":"List tables","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/list_tables/{database}","href":"/api-reference/tables/list-tables"},{"title":"Describe or change a table's schema","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/schema/{database}","href":"/api-reference/tables/describe-or-change-a-tables-schema"}]},{"group":"Databases","pages":[{"title":"List databases","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/databases","href":"/api-reference/databases/list-databases"},{"title":"Create a database","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/databases","href":"/api-reference/databases/create-a-database"},{"title":"Delete a database","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/databases/{name}","href":"/api-reference/databases/delete-a-database"},{"title":"Verify a storage binding","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/databases/{name}/storage/verify","href":"/api-reference/databases/verify-a-storage-binding"}]},{"group":"Agent","pages":[{"title":"Find lines","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/find/{database}","href":"/api-reference/agent/find-lines"},{"title":"Expand rows through the graph","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/graph_expand/{database}","href":"/api-reference/agent/expand-rows-through-the-graph"},{"title":"Query graph facts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/graph_facts/{database}","href":"/api-reference/agent/query-graph-facts"},{"title":"Find join keys","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/join_keys/{database}","href":"/api-reference/agent/find-join-keys"},{"title":"Ask the retrieval sub-agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/sub_agent/{database}","href":"/api-reference/agent/ask-the-retrieval-sub-agent"},{"title":"Read a table card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/table_card/{database}","href":"/api-reference/agent/read-a-table-card"},{"title":"Validate a result","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/validate/{database}","href":"/api-reference/agent/validate-a-result"}]},{"group":"Hydrate","pages":[{"title":"Get the status of a load","description":"Follow a load. With `?table=\u003cname>`: where that table's load stands, the request it was started with, its progress, the table's shape and the usage billed so far. With `?plan=\u003cid>`: the plan of a request that named no table, and its tables once they are found. Poll it; a load that has ended keeps answering until it is cleared with `DELETE`. The key needs write access to the database, as starting a load does.\n\nPreview: this route may change between releases.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/hydrate/{database}","href":"/api-reference/hydrate/get-the-status-of-a-load"},{"title":"Start a load","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/hydrate/{database}","href":"/api-reference/hydrate/start-a-load"},{"title":"Cancel a load, or clear one that has ended","description":"What it does depends on where the table's load stands. A load that is still live is cancelled: it stops at its next commit, the request's `on_failure` decides what becomes of the table, and the notice the request asked for is withdrawn. A load that has ended is cleared: its record is removed, so the table can be loaded again; the table and its rows are not touched. For a table loaded with `sync`, clearing stops keeping it matching its source. If a record cannot be removed the request fails and the load is kept: send the `DELETE` again.\n\nPreview: this route may change between releases.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/hydrate/{database}","href":"/api-reference/hydrate/cancel-a-load-or-clear-one-that-has-ended"},{"title":"Run a sync pass now","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/hydrate/{database}/{table}/sync","href":"/api-reference/hydrate/run-a-sync-pass-now"}]}]}]}]},"basePath":"","title":"Start a load - Infino","deploymentId":"dpl_2XYgqAEo2Z87hCspE7GmXvEteEBv","buildId":"dpl_2XYgqAEo2Z87hCspE7GmXvEteEBv","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DNqkp7YS.js","snippetPresets-C38JHxW2.js","utils-5JdO8rlh.js","style-to-object-BY3JEAdk.js","utils-C0Bo3eqZ.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-D-aWhlw8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BPmIGmRa.js","_Uint8Array-CcjpDbJb.js","isObject-FP1Yky1u.js","ApiExamples-D422jahk.js","usePlaygroundInputsStore-osHAJtpm.js","shallow-Gw98mn20.js","isEqual-X71_hSCS.js","CodeSnippets-D5iZ7Wia.js","CodeSnippet-Br0gsSYf.js","use-playground-group-access-D2GsZl7r.js","Page-Tji5sfbr.js","api-description-markdown-Dl9akA3Z.js","DynamicMarkdown-nQmF4d4W.js","SectionHeading-_u13RW5t.js","MethodPill-DvROsJQF.js","getPastedJson-Df88_Idg.js","Check2Icon-CFIe--gy.js","axios-CsQoIw0U.js","Markdown-BL3fHinh.js","AssistantPageLink-CwNgb7pc.js","dist-D_Pa01uY.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}