Skip to content

feat: add deploy and evaluation endpoints - #15

Merged
YoadElkayam merged 1 commit into
mainfrom
feat/eval
Feb 11, 2026
Merged

YoadElkayam merged 1 commit into
mainfrom
feat/eval

Conversation

@YoadElkayam

Copy link
Copy Markdown
Contributor

Summary

  • Deploy endpoint — POST /prompts/{id}/deploy for pinning a version to an environment (staging, production)
  • Evaluation endpoints — POST /prompts/{id}/eval to run evaluations, GET /prompts/{id}/eval/{eval_id} to retrieve results
  • JS SDK — new deployPrompt(), runEvaluation(), getEvaluationResult() methods
  • Python SDK — new deploy_prompt(), run_evaluation(), get_evaluation_result() methods
  • Spec & OpenAPI — updated with new tags, paths, schemas, and capability flags

Version Bumps

Artifact From To
PLP Spec 1.0.0 1.1.0
JS SDK (@goreal-ai/plp-client) 1.2.0 1.3.0
Python SDK (plp-client) 1.0.0 1.1.0

Test plan

  • JS SDK: npm test passes
  • Python SDK: pytest passes
  • OpenAPI spec validates cleanly
  • Verify new capability flags in discovery schema

🤖 Generated with Claude Code

- Add POST /prompts/{id}/deploy for environment-based deployment
- Add POST /prompts/{id}/eval for running evaluations
- Add GET /prompts/{id}/eval/{eval_id} for retrieving results
- Update JS and Python SDKs with new methods
- Bump versions: spec 1.1.0, JS SDK 1.3.0, Python SDK 1.1.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@YoadElkayam
YoadElkayam merged commit 4ac8e13 into main Feb 11, 2026
6 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