Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.qalico.com/llms.txt

Use this file to discover all available pages before exploring further.

Profile

The regulatory profile describes the company’s products, markets, risk classifications, and therapeutic areas. It’s used by AI to generate subscription recommendations and impact assessments.

Get profile

GET /api/workspaces/:workspaceId/profile
Response:
{
  "id": "profile-uuid",
  "companyDescription": "Class II cardiovascular device manufacturer",
  "onboardingCompleted": true,
  "markets": ["us", "eu"],
  "riskClassifications": ["Class II", "Class IIa"],
  "deviceCharacteristics": ["implantable", "powered"],
  "therapeuticAreas": ["cardiovascular"],
  "products": [
    {
      "id": "product-uuid",
      "name": "CardioStent X1",
      "description": "Drug-eluting coronary stent",
      "position": 0
    }
  ]
}

Update profile

PATCH /api/workspaces/:workspaceId/profile
All fields are optional — only provided fields are updated.
companyDescription
string | null
Company description
markets
string[]
Geography codes (e.g. ["us", "eu", "fr"])
riskClassifications
string[]
Risk classifications (e.g. ["Class II", "Class IIa"])
deviceCharacteristics
string[]
Device characteristics (e.g. ["implantable", "powered"])
therapeuticAreas
string[]
Therapeutic areas (e.g. ["cardiovascular"])
products
object[]
Full product list. Products without an id are created; products with an id are updated; existing products not in the list are deleted.
Response: The updated profile (same shape as GET).

Generate profile from website

POST /api/workspaces/:workspaceId/profile/generate
url
string
required
Company website URL to analyze
AI scrapes the website and generates a regulatory profile including company description, markets, risk classifications, device characteristics, therapeutic areas, and products. This is a synchronous call — it blocks until the AI task completes (typically 10-30 seconds). Response: The generated profile (same shape as GET).