Manage and version your prompts with the Keywords AI Prompts API
create()
- Create a new promptlist()
- List prompts with filtering and paginationget()
- Retrieve a specific promptupdate()
- Update an existing promptdelete()
- Delete a promptcreate_version()
- Create a new version of a promptlist_versions()
- List all versions of a promptget_version()
- Get a specific prompt versiondeploy_version()
- Deploy a prompt version to an environmentAsyncKeywordsAI
.
id
: Unique identifiername
: Human-readable namecontent
: The actual prompt text with optional variablesdescription
: Optional descriptionmetadata
: Custom metadata for organizationvariables
: List of variables used in the promptversions
: Version historycreated_at
: Creation timestampupdated_at
: Last update timestamp