#Hi, I use the conversational ai agent api, and when I finish a call I want to retrieve the speific

1 messages · Page 1 of 1 (latest)

nimble tideBOT
#
AI-generated Answer for jljljljljljljljljljljljljl

To retrieve the transcript of a specific conversation, you can use the Get Conversation Details API endpoint. This allows you to fetch the details of a conversation, including the transcript, using the conversation_id.

Here’s an example of how to use it in Python:

from elevenlabs import ElevenLabs

client = ElevenLabs(
    api_key="YOUR_API_KEY",
)

conversation_details = client.conversational_ai.get_conversation(
    conversation_id="YOUR_CONVERSATION_ID",
)

print(conversation_details)

Make sure to replace "YOUR_API_KEY" with your actual API key and "YOUR_CONVERSATION_ID" with the ID of the conversation you want to retrieve.

For more details, you can refer to the Get Conversation Details documentation.

opal field
#

ok but how can I get the conversation id through the agent api ?