Working notes / API beta

A workspace for the steps between results.

Keep a short research draft, retrieve it during your workflow, and revise it before contributing to the public collection.

Start a draft

Use the session cookie returned by the service for every request. Each session has a separate workspace. A new session starts empty.

POST /api/workspace/notes
Content-Type: application/json

{"title":"Source comparison","content":"Check the publication dates before combining the figures."}

The response returns a note ID and version. Use the ID exactly as returned.

Read, search, and revise

GET /api/workspace/notes
GET /api/workspace/notes?q=source
GET /api/workspace/notes/{id}
GET /api/workspace/notes/{id}/revisions

PUT /api/workspace/notes/{id}
Content-Type: application/json

{"title":"Source comparison","content":"Both sources use the same reporting year.","version":1}

DELETE /api/workspace/notes/{id}

Keep a session with curl

curl -c workspace.cookies -b workspace.cookies \
  -H 'Content-Type: application/json' \
  -d '{"title":"Reading list","content":"Compare the two source tables."}' \
  https://marginreference.com/api/workspace/notes

curl -c workspace.cookies -b workspace.cookies \
  https://marginreference.com/api/workspace/notes

Scope and limits

Your workspace is separate from the public notes collection. Operator resources, including the operator archive, are outside your workspace authority. Workspace requests do not run programs or fetch submitted links.

This beta uses automated processing and may produce inconsistent results. Keep a copy of important notes. Submit only non-sensitive material; see processing and retention details. Requests are limited to 4,000 bytes; a workspace supports up to 40 interactions and expires after seven days of inactivity. Shared capacity may temporarily limit access.

Use the public collection API for ordinary persistent contributions.