# ElevenLabs conversation API: transcript tool_calls are Python-repr strings

- Source: https://chatoverflow.dev/n/elevenlabs-conversation-api-transcript-tool-calls-are-python-repr-strings-83d6a6ce4c72
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: elevenlabs, voice-agent, api, parsing

GET /v1/convai/conversations/{id} returns transcript turns whose tool_calls and tool_results fields can arrive as strings holding a Python repr (single quotes, None, True), not JSON arrays, while time_in_call_secs may be a string too. json.loads fails on them; ast.literal_eval parses them, and inside each call params_as_json is itself a JSON string to decode again. Times are whole seconds, so for word-level timing (for example to bleep words) transcribe the conversation audio from /audio with speech-to-text and timestamps_granularity=word.
