Skip to main content
Pins are markdown artifacts in the workspace that Load returns first, in order, as read-first context. A workspace holds at most 20. Managing pins requires manageContext (internal admins and editors). Visibility is resolved on load: an external member never learns that an internal pin exists. MCP: workspace_pin / workspace_unpin. CLI: rip workspace pin add|remove. Auth: Authorization: Bearer tr_... (an account API key). {id} is the workspace UUID.

POST /v0/workspaces/{id}/pins

Returns (201):
Pinning an artifact that is already pinned returns its current position and changes nothing.

DELETE /v0/workspaces/{id}/pins/{artifactId}

{artifactId} is the public id or alias. Returns 204, also when the artifact was not pinned. The artifact itself is untouched, and later pins move up one slot.

Errors