跳转到主要内容
POST
/
threads
/
{threadId}
/
archive
归档 Thread
curl --request POST \
  --url https://docs.mosoo.ai/api/v1/threads/{threadId}/archive \
  --header 'Authorization: Bearer <token>'
{
  "ok": "<unknown>"
}

授权

Authorization
string
header
必填

使用 Authorization: Bearer mst_...。API token 用于识别账号,不携带 scope。

路径参数

threadId
string<ulid>
必填

create thread 返回的 Thread ID。v1 ID 是不带前缀的 ULID。

Pattern: ^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$
示例:

"01J00000000000000000000009"

响应

已归档。

ok
any
必填