Thread を削除する
Thread とそのバッキング AgentSession を完全に削除します。
DELETE
/threads/{threadId}Thread とそのバッキング AgentSession を完全に削除します。
Authorization
publicApiBearer AuthorizationBearer <token>
Authorization: Bearer mst_... を使用します。 API token はアカウントを識別しますが、スコープは持ちません。
In: header
Path Parameters
threadId*string
Thread 作成時に返された Thread ID。v1 ID は prefix のない ULID です。
Match
^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$Format
ulidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/threads/01J00000000000000000000009"{ "ok": true}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}