Skip to main content
DELETE
/
api
/
v1
/
llm
/
conversations
/
{conversation_id}
Python (SDK)
from mka1 import SDK


with SDK(
    bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:

    res = sdk.llm.conversations.delete(conversation_id="conv_abc123")

    # Handle response
    print(res)
{
  "id": "conv_abc123",
  "object": "conversation.deleted",
  "deleted": true
}

Authorizations

Authorization
string
header
required

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Path Parameters

conversation_id
string
required

The ID of the conversation

Response

200 - application/json

OK

id
string
required

The ID of the deleted conversation

object
any
required
deleted
boolean
required

Always true