Prompt Runs

Batch Run Live Prompt Version

Changed on

Renders the active 'live' template version and executes it concurrently against multiple variable payloads.

post/v1/projects/{projectID}/prompts/{slug}/batch-run

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/v1/projects/{projectID}/prompts/{slug}/batch-run
  • Auth: HTTP bearer

Path parameters

projectIDstring uuid required

The ID of the project the prompt belongs to.

slugstring required

Prompt slug, unique within the project.

Request body

modelstring nullable
model_paramsobject nullable

Response

Correlated list of model completions

modelstring required
versioninteger required
slugstring required

Changes