Update a prompt
Update a prompt's properties. Only provided fields will be updated. Toggling enabled schedules or unschedules the recurring run job.
BearerAuthAuthorizationBearer <token>An instance admin key from ADMIN_API_KEYS, or an organization key (elmo_…) issued from the dashboard.
promptId*stringThe ID of the prompt to update
uuidapplication/json- body
1 <= propertiesvalue?stringThe prompt text
1 <= lengthenabled?booleanWhether the prompt is enabled
tags?array<string>User-defined tags for categorizing this prompt
premiumModels?array<string>Replaces the prompt's grounded models. Checked against the organization's premium pool.
Prompt updated successfully
application/json- response
id*stringUnique identifier for the prompt
uuidbrandId*stringBrand identifier this prompt belongs to
value*stringThe actual prompt text
enabled*booleanWhether the prompt is currently enabled
tags*array<string>User-defined tags for categorizing this prompt
systemTags*array<string>Auto-computed system tags (e.g., 'branded', 'unbranded'). Read-only.
createdAt*stringTimestamp when the prompt was created
date-timeupdatedAt*stringTimestamp when the prompt was last updated
date-timepremiumModels*array<string>Models this prompt is tracked on grounded. Each entry spends one premium pairing.
curl -X PATCH 'https://app.elmohq.com/api/v1/prompts/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
-H 'Content-Type: application/json' \
-d '{}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"brandId": "string",
"value": "string",
"enabled": true,
"tags": [
"string"
],
"systemTags": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"premiumModels": [
"string"
]
}