m4Mindset docs

Mindset v3 / Deploy in your app / Agent Sessions

View as Markdown

Delete an agent session by UID

Mindset v3 REST API reference: Agent Sessions.

DELETE /api/v1/appuid/{appUid}/agentsessions/uid/{uid}

Base URL

Requests go to your region's API host, for example https://a.api.mindset.ai. Hosts: https://a.api.mindset.ai, https://b.api.mindset.ai, https://c.api.mindset.ai, https://d.api.mindset.ai.

Authorization

x-api-keystringheaderrequired

Your API key.

Path parameters

appUidstringpathrequired

Your application's uid

uidstringpathrequired

Unique ID of the agent sessions

Responses

200

Successful deletion

404

Label not found

Example request

bash
curl -X DELETE "https://a.api.mindset.ai/api/v1/appuid/{appUid}/agentsessions/uid/{uid}" \
  -H "x-api-key: <your-api-key>"