Skip to main content

Get Design Cues

Retrieve a paginated list of design cues for the authenticated workspace. Supports filtering by type, brand, specific cue IDs, and a free-text search on the instruction text.

Endpoint

POST designCues/get

Authentication

Include your Enterprise API credentials in the request headers:

sivi-api-key: YOUR_API_KEY

Request Body Example

{
"type": "design",
"bId": "b_s87vFxpfM0R",
"limit": 20,
"cursor": null,
"sort": "DESC"
}

Request Parameters

ParameterTypeRequiredDescription
dcIdsArrayNoFilter by a list of specific design cue IDs
typeStringNoFilter by cue type (e.g. design, prompt)
bIdStringNoFilter by brand ID
searchTermStringNoFree-text search on the instruction field
limitNumberNoNumber of items to return (1-50, default: 20)
cursorStringNoCursor for pagination
sortStringNoSort order. Allowed values: ASC, DESC
abstractUserIdStringNoUnique identifier for the user (Enterprise/Super API only)

Response

Success Response (200 OK)

{
"status": 200,
"body": {
"designCues": [
{
"dcId": "abc123",
"wId": "w_abc123",
"bId": "b_s87vFxpfM0R",
"uId": "usr1",
"type": "design",
"instruction": "Use bold typography",
"addedBy": "system",
"source": "prompt",
"createdOn": 1723300000,
"updatedOn": 1723300000
}
],
"cursor": "eyJkY0lkIjoiYWJjMTIzIn0"
}
}

Response Body Parameters

ParameterTypeDescription
dcIdStringDesign cue identifier
wIdStringWorkspace ID the cue belongs to
bIdStringBrand ID the cue is associated with (or null)
uIdStringUser ID of the creator (or null)
typeStringCue type (e.g. design, prompt)
instructionStringThe design instruction text
addedByStringWho added the cue
sourceStringSource of the cue
createdOnNumberCreation timestamp
updatedOnNumberLast update timestamp
cursorStringCursor for fetching the next page of results

Error Responses

Authentication Error (401 Unauthorized)

{
"status": 401,
"body": {
"message": "Failed to authenticate request. Please add sivi-api-key header in request"
}
}

Invalid Input (422 Unprocessable Entity)

{
"status": 422,
"body": {
"message": "Invalid input"
}
}

Server Error (500 Internal Server Error)

{
"status": 500,
"body": {
"message": "Server internal error"
}
}

Usage Notes

  • Results are scoped to the authenticated workspace; wId is derived from the session and cannot be set in the request body
  • Results are paginated; use the returned cursor value in subsequent requests
  • searchTerm performs a partial match on the instruction field
  • Only non-deleted cues are returned