List conversations
Retrieves a paginated list of conversations. Standard users see only conversations belonging to their own genies. Admin users see all conversations.conversationsallResponse
Array of conversation objects, each joined with basic genie info.
Estimated total number of matching conversations.
The limit that was applied.
The offset that was applied.
Get conversation
Retrieves a single conversation by ID. Standard users can only access conversations for their own genies.conversationsgetThe conversation ID.
Response
Returns the full conversation object directly indata.
Unique conversation identifier.
ID of the genie this conversation belongs to.
ElevenLabs conversation ID.
Conversation status.
Arbitrary metadata associated with the conversation.
Whether the conversation has been viewed.
ISO 8601 timestamp.
Sync conversations
Triggers a sync of conversations from ElevenLabs for a specific genie. This delegates to thehandle-conversation edge function.
conversationssyncResponse
true if the sync completed without errors.true if new conversation data was pulled from ElevenLabs.The synced conversation record with the latest data from ElevenLabs.
Sync pulls the latest conversation data from ElevenLabs, including updated transcripts, status, and metadata. The authenticated user must own the genie specified by
agentId. A 403 FORBIDDEN error is returned otherwise.Analyze conversation
Runs an analysis on a specific conversation. This delegates to thehandle-conversation edge function.
conversationsanalyzeThe conversation ID to analyze.
Additional parameters to pass to the analysis function.
Response
Returns a detailed analysis object generated by thehandle-conversation edge function.
The analysis result for the conversation.
Analysis is performed asynchronously via OpenAI. For longer conversations, the response may take several seconds to return while the analysis is generated.
Update conversation
Updates metadata or fields on an existing conversation. Standard users can only update their own conversations.conversationsupdateThe conversation ID to update.
Fields to update. Can be provided directly or nested under an
updates key.Response
Returns the updated conversation object directly indata.
Delete conversation
Permanently deletes a conversation. Standard users can only delete their own conversations. Admin users can delete any conversation.conversationsdeleteThe conversation ID to delete.
Response
true if the conversation was deleted.The ID of the deleted conversation.

