Archust Docs
Chat

restoreDraftVersion (chat)

tRPC `chat.restoreDraftVersion` — stub tự sinh cho tenant. Xem `server/routers/chat.ts`

POST
/v1/chat/restore-draft-version

Authorization

bearerAuth
AuthorizationBearer <token>

Clerk session JWT. Also send x-clerk-org-id if org context needed.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/v1/chat/restore-draft-version" \  -H "Content-Type: application/json" \  -d '{}'
Empty