Set prompt version environment
Set or clear the environment owned by a prompt version. Setting a non-null environment moves ownership atomically: any previous owner of that environment for the same prompt has its environment cleared in the same transaction. Setting null clears the environment from the version. The environment must already exist in the workspace registry; unknown names return 404.
Path parameters
Request body
Response
No Content
Changes
Changed in 3 of the 58 revisions of this API.211
- ▲
added the new required request property
environmentsnew-required-request-property
- ●
removed the request property
environmentrequest-property-removed
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲