Draft a List
Turn a description into a supported definition and read-only preview, or ask for clarification. One bounded AI call; no List is saved. Use create_list only after explicit approval of the draft.
AuthorizationBearer <token>
Signed-in user's Supabase access token. Workspace-scoped operations also require SMB-Workspace-Id.
In: header
Header Parameters
SMB-Workspace-Id*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/lists/draft" \ -H "SMB-Workspace-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "prompt": "string", "subject_type": "business" }'{ "data": { "status": "needs_clarification", "question": "string" }, "request_id": "string"}