namestring required
Unique prompt name using letters, numbers, hyphens, and underscores only.
configobject nullable
Optional JSON object with model parameters or any agent configuration (e.g. model, temperature, tools). Versioned with the prompt and returned as-is when fetching it. Don't store secrets here: config is returned to anyone who can read the prompt.
version_descriptionstring nullable
Optional note describing what changed in this version. Set when the version is published.
created_atstring date-time required
updated_atstring date-time required
is_latestboolean required
latest_versioninteger required
version_countinteger required
first_version_created_atstring required
labelsstring[] required
Names of the labels currently pointing at this version.
activity_item_idstring required
Key for this prompt's rows in the activity log, e.g. for the History tab. Derived from the name, at most 72 characters.