Lists the agent's saved system prompt versions.
Lists the saved system prompt versions for the specified custom agent.
Use a returned version id with the system prompt restore endpoint to restore an earlier prompt.
<Check title="Required Permissions" icon="key">The user must have read access to the agent.</Check>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
agentId
The agent id.
Response
OK
id
The prompt version id.
agentId
The agent id.
versionNumber
The version number, assigned in order of creation.
isCurrent
Whether this is the agent's current system prompt.
systemPrompt
The system prompt.
createdOn
The creation time of the system prompt version.
createdBy
The user who created the system prompt version.
Errors
401
Unauthorized Error
404
Not Found Error

