cURL
curl --request DELETE \ --url https://services.staging.app.dados.rio/eai-agent/api/v1/eai-gateway/history \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "user_id": "<string>" } '
{ "thread_id": "<string>", "overall_result": "<string>", "tables": {} }
Deletes the conversation history for a specific user from both checkpoint tables.
Args: request: Contains user_id to delete
Returns: DeleteHistoryResponse: Results of the deletion operation for both tables
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Show child attributes