Skip to main content
POST
/
organisations
/
{orgId}
/
workspaces
/
{workspaceId}
/
solutions
/
prioritise
Prioritise solutions
curl --request POST \
  --url https://api.meetsquad.ai/organisations/{orgId}/workspaces/{workspaceId}/solutions/prioritise \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "beforeId": "e3f2c1b4-7a8d-5e4f-b8c7-7a8c9d1e2f3a",
  "solutionIds": [
    "d4e71c2b-a498-42af-b7f5-69de06a0d7c4",
    "b5f2a0f4-6a7d-4a1f-9e6b-6bcb9c22d7c4",
    "c0e195d9-b918-4a3a-bd8b-f730361d044e"
  ]
}
'

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

beforeId
string | null
required

ID of solution before which to place the solutions, or null to place at the end

solutionIds
string[]
required

List of solution IDs to move

Minimum array length: 1
triggeredBy
enum<string>

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

Available options:
user,
AI

Response

Solution prioritization request accepted and queued for processing