Prompts
Set prompt version environment
Changed onSet 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.
patch/v1/private/prompts/versions/{versionId}/environments
Request
- Base URLhttp://localhost:5173/api
- URLhttp://localhost:5173/api/v1/private/prompts/versions/{versionId}/environments
- Authnone declared
Path parameters
versionIdstring uuid required
Request body
Response
No Content
Changes
- breaking
added the new required request property
- warning
removed the request property
- breaking
- info
endpoint added
- info