Skip to main content
POST
Create new solution

Authorizations

Authorization
string
header
required

JWT authentication for organization-scoped endpoints.

Path Parameters

orgId
string
required

Organization ID

workspaceId
string
required

Workspace ID

Body

application/json

Request schema for creating a solution

title
string
required

Title of the solution

Example:

"Implement Single Sign-On"

description
string
required

Description of the solution

Example:

"Integrate with OAuth providers to simplify user login experience"

createdBy
enum<string>
required

How the solution was created

Available options:
user,
generated
Example:

"generated"

prd
string
required

Product Requirements Document content for the solution

Example:

"Objective: Help users easily create..."

id
string<uuid>
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
systemPrompt
string
aiProcessingState
enum<string>
Available options:
INITIAL,
PROCESSING,
FINISHED,
ERROR
refinementLog
object[]
status
enum<string>

Solution status

Available options:
Backlog,
New,
Planned,
InDevelopment,
Complete,
Cancelled,
Live
Example:

"Backlog"

pros
string[]
cons
string[]
ownerId
string
opportunityIds
string[]
horizon
enum<string>

Solution horizon

Available options:
now,
next,
later
Example:

"now"

Response

Solution created successfully

Response containing a single solution

data
object
required

Solution data