Skip to content

docs: export and import a graph component as one file - #66

Open
olavgg wants to merge 2 commits into
masterfrom
docs/graph-export-import
Open

docs: export and import a graph component as one file#66
olavgg wants to merge 2 commits into
masterfrom
docs/graph-export-import

Conversation

@olavgg

@olavgg olavgg commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Platform branch feat/resource-graph-export-import adds GET /resources/export/{id} and POST /resources/import: a whole connected component, keyed by externalId, as one gzip-compressed binary file, with import replaying the file through the ordinary create pipeline in segments of 50 000 objects and skipping whatever already exists so a re-upload resumes where a failed one stopped.

Nothing here covered it. Adds a section to the resources reference (what the file carries and does not, the access each side needs, the skip rules, the segment semantics, the summary body, the status codes, and a curl pair since no client wraps the endpoints), a row in the client-coverage table, and the transfer ceilings on the limits page.

One caution worth reading before trusting the 512 MB figure: the import upload is not exempt from the general request-body cap, which defaults to 4 MiB and is deployment-wide, so that is what a default deployment accepts. Written from the filter code rather than the endpoint's own description.

Verified: npm run build succeeds.

olavgg and others added 2 commits September 2, 2026 14:05
Platform branch feat/resource-graph-export-import adds GET /resources/export/{id}
and POST /resources/import: a whole connected component, keyed by externalId,
as one gzip-compressed binary file, with import replaying the file through the
ordinary create pipeline in segments of 50 000 objects and skipping whatever
already exists so a re-upload resumes where a failed one stopped.

Nothing here covered it. Adds a section to the resources reference (what the
file carries and does not, the access each side needs, the skip rules, the
segment semantics, the summary body, the status codes, and a curl pair since
no client wraps the endpoints), a row in the client-coverage table, and the
transfer ceilings on the limits page.

One caution worth reading before trusting the 512 MB figure: the import upload
is not exempt from the general request-body cap, which defaults to 4 MiB and
is deployment-wide, so that is what a default deployment accepts. Written
from the filter code rather than the endpoint's own description.

Verified: npm run build succeeds.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Olav Gjerde <olav@intellistream.ai>
Platform branch fix/graph-import-streams adds POST /resources/import and
GET /resources/export/{id} to the streaming exemption the file endpoints
already had, so the import is consumed as it arrives, bounded only by the
file format's own 512 MB and two-million-object ceilings, and is not
charged to the daily ingest byte quota. The shipped nginx examples gain
matching locations.

The previous commit on this branch documented the cap as it then stood.
That caution is replaced by the rule as it is now.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Olav Gjerde <olav@intellistream.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant