Align examples with versioned Runtime and Admin API - #8
Merged
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates
planvault-examplesto 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
PLANVAULT_PROJECT_ID; use$BASE/api/v1/projects/$PLANVAULT_PROJECT_ID/sessions; removeGET …/messages/{id}/status(no longer served).VITE_PLANVAULT_PROJECT_ID; all session/message/SSE/action URLs include the project segment; drop status polling;POST …/messagesbody is{ "message": "…" }only (matches OpenAPI)./admin/v1for LLM admin routes./admin/v1/orgs/…./admin/v1.Verification
npm testandnpm run buildinfrontend/react-chat.