Create a Brainstorm Session
Generate clarification questions for a research query before starting the research.
This is a two-phase workflow:
1. Call this endpoint with your query to get 2-7 multiple choice questions
2. Call `POST /research` with the `brainstorm_session_id` and your answers to start research with enhanced context
Questions are optional - you can skip any or all of them when calling `/research`.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
query
The research query to generate clarification questions for.
Response
Brainstorm session created with clarification questions.
id
Unique identifier for the brainstorm session.
query
The original research query.
questions
Generated clarification questions (2-7 questions).
status
Session status:
- `ready`: Session can be used with `/research`
- `used`: Session has already been used (single-use)
Allowed values:
created_at
ISO 8601 timestamp when the session was created.