Skip to main content
All prompt operations are available under the client.prompts namespace. Every method has both sync and async variants (async methods use the a prefix).

Async Variants

Available Methods

Run

Execute a prompt and get the LLM response

List

Get all prompts for your account

Get

Retrieve a single prompt with its content

Create

Create a new prompt

Update

Update an existing prompt

Delete

Delete a prompt and all its versions

Types

Prompt

PromptVersion

PromptMessage

PromptListItem