Skip to content

Align examples with versioned Runtime and Admin API - #8

Merged
matviychuk merged 1 commit into
mainfrom
chore/sync-api-v1-project-runtime
Apr 9, 2026
Merged

Align examples with versioned Runtime and Admin API#8
matviychuk merged 1 commit into
mainfrom
chore/sync-api-v1-project-runtime

Conversation

@matviychuk

@matviychuk matviychuk commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates planvault-examples to match the current PlanVault HTTP API: project-scoped Runtime under /api/v1/projects/{projectId}/…, Admin under /admin/v1/…, and removal of the per-message status polling endpoint.

Changes

  • scripts/bash-e2e: Require PLANVAULT_PROJECT_ID; use $BASE/api/v1/projects/$PLANVAULT_PROJECT_ID/sessions; remove GET …/messages/{id}/status (no longer served).
  • frontend/react-chat: Project ID from UI or VITE_PLANVAULT_PROJECT_ID; all session/message/SSE/action URLs include the project segment; drop status polling; POST …/messages body is { "message": "…" } only (matches OpenAPI).
  • README.md: Document SSE/history instead of status poll; correct tool flow (Admin ingest vs Runtime integrations); /admin/v1 for LLM admin routes.
  • mcp/python-sqlite/README.md: MCP register/sync curls use /admin/v1/orgs/….
  • .env.example: Admin comment mentions /admin/v1.

Verification

  • npm test and npm run build in frontend/react-chat.

- bash-e2e: require PLANVAULT_PROJECT_ID; use project-scoped session paths; drop removed message status GET
- react-chat: project ID field + VITE_PLANVAULT_PROJECT_ID; all Runtime calls under /api/v1/projects/{id}/sessions; remove status polling; POST messages body is {message} only
- Docs: README tool ingest vs integrations; admin LLM/MCP paths use /admin/v1; note absence of per-message status endpoint
- .env.example: clarify Admin prefix comment

Made-with: Cursor
@matviychuk
matviychuk merged commit ad7a7a0 into main Apr 9, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant