Skip to main content
PUT
/
organisations
/
{orgId}
/
workspaces
/
{workspaceId}
/
solutions
/
{solutionId}
Update solution
curl --request PUT \
  --url https://api.meetsquad.ai/organisations/{orgId}/workspaces/{workspaceId}/solutions/{solutionId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "systemPrompt": "Hello",
  "aiProcessingState": "FINISHED",
  "refinementLog": [],
  "title": "Implement Single Sign-On",
  "description": "Integrate with OAuth providers to simplify user login experience",
  "status": "Backlog",
  "pros": [
    "Improved security",
    "Simplified login flow",
    "Reduced password reset requests"
  ],
  "cons": [
    "Requires integration with external providers",
    "May add complexity to registration"
  ],
  "ownerId": "d4e71c2b-a498-42af-b7f5-69de06a0d7c4",
  "prd": "Objective: Help users easily create...",
  "horizon": "now",
  "opportunityIds": [
    "<string>"
  ],
  "updateTriggeredBy": "user"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "aiProcessingState": "FINISHED",
    "refinementLog": [],
    "title": "Implement Single Sign-On",
    "description": "Integrate with OAuth providers to simplify user login experience",
    "status": "Backlog",
    "pros": [
      "Improved security",
      "Simplified login flow",
      "Reduced password reset requests"
    ],
    "cons": [
      "Requires integration with external providers",
      "May add complexity to registration"
    ],
    "hideContent": false,
    "createdBy": "generated",
    "createdAt": "2025-03-26T22:35:46Z",
    "updatedAt": "2025-03-26T22:35:46Z",
    "priority": "a0",
    "prd": "Objective: Help users easily create...",
    "opportunities": [],
    "insights": [],
    "outcomes": [],
    "systemPrompt": "Hello",
    "ownerId": "d4e71c2b-a498-42af-b7f5-69de06a0d7c4",
    "horizon": "now"
  }
}

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:
[
"Improved security",
"Simplified login flow",
"Reduced password reset requests"
]
cons
string[]

List of cons/disadvantages for this solution

Example:
[
"Requires integration with external providers",
"May add complexity to registration"
]
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