Skip to main content
POST
/
api
/
run
/
interests
/
queries
/
listCatalog
listCatalog
curl --request POST \
  --url https://connvo-dev.convex.cloud/api/run/interests/queries/listCatalog \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "args": {
    "category": "industry",
    "limit": 6
  }
}'
{
  "status": "success",
  "errorMessage": "",
  "errorData": {},
  "value": [
    {
      "key": "software-engineering",
      "label": "Software Engineering",
      "category": "industry",
      "iconName": "Code",
      "usageCount": 128
    },
    {
      "key": "product-management",
      "label": "Product Management",
      "category": "industry",
      "iconName": "Briefcase",
      "usageCount": 94
    }
  ]
}

Authorizations

Authorization
string
header
required

Standard user authentication token issued via WorkOS. Provide as Authorization: Bearer <user-token>.

Body

application/json
args
object
required

Response

Convex executed your request and returned a result

status
enum<string>
required
Available options:
success,
error
errorMessage
string
errorData
object
value
object[]