Skip to navigation

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.
querystringRequired
The research query to generate clarification questions for.

Response

Brainstorm session created with clarification questions.
idstringformat: "uuid"
Unique identifier for the brainstorm session.
querystring
The original research query.
questionslist of objects

Generated clarification questions (2-7 questions).

statusenum

Session status:

  • ready: Session can be used with /research
  • used: Session has already been used (single-use)
Allowed values:
created_atdatetime
ISO 8601 timestamp when the session was created.

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
500
Internal Server Error