Skip to main content
Base URL: https://api.zeroeval.com All requests require a Bearer token:

Get Prompt

Fetch the current version of a prompt by its slug.
Response: 200

Fetch by tag

Fetch by version number


Ensure Prompt Version

Create a prompt version if it doesn’t already exist (idempotent by content hash). This is what ze.prompt() calls under the hood. Request body:
Response: 200

Get Version by Hash

Fetch a specific prompt version by its SHA-256 content hash. Response: 200 (same schema as ensure)

Get Latest Version

Fetch the latest prompt version for a task. Response: 200 (same schema as ensure)

Resolve Model for Version

Get the model bound to a specific prompt version. Used by SDK integrations to auto-patch the model parameter. Response: 200
Returns null for model_id if no model is bound.

Deploy a Version (Pin Tag)

Pin a tag (e.g. production) to a specific version number. This is how you deploy a prompt version to production. Request body:

List Versions

List all versions of a prompt. Response: 200

List Tags

List all tags and which version each is pinned to. Response: 200

Update Version Model

Update the model bound to a version. Request body:

Submit Completion Feedback

See Feedback API Reference for the full specification.