v2

latestOpenAPI 3.1.02026-07-262937191.0 MB
beta.conversations

Restart a conversation starting from a given entry.

Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.

post/v1/conversations/{conversation_id}/restart

Path parameters

conversation_idstring required

ID of the original conversation which is being restarted.

ID of the original conversation which is being restarted.

Request body

streamfalse

Whether to stream back partial progress. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.

storeboolean

Whether to store the results into our servers or not.

handoff_execution'client' | 'server'
metadataMetadataDict

Custom type for metadata with embedded validation.

from_entry_idstring required

Response

Successful Response

object'conversation.response'
conversation_idstring required
guardrailsobject[] nullable