/api/v1/resolution/autocompleteEntity Autocomplete
Returns a ranked list of entity name suggestions matching a partial query, with metadata including the normalized query, entity type, sort order, count returned, and elapsed time. Call it to power type-ahead or name-picker UIs across organizations, drugs, diseases, targets, and pathogen factors. Returns 400 for invalid parameters or an unknown type/sort, and 503 when the resolution index is unavailable on the deployment.
When to use it
- Power type-ahead suggestions for an entity name search
- Find candidate entity names matching a partial string
- Suggest organizations, drugs, diseases, targets, or pathogen factors by prefix
Getting started
Base URL
https://app.caelrith.com/api/v1/toolsAuthentication
Include your API key in the x-api-key header.
Rate limit
Every call counts against your workspace’s daily quota for resolution-autocomplete. Exceeding it returns HTTP 429.
Plans and daily limits
| Plan | Available | Calls / day |
|---|---|---|
| free | yes | 25 |
| pro | yes | 200 |
| custom (default) | yes | 10,000 |
Plan defaults. A custom workspace may carry per-tenant overrides.
Parameters
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| q | string | No | minimum length 1; maximum length 200 |
| query | string | No | minimum length 1; maximum length 200 |
| type | string | No | Default organization (default organization) Allowed values: organization, drug, disease, target, pathogen_factor |
| sort | string | No | maximum length 50 |
| limit | integer | No | Range 1-50; default 10 (range 1-50; default 10) Range: 1 to 50 |
Example request
curl -H "x-api-key: YOUR_API_KEY" \ "https://app.caelrith.com/api/v1/resolution/autocomplete"
Response envelope
This endpoint returns an implicit 2xx response - there is no success flag in the body.
{
"data": { /* payload */ },
"meta": { /* pagination, totals */ }
}
// No "success" flag on this endpoint - any 2xx JSON is a success.Response shape
Payload: data — Entities
Common row fields
| Field | Description |
|---|---|
| name | Name |
| hierarchyLevel | Level |
| trialCount | Trials |
| approvalCount | Approvals |
| id | Record identifier |
| isEntity | — |
Empty results: No matching rows (HTTP 200)
Sponsors / organizations only, despite the generic tool name. id is an 'organizations/<key>' document id - directly usable as sponsor_id / organization id in other tools (Regulatory Approvals Search, grants.sponsor-funding). hierarchyLevel: 'GLOBAL PARENT' = resolved canonical entity with rorId / lei populated; 'UNRESOLVED' = raw mention not yet linked to a canonical entity (rorId / lei null). Rows are FILTERED to organizations with at least one linked trial - a real sponsor with zero linked trials returns an empty list, so no_results here is not proof the organization is absent from the graph.
Catalog version mcp-2026-10-28 · generated from the live MCP catalog