Add a version
Content is versioned, so updating a prompt appends a version rather than overwriting one. Earlier versions stay readable.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Add a version to a prompt. The new version becomes the latest.
a string at least 1 character(s) long
1a string matching the pattern ^[a-z0-9][a-z0-9/_-]*$
1 - 255^[a-z0-9][a-z0-9/_-]*$a string at most 500 character(s) long
500Response
A prompt, with its version history when includeVersions is set.
A prompt, with its version history when includeVersions is set.
Addresses a version. latest is derived from the highest version rather than stored, so it cannot drift from the version table.
1 - 36^[a-z0-9][a-z0-9_-]*$An ISO-8601 timestamp in UTC.
a string matching the pattern ^[a-z0-9][a-z0-9/_-]*$
1 - 255^[a-z0-9][a-z0-9/_-]*$a string at most 500 character(s) long
500a string at most 255 character(s) long
1 - 255a positive number