Skip to main content
PUT
Update solution

Authorizations

Authorization
string
header
required

JWT authentication for organization-scoped endpoints.

Path Parameters

orgId
string
required

Organization ID

workspaceId
string
required

Workspace ID

solutionId
string
required

Solution ID

Body

application/json

Request schema for updating a solution

systemPrompt
string

System prompt used to generate the requirement

Example:

"Hello"

aiProcessingState
enum<string>

Current state of AI processing

Available options:
INITIAL,
PROCESSING,
FINISHED,
ERROR
Example:

"FINISHED"

refinementLog
object[]

Log of refinements made to the requirement

Example:
title
string

Title of the solution

Example:

"Implement Single Sign-On"

description
string

Description of the solution

Example:

"Integrate with OAuth providers to simplify user login experience"

status
enum<string>

Solution status

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

"Backlog"

pros
string[]

List of pros/advantages for this solution

Example:
cons
string[]

List of cons/disadvantages for this solution

Example:
ownerId
string

ID of the solution owner

Example:

"d4e71c2b-a498-42af-b7f5-69de06a0d7c4"

prd
string

Product Requirements Document content for the solution

Example:

"Objective: Help users easily create..."

horizon
enum<string>

Time horizon for the solution

Available options:
now,
next,
later
Example:

"now"

opportunityIds
string[]
updateTriggeredBy
enum<string>

Who triggered the update. If not provided, defaults to 'user'

Available options:
user,
AI
Example:

"user"

Response

Solution updated successfully

Response containing a single solution

data
object
required

Solution data