Skip to content
Back to Steward

Notes

A note is free-text commentary (with optional attachments) attached to a parent entity. Notes let your team record context against the things they review.

Every note is scoped to a parent by a pair of fields — entityType and entityId. The parent is one of:

entityTypeParent
APPLICATIONAn application
SCREENING_HITA screening hit
DOCUMENTA document
WORKFLOW_VERSIONA workflow version

GET /notes lists the notes for a given parent, and POST /notes creates one under a parent. You must have access to the parent entity to read or write its notes.

OperationEndpointNotes
CreatePOST /notesUnder a parent (entityType + entityId)
ListGET /notesScoped to a parent
UpdatePATCH /notes/{noteId}Edits content and attachments only
DeleteDELETE /notes/{noteId}Soft delete

Notes have no type or category of their own — the parent entityType is the only classifier.

Terminal window
# Add a note to an application
curl -X POST https://api.getsteward.ai/api/v1/notes \
-H "Authorization: Bearer stw_live_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{ "entityType": "APPLICATION", "entityId": "{applicationId}", "content": "Verified against the registry." }'
# List a parent entity's notes
curl "https://api.getsteward.ai/api/v1/notes?entityType=APPLICATION&entityId={applicationId}" \
-H "Authorization: Bearer stw_live_your_api_key_here"