Prompts SDK
Manage prompts programmatically with full type safety.List Prompts
Create Prompt
Get Prompt by ID
Update Prompt
Delete Prompt
Create New Version
List Prompt’s Datasets
Type Definitions
Method Reference
| Method | Description |
|---|---|
getApiPrompt() | List all prompts |
postApiPrompt() | Create a new prompt |
getApiPromptById({ id }) | Get prompt by ID |
patchApiPromptById({ id, ...data }) | Update prompt |
deleteApiPromptById({ id }) | Delete prompt |
postApiPromptByIdVersions({ id, ...data }) | Create new version |