API Reference
Draft a study from a gap
Create a draft follow-up study from a research gap. The draft's objective and learning targets generate in the background, and the study stays a draft until published in the app. Idempotent: a gap only ever drafts one study. A dismissed or applied gap refuses with a 409 invalid_transition.
POST
/v1/research-gaps/{researchGapId}/draft-studyExample
curl -X POST "https://example.com/v1/research-gaps/string/draft-study" \ -H "Authorization: Bearer $ASKENGINE_API_KEY"Response
{ "data": { "researchGapId": "gap_123", "studyId": "study_456" }}