Run Prompt (SSE Streaming)

Run a specific prompt based on the Prompt ID and Prompt Version ID passed in. The results will be streamed using SSE. Not recommended when creating classifiers to make decisions, since full response is not available for decision making.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

A prompt run request consisting of the prompt, specific version (if any) to be run. Replacements are required if the prompt demands.

Request model for running a prompt

uuid
required

The ID of the Prompt to run. If no version is specified, the default version is used.

uuid | null

The Version ID of the Prompt to run

replacements
object | null

The replacements to use when running the prompt. These replacements are used if there are variables that need to be replaced in the prompt text at run time.

Headers
string
required
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

500

Server Error

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json