client.storage.upload(...)client.storage.resolve_path(...)
Upload a file
From path
From open file handle
Into a folder
UploadResult
| Field | Type |
|---|---|
obj_ulid | str |
uri | str (doc://...) |
filename | str |
size_bytes | int |
Use upload in ingest
to_ingest_source() creates IngestSource(uri=<doc://...>, kind="file").
Resolve Pantry path
resolve_path() returns None for 404.
REST API v1
Upload
201):
Resolve path
200 with the same object shape, or 404 if missing.
