Skip to main content
POST
/
organisations
/
{orgId}
/
workspaces
/
{workspaceId}
/
solutions
Create new solution
curl --request POST \
  --url https://api.meetsquad.ai/organisations/{orgId}/workspaces/{workspaceId}/solutions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "Implement Single Sign-On",
  "description": "Integrate with OAuth providers to simplify user login experience",
  "createdBy": "generated",
  "prd": "Objective: Help users easily create...",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "systemPrompt": "<string>",
  "aiProcessingState": "INITIAL",
  "refinementLog": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "role": "user",
      "content": "<string>"
    }
  ],
  "status": "Backlog",
  "pros": [
    "<string>"
  ],
  "cons": [
    "<string>"
  ],
  "ownerId": "<string>",
  "opportunityIds": [
    "<string>"
  ],
  "horizon": "now"
}
'
{
  "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

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>
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