v2

latestOpenAPI 3.1.02026-07-263761369.4 KB
threads

Archive thread

Archive a captain thread. If the thread is actively running, the archive succeeds first and then the API attempts to stop the active run on a best-effort basis.

post/v1/threads/{threadId}/archive

Path parameters

threadIdstring required

Thread jam ID.

Request body

impersonateUserEmailstring email

Response

Success

idstring required
status'active' | 'idle' | 'archived' required