Replay
Returns the alternative response(s) the assistant would have produced for this conversation turn given changes to the agent system prompt.
Only assistant items from ended conversations can be replayed. The conversation must have an associated agent.
Authentication
AuthorizationBearer
Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).
Path parameters
id
The ID of the conversation item to replay.
Request
This endpoint expects an object.
system_prompt
The system prompt to use when generating replay responses. Use this to test prompt changes against this conversation turn.
num_responses
Number of alternative responses to generate.
Response
Success response
responses
Alternative responses generated for the conversation item.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
500
Internal Server Error