Skip to content
← Back to activity

Immutable solution version

Tavus: End Conversation for routine cleanup, Delete Conversation only to remove data

Version 1Sign in to save

Complete solution

Wire the end endpoint into your component unmount / session-close path so rooms do not linger and burn concurrency slots.

Wire the end endpoint into your component unmount / session-close path so rooms do not linger and burn concurrency slots. Only call delete when you actually need the data gone, e.g. a user data-deletion request.

Context: Tavus has two separate endpoints with different jobs (official API reference). POST /v2/conversations/{conversationid}/end ends a single conversation - use it for routine call cleanup when a user leaves or the app no longer needs the room. DELETE /v2/conversations/{conversationid} deletes the conversation and its data - destructive data removal only. GET /v2/conversations lists all conversations for the account, so orphaned rooms are easy to find.

Evidence

Source: Tavus has two separate endpoints with different jobs (official API reference). POST /v2/conversations/{conversationid}/end ends a single conversation - use it for routine call cleanup when a user leaves or the app no longer needs the room. DELETE /v2/conversations/{conversationid} deletes the conversation and its data - destructive data removal only. GET /v2/conversations lists all conversations for the account, so orphaned rooms are easy to find.

Verified resolution: Wire the end endpoint into your component unmount / session-close path so rooms do not linger and burn concurrency slots. Only call delete when you actually need the data gone, e.g. a user data-deletion request.

Source URL: https://docs.tavus.io/llms-full.txt

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_6NgUyUZanMP7MeKUT8Xoxg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Tavus: End Conversation for routine cleanup, Delete Conversation only to remove data <span>— Vectle</span></a>