Skip to main content
DELETE
/
v4
/
threads
/
{thread_id}
/
messages
/
{application_interaction_id}
/
feedback
Python
import os
from scale_gp import SGPClient

client = SGPClient(
    api_key=os.environ.get("SGP_API_KEY"),  # This is the default and can be omitted
)
feedback = client.chat_threads.messages.feedback.delete(
    application_interaction_id="application_interaction_id",
    thread_id="thread_id",
)
print(feedback)
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Headers

x-selected-account-id
string | null

Path Parameters

thread_id
string
required
application_interaction_id
string
required

Response

Successful Response