Triggers an asynchronous prompt run with the given inputs and returns a run ID and thread ID. Reference the prompt by version number, tag, or __latest__. Pass a thread ID to continue an existing conversation.
Documentation Index
Fetch the complete documentation index at: https://docs.promptjuggler.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request payload for creating a prompt run.
Key-value map of input variable names to their values.
{ "topic": "AI safety" }Thread ID to continue a multi-turn conversation. Omit to start a new thread.
Processing priority.
onsite, normal, low Environment that scopes which webhooks fire and which environment variables the run can access. Uses the default environment when omitted.
Runtime environment variable overrides for this run. Keys must be UPPER_CASE. At most 50 entries, 64 KB total.
{ "MY_API_KEY": "sk-..." }Arbitrary key-value metadata attached to the run. Values can be strings or arrays of strings.
{ "user_id": "42" }Memory channel within the thread. Prompts on the same channel share conversational history; different channels are isolated.