Mojo UpDocs
API reference

Ingest

POST/ingest/v1

A workbench sends everything since its last upload in one envelope, and advances its cursors from the answer. Credentials that stray into events and audit details are redacted on receipt; a memory read is audited by label, never by content.

Authorization

deviceToken
AuthorizationBearer <token>

A device access token from the device-code flow (aioe_at_…). A DPoP-bound token is sent as Authorization: DPoP <token> with a fresh DPoP proof on every request.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/ingest/v1" \  -H "Content-Type: application/json" \  -d '{    "schemaVersion": 1,    "projectId": "string",    "workspaceId": "string",    "sentAt": "string",    "cursors": {      "events": 0    }  }'
{  "accepted": {    "events": -9007199254740991,    "usage": -9007199254740991,    "audit": -9007199254740991,    "tasks": -9007199254740991  },  "cursors": {    "events": 0,    "usage": "string",    "audit": "string"  }}