Save Prompt Version
Save agent prompt with version tracking.
- **create_new_version=True** (default): Creates a new version and updates the agent's active prompt.
- **create_new_version=False**: Updates the current (or specified) version in-place.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
agent_id
Request
This endpoint expects an object.
instructions
Prompt/instructions text
description
Description of what changed in this version
create_new_version
True = create new version, False = update current version in-place
version_number
Specific version to update (only when create_new_version=False)
Response
Successful Response
Errors
422
Unprocessable Entity Error