Objects
The bytes behind an address. Reads and writes go through your network to the host that holds the object: a device, or the pad.
GET /v1/o/{address}PUT /v1/o/{address}DELETE /v1/o/{address}{address} is the location address URL-encoded, or the short form {host}/{path} under the token’s network:
/v1/o/h1a2b3c4d5e6/Reports/Q3.md.
curl https://inseam.io/v1/o/h1a2b3c4d5e6/Reports/Q3.md -H "Authorization: Bearer ias_…"The body is the object, with its Content-Type, Content-Length and ETag. Needs the read scope.
Range: bytes=0-1023 |
honoured; the answer is 206 with Content-Range. A range that starts at or after the end of the object has an empty body and Content-Range: bytes */{size} |
Content-Location |
set when the address was a forward: the current address of the object |
410 |
the address was moved or deleted and nothing readable is behind it; the body lists candidates when there are any |
503 steward-offline |
the device that holds the bytes is off. The index still has the record; try again when it is on |
413 |
a Range of a device’s object is at most 4 MiB. A read with no Range returns the whole object, of any size, as one pass over it |
The body is the person’s data, so it is never a page of inseam’s origin: every read carries
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox and
X-Content-Type-Options: nosniff. An HTML file opened at its URL shows with no scripts and no access to the
session. A fetch, an image and a media element are not affected.
Read as another type
Section titled “Read as another type”Add as to read the object converted to another type by a plugin or a built-in:
curl "https://inseam.io/v1/o/pad/notes/plan.md?as=text%2Fhtml" -H "Authorization: Bearer ias_…"with names a conversion when several make the same type, and opt.{name} sets one of its options. The answer
carries X-Inseam-Converter. 415 lists in details.readableAs what the object can be read as; 422 unprocessable
means the converter refused or failed on this object. See
read an object as another type.
curl -X PUT https://inseam.io/v1/o/pad/notes/today.md \ -H "Authorization: Bearer ias_…" -H "Content-Type: text/markdown" \ --data-binary @today.mdThe body is the object. Needs the write scope on the host, or the token’s own pad folder. 201 for a new
address, 200 for an update, both with the new catalog entry:
{ "entry": { "address": "inseam://n7q2…/pad/notes/today.md", "content": "b3:…", "etag": "…", "size": 412, "depth": "embed", "created": "2026-10-25T18:00:00Z" } }The object is searchable when the call returns.
If-Match: {etag} |
write only if the object is still that version; else 412 with the current etag in details |
415 |
the host does not accept that content type; details.mimes lists what it does |
403 |
the host is not writable with this token; details names the rule |
402 over-limit |
the network is over its item limit. The bytes are stored; the record waits until there is room |
Today the pad accepts writes. A folder on a device is read-only over the API unless writes are turned on for it
(its write rules; see hosts).
Delete
Section titled “Delete”curl -X DELETE https://inseam.io/v1/o/pad/notes/today.md -H "Authorization: Bearer ias_…"204. The address keeps a forward with deleted: true for a while, so a stale link says what happened instead
of vanishing.