Loading...
Loading...
Saves markdown as a document file on an OriginMind project's Reference Panel (shelf). Multipart .md upload — not kind text. Server auto-ingests vector-only. Use when the user says save to reference, /save-to-reference, put this on the shelf, Reference Panel, or asks to pin a note/doc there.
npx skill4agent add originmind-ai/originmindai-skill save-to-referencePOST /api/v1/referenceskind: documentkind: "text".mdvector_only/save-to-referencehttps://api.originmind.aiPOST /api/v1/referencesproject_idfile.mdGET /api/v1/projectsX-OriAI-Api-Key. ./skills/create/scripts/bootstrap-originmind-env.ps1source ./skills/create/scripts/bootstrap-originmind-env.sh. "$HOME/.cursor/skills/create/scripts/bootstrap-originmind-env.ps1"MISSING_KEY. ./skills/create/scripts/setup-oauth.ps1.sh.env.local.envproj_...GET /api/v1/projectsORIGINMIND_CREATIVE_DNA_PROJECT_ID.originmind/om_project.config.jsonprojects[]defaultProjectIdGET /api/v1/projectsproject_id.md.md# Titlenote.md# Titlecurl.exe -sS -X POST "https://api.originmind.ai/api/v1/references" `
-H "X-OriAI-Api-Key: $env:ORIGINMIND_API_KEY" `
-F "project_id=proj_..." `
-F "file=@path/to/note.md;type=text/markdown"curl -sS -X POST "https://api.originmind.ai/api/v1/references" \
-H "X-OriAI-Api-Key: $ORIGINMIND_API_KEY" \
-F "project_id=proj_..." \
-F "file=@path/to/note.md;type=text/markdown"idkinddocument.md.md.markdown.txt.pdf.doc.docx.md{ "project_id": "proj_...", "kind": "url", "url": "https://...", "link_title": "optional" }| Code | Action |
|---|---|
| MISSING_KEY / 401 | Connect OriginMind |
| 404 | Wrong |
| 400 | Missing |
| 413 | File too large |
| 402 / 429 | Stop — https://app.originmind.ai/ |