API reference
Every endpoint of the JSON API, generated from Tessera's OpenAPI document (version 1.0.1). For conventions, sign-in, and examples, see The API. A running instance serves the same reference at /api/docs and the document itself at /api/openapi.json.
System#
GET /api/v1/health/live#
Alive: the process answers
For a supervisor deciding whether to restart the process: it depends on nothing else.
GET /api/v1/health/ready#
Ready: the ledger, at the current schema, and the lake
For a load balancer deciding whether to send traffic: ``200`` when the ledger and lake are usable, ``503`` otherwise, with each check's state.
GET /api/v1/health#
Liveness and readiness (as /health/ready)
``200`` when the ledger and lake are usable, ``503`` otherwise, with per-check detail.
GET /api/v1/meta#
Product, branding, and organization details for the web app
Sessions and accounts#
GET /api/v1/session#
Who is signed in (401 when accounts are on and nobody is)
POST /api/v1/session#
Sign in with a username and password
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
username | string | yes | |
password | string | yes |
DELETE /api/v1/session#
Sign out
POST /api/v1/session/password#
Change your own password (signs out other sessions)
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
current_password | string | yes | |
new_password | string | yes |
GET /api/v1/accounts#
Every account and its roles (admins)
POST /api/v1/accounts#
Create an account (admins)
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
username | string | yes | |
name | string | yes | |
password | string | yes | |
email | string | ||
person_id | string | ||
roles | list of RoleIn | yes |
POST /api/v1/accounts/{account_id}#
Change an account: roles, status, password (admins)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
account_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | ||
email | string | ||
person_id | string | '' to unlink | |
roles | list of RoleIn | ||
status | string | active or disabled | |
password | string | a new password |
GET /api/v1/auth/sso/start#
Begin signing in with the single sign-on provider (redirects there)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
next | query | string |
GET /api/v1/auth/sso/callback#
Where the single sign-on provider sends the browser back (redirects into the app)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
code | query | string | ||
state | query | string | ||
error | query | string |
Search and overview#
GET /api/v1/search#
Search everything, or one kind with facets and paging
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Default: "". | |
type | query | string | person | publication | grant | study | |
per_type | query | integer | Results per kind when no type is given Default: 5. | |
limit | query | integer | Items per page Default: 20. | |
cursor | query | string | Opaque cursor from meta.next_cursor | |
offset | query | integer | Items to skip (without a cursor) Default: 0. |
GET /api/v1/stats#
Counts for the home page
GET /api/v1/sources#
Health and freshness of every source, the evidence engine, and the search index
GET /api/v1/runs#
Recent ingest, resolve, and build runs
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
source | query | string | ||
limit | query | integer | Default: 50. |
People#
GET /api/v1/people#
Directory of people, with search, facets, and sorting
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Free-text search | |
status | query | list of string | active, former | |
unit | query | list of string | Unit names | |
sort | query | string | name | activity | relevance | |
fields | query | string | Comma-separated item keys to return | |
limit | query | integer | Items per page Default: 20. | |
cursor | query | string | Opaque cursor from meta.next_cursor | |
offset | query | integer | Items to skip (without a cursor) Default: 0. |
POST /api/v1/people/{person_id}/identifiers#
Add, confirm, reject, or remove one of a person's identifiers (logged)
Confirming an ORCID iD makes it decisive evidence from the next resolve or sync, and its public record is read at the next sync. A rejected iD is kept so that it is never proposed again and counts against papers that carry it.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
scheme | string | orcid, email, nih_profile, or local | |
value | string | yes | |
action | string | yes | add, accept, reject, or remove |
note | string |
GET /api/v1/people/{person_id}#
A person's profile, live from the ledger
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
GET /api/v1/people/{person_id}/publications#
A person's publications and suggestions
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes | |
status | query | list of string | accepted, suggested, deferred, rejected | |
band | query | list of string | strong, possible, unlikely | |
sort | query | string | year | score Default: "year". | |
limit | query | integer | Items per page Default: 20. | |
cursor | query | string | Opaque cursor from meta.next_cursor | |
offset | query | integer | Items to skip (without a cursor) Default: 0. |
POST /api/v1/people/{person_id}/publications#
Add a missing publication to a person (fetched from PubMed if needed)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
pmid | string | yes | PubMed ID |
note | string |
GET /api/v1/people/{person_id}/grants#
Grants the person is an investigator on
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
GET /api/v1/people/{person_id}/studies#
Studies the person may be an official of
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
GET /api/v1/people/{person_id}/history#
Curation decisions about this person's links
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes | |
limit | query | integer | Default: 50. |
POST /api/v1/people/{person_id}/public#
Give the person a public profile, or take it away
The person, someone acting for them, a curator for them, or an admin (PRF-03).
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
public | boolean | yes | Whether the person has a profile on the public site |
GET /api/v1/candidates#
People discovered in the data who await a decision, with evidence
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Free-text search over names and affiliations | |
status | query | list of string | candidate (default), dismissed, active | |
source | query | list of string | grants, publications | |
sort | query | string | evidence | name | relevance | |
limit | query | integer | Items per page Default: 20. | |
cursor | query | string | Opaque cursor from meta.next_cursor | |
offset | query | integer | Items to skip (without a cursor) Default: 0. |
POST /api/v1/candidates/decisions#
Promote, dismiss, or undo for one or more people (each logged)
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
ids | list of string | yes | |
action | string | yes | |
note | string |
GET /api/v1/duplicates#
Possible duplicate records of one person, with evidence
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
status | query | list of string | suggested (default), deferred, rejected, accepted | |
limit | query | integer | Items per page Default: 20. | |
cursor | query | string | Opaque cursor from meta.next_cursor | |
offset | query | integer | Items to skip (without a cursor) Default: 0. |
POST /api/v1/merges#
Merge two records of one person (reversible, logged)
Links, names, and identifiers move to the record kept. Where both records decided the same link differently, the more recent decision holds and the result lists the conflict.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
merge | string | yes | The record to fold in (it becomes 'merged') |
into | string | yes | The record to keep |
note | string |
POST /api/v1/merges/{merge_id}/undo#
Undo a merge exactly
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
merge_id | path | string | yes |
Discovery#
GET /api/v1/experts#
Who works on something: people ranked by matching concepts
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words, read through the papers they find | |
concept | query | list of string | MeSH descriptor IDs (D009369 or msh:D009369) | |
limit | query | integer | Default: 20. |
GET /api/v1/concepts#
Concepts by name, most widely held first
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Default: "". |
GET /api/v1/people/{person_id}/similar#
People whose concept profiles are most like this one
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
GET /api/v1/people/{person_id}/concepts#
What drives this person's concept profile
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
GET /api/v1/graph/focus/{person_id}#
A person, their top concepts, and who shares them
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes | |
concepts | query | integer | The person's top concepts shown Default: 10. | |
people | query | integer | People sharing them, at most Default: 30. |
GET /api/v1/graph/network#
People linked by collaboration and, without it, by similarity
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
unit | query | string | Only people in this unit | |
max_people | query | integer | Default: 150. | |
min_similarity | query | number | Default: 0.25. | |
similar | query | boolean | Show similar people who have not worked together Default: true. |
GET /api/v1/graph/missed#
Missed connections: alike, but never worked together
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
min_similarity | query | number | Default: 0.25. | |
unit | query | string | Either person in this unit | |
across | query | boolean | Only pairs in different units Default: false. | |
limit | query | integer | Default: 50. | |
offset | query | integer | Default: 0. |
GET /api/v1/graph/units#
Unit by unit: how alike their interests are, and how much they work together
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
max_units | query | integer | Default: 30. | |
min_similarity | query | number | Default: 0.25. |
GET /api/v1/graph/units/pairs#
The pairs of people behind one cell of the unit matrix
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
a | query | string | yes | |
b | query | string | yes |
GET /api/v1/graph/landscape#
Concepts linked by the people who hold them together
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
max_concepts | query | integer | Default: 150. | |
min_people | query | integer | Default: 2. |
Publications, grants, and studies#
GET /api/v1/publications#
The organization's publications, with search and facets
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | ||
year | query | list of string | ||
journal | query | list of string | ||
type | query | list of string | ||
person | query | list of string | Person IDs | |
flag | query | list of string | e.g. retracted | |
sort | query | string | relevance | year | citations | |
fields | query | string | ||
limit | query | integer | Items per page Default: 20. | |
cursor | query | string | Opaque cursor from meta.next_cursor | |
offset | query | integer | Items to skip (without a cursor) Default: 0. |
GET /api/v1/publications/{pmid}#
A publication with its authors, people, grants, studies, and metrics
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
pmid | path | string | yes |
GET /api/v1/grants#
The organization's grants, with search and facets
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | ||
status | query | list of string | active, ended | |
activity | query | list of string | ||
institute | query | list of string | ||
year | query | list of string | ||
person | query | list of string | ||
sort | query | string | relevance | year | amount | |
fields | query | string | ||
limit | query | integer | Items per page Default: 20. | |
cursor | query | string | Opaque cursor from meta.next_cursor | |
offset | query | integer | Items to skip (without a cursor) Default: 0. |
GET /api/v1/grants/{core_project_num}#
A grant: fiscal-year records, investigators, publications, and studies
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
core_project_num | path | string | yes |
GET /api/v1/studies#
The organization's studies, with search and facets
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | ||
status | query | list of string | Registry status | |
phase | query | list of string | ||
type | query | list of string | ||
year | query | list of string | ||
person | query | list of string | ||
sort | query | string | relevance | year | |
fields | query | string | ||
limit | query | integer | Items per page Default: 20. | |
cursor | query | string | Opaque cursor from meta.next_cursor | |
offset | query | integer | Items to skip (without a cursor) Default: 0. |
GET /api/v1/studies/{nct_id}#
A study: registry details, officials, sites, publications, and grants
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
nct_id | path | string | yes |
Curation#
GET /api/v1/assertions/{assertion_id}#
An assertion with its evidence and history
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
assertion_id | path | string | yes |
POST /api/v1/assertions/{assertion_id}/decision#
Accept, reject, defer, or undo; recorded as a curation event
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
assertion_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
action | string | yes | |
note | string |
POST /api/v1/assertions/decisions#
Apply one decision to several assertions (each logged; used for bulk undo)
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
ids | list of string | yes | |
action | string | yes | |
note | string |
GET /api/v1/review#
The review queue of suggested authorships, in priority order
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
band | query | list of string | strong, possible, unlikely | |
person | query | string | ||
limit | query | integer | Items per page Default: 20. | |
cursor | query | string | Opaque cursor from meta.next_cursor | |
offset | query | integer | Items to skip (without a cursor) Default: 0. |
POST /api/v1/review/bulk#
Decide every open suggestion in one band for one person (logged per item)
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
person_id | string | yes | |
band | string | yes | |
action | string | yes | |
note | string |
GET /api/v1/decisions#
Recent decisions about links and people, newest first
The curation log across the organization: what was decided, by whom, and when.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
limit | query | integer | Items per page Default: 20. | |
cursor | query | string | Opaque cursor from meta.next_cursor | |
offset | query | integer | Items to skip (without a cursor) Default: 0. |
Evidence model#
GET /api/v1/evidence#
The active model, its latest evaluation, and auto-accept
POST /api/v1/evidence/evaluate#
Fit learned weights and compare on held-out people (admins)
POST /api/v1/evidence/release#
Make the evaluated learned model active, if it was better
POST /api/v1/evidence/revert#
Go back to the hand-set weights
POST /api/v1/evidence/auto-accept#
Switch auto-accept on at a measured threshold, or off
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
enabled | boolean | yes | |
threshold | number |
POST /api/v1/evidence/auto-accept/batches/{batch_id}/undo#
Undo one automatic batch
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
batch_id | path | string | yes |
Groups#
GET /api/v1/groups#
Groups, with their kinds, parents, and member counts
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words in a name or code | |
kind | query | list of string | Only these kinds | |
status | query | string | Default: "active". | |
parent | query | string | Only groups directly under this one | |
limit | query | integer | Items per page Default: 20. | |
cursor | query | string | Opaque cursor from meta.next_cursor | |
offset | query | integer | Items to skip (without a cursor) Default: 0. |
POST /api/v1/groups#
Create a group (admins)
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | yes | |
kind | string | yes | |
slug | string | The address; made from the name if empty | |
short_name | string | ||
code | string | The organization's own code | |
description | string | ||
email | string | A contact address | |
website | string | ||
parents | list of string | IDs, addresses, or codes |
POST /api/v1/groups/import#
Import groups and memberships from a source (admins)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
source | query | string | yes | Where the rows come from, like hr |
complete | query | boolean | The rows are the source's whole list Default: false. | |
dry_run | query | boolean | Report what would change; change nothing Default: false. |
GET /api/v1/groups/{group_ref}#
One group: its fields, parents, and sub-groups
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
POST /api/v1/groups/{group_ref}#
Change, nest, archive, or restore a group (admins)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | ||
kind | string | ||
slug | string | ||
short_name | string | '' to clear | |
code | string | '' to clear | |
description | string | '' to clear | |
email | string | '' to clear | |
website | string | '' to clear | |
status | string | ||
parents | list of string | Replaces the parents |
POST /api/v1/groups/{group_ref}/merge#
Merge a group into another (admins)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
into | string | yes | The group that remains: ID, address, or code |
GET /api/v1/groups/{group_ref}/members#
A group's members, current or past
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes | |
include | query | string | current members, alumni, everyone, or removed memberships Default: "current". |
POST /api/v1/groups/{group_ref}/members#
Add someone to a group (admins)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
person_id | string | yes | |
role | string | A configured role; member if empty | |
title | string | ||
start | string | 2015, 2015-07, or 2015-07-01 | |
end | string | Empty while current |
POST /api/v1/groups/{group_ref}/members/{membership_id}#
Change a membership's role, title, or dates; an end date ends it (admins)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes | |
membership_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
role | string | ||
title | string | '' to clear | |
start | string | '' to clear | |
end | string | A date ends it; '' makes it current |
DELETE /api/v1/groups/{group_ref}/members/{membership_id}#
Remove a membership that was wrong (admins); to record a departure, end it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes | |
membership_id | path | string | yes |
GET /api/v1/groups/{group_ref}/history#
Every change to a group and its memberships
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes | |
limit | query | integer | Default: 100. |
GET /api/v1/groups/{group_ref}/overview#
A group's showcase: leaders, people, topics, grants, studies, and connections
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
GET /api/v1/groups/{group_ref}/publications#
Publications attributed to a group, or suggested for it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes | |
status | query | string | Default: "accepted". | |
limit | query | integer | Items per page Default: 20. | |
cursor | query | string | Opaque cursor from meta.next_cursor | |
offset | query | integer | Items to skip (without a cursor) Default: 0. |
POST /api/v1/groups/{group_ref}/publications/decisions#
Decide whether papers are the group's own (its managers, curators, and admins)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
ids | list of string | yes | attributed_to link IDs |
action | string | yes | |
note | string |
GET /api/v1/groups/{group_ref}/page#
A group's page: its published blocks, or a draft
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes | |
version | query | string | published, draft (editors), or a revision number Default: "published". |
POST /api/v1/groups/{group_ref}/page/draft#
Save the group page's draft (its editors)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
blocks | list of object | yes |
DELETE /api/v1/groups/{group_ref}/page/draft#
Discard the group page's draft
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
POST /api/v1/groups/{group_ref}/page/publish#
Publish the draft as the group's page
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string |
POST /api/v1/groups/{group_ref}/page/rollback#
Publish an earlier version again
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
revision | integer | yes | |
note | string |
GET /api/v1/groups/{group_ref}/page/revisions#
Every published version of the page
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
GET /api/v1/groups/{group_ref}/openings#
A group's openings (open ones, or all)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes | |
include | query | string | Default: "open". |
POST /api/v1/groups/{group_ref}/openings#
Post an opening
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
title | string | ||
kind | string | ||
description | string | ||
url | string | Where to apply | |
contact | string | ||
posted_on | string | ||
closes_on | string | It closes by itself after this day | |
closed | boolean | true closes it now; false opens it again |
POST /api/v1/groups/{group_ref}/openings/{opening_id}#
Change, close, or reopen
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes | |
opening_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
title | string | ||
kind | string | ||
description | string | ||
url | string | Where to apply | |
contact | string | ||
posted_on | string | ||
closes_on | string | It closes by itself after this day | |
closed | boolean | true closes it now; false opens it again |
GET /api/v1/groups/{group_ref}/themes#
A group's research themes and projects
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes | |
include | query | string | Default: "active". |
POST /api/v1/groups/{group_ref}/themes#
Add a theme or project
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | ||
kind | string | ||
summary | string | ||
status | string | ||
links | list of string | per_…, grt:…, pub:…, or stu:… references |
POST /api/v1/groups/{group_ref}/themes/{theme_id}#
Change a theme or its links
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes | |
theme_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | ||
kind | string | ||
summary | string | ||
status | string | ||
links | list of string | per_…, grt:…, pub:…, or stu:… references |
GET /api/v1/groups/{group_ref}/inbox#
The group's weekly inbox (its editors)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
POST /api/v1/groups/{group_ref}/inbox/reviewed#
Mark the group's inbox as reviewed
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
GET /api/v1/inbox#
Your digest: pending work in your groups and review queues
POST /api/v1/groups/{group_ref}/public#
Give the group a public page, or take it away
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
public | boolean | yes | Whether the group has a page on the public site |
impact#
GET /api/v1/grants/{core_project_num}/thread#
What followed a grant: papers, studies, and clinical articles, with each link
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
core_project_num | path | string | yes |
GET /api/v1/publications/{pmid}/thread#
The grants a paper acknowledges, and the studies and clinical articles after it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
pmid | path | string | yes |
GET /api/v1/people/{person_id}/impact#
What followed a person's grants and their confirmed papers
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
opportunities#
GET /api/v1/opportunities#
Funding opportunities, with search and facets
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | ||
status | query | list of string | posted, forecasted, closed, archived | |
source | query | list of string | grants_gov or local | |
kind | query | list of string | federal, foundation, internal, … | |
eligible | query | list of string | meets, check, does_not_meet (the organization) | |
fits | query | string | a person's ID, or me: opportunities they fit | |
group | query | string | a group: opportunities it fits | |
closing | query | list of string | 30 or 90 (days) | |
agency | query | list of string | ||
activity | query | list of string | ||
category | query | list of string | ||
sort | query | string | closes | posted | relevance | |
fields | query | string | ||
limit | query | integer | Items per page Default: 20. | |
cursor | query | string | Opaque cursor from meta.next_cursor | |
offset | query | integer | Items to skip (without a cursor) Default: 0. |
POST /api/v1/opportunities#
Add an opportunity the organization tracks
GET /api/v1/opportunities/{opportunity_id}#
An opportunity: dates, money, eligibility, and text
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
opportunity_id | path | string | yes |
POST /api/v1/opportunities/{opportunity_id}#
Change one the organization tracks, or restore it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
opportunity_id | path | string | yes |
DELETE /api/v1/opportunities/{opportunity_id}#
Archive one the organization tracks
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
opportunity_id | path | string | yes |
POST /api/v1/opportunities/import#
Add or update many from CSV-like rows
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
rows | list of object | ||
csv | string | CSV text with a header | |
source | string | ||
complete | boolean | ||
dry_run | boolean |
GET /api/v1/opportunities/{opportunity_id}/fit#
Who fits an opportunity and why, and whether the organization may apply
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
opportunity_id | path | string | yes | |
concept | query | list of string | MeSH IDs to add | |
drop | query | list of string | MeSH IDs to leave out |
POST /api/v1/opportunities/{opportunity_id}/interest#
Watch an opportunity, or dismiss it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
opportunity_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
state | string | yes | watching, dismissed, or null |
GET /api/v1/me/opportunities#
Opportunities that fit your work, and those you watch
GET /api/v1/people/{person_id}/opportunities#
Open opportunities that fit a person
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
GET /api/v1/groups/{group_ref}/opportunities#
Open opportunities that fit a group
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
group_ref | path | string | yes |
teams#
GET /api/v1/teams#
Teams you own, are on, or that are shared with you
POST /api/v1/teams#
Start a team, for an opportunity or for topics you choose
GET /api/v1/teams/{team_id}#
A team: members, topics covered and missing, pairings
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
team_id | path | string | yes |
POST /api/v1/teams/{team_id}#
Change a team's name, purpose, notes, topics, or sharing
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
team_id | path | string | yes |
DELETE /api/v1/teams/{team_id}#
Delete a team (its owner, or an admin)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
team_id | path | string | yes |
POST /api/v1/teams/{team_id}/members#
Add someone to a team, or change their role
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
team_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
person_id | string | yes | |
role | string | ||
note | string |
DELETE /api/v1/teams/{team_id}/members/{person_id}#
Take someone off a team
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
team_id | path | string | yes | |
person_id | path | string | yes |
GET /api/v1/teams/{team_id}/brief#
The team brief: JSON, Markdown, or CSV
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
team_id | path | string | yes | |
format | query | string | Default: "json". |
profiles#
GET /api/v1/people/{person_id}/profile#
A person's profile: the sections they keep
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
POST /api/v1/people/{person_id}/profile/entries#
Add an entry to a section of the profile
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
section | string | yes | The section: overview, interests, position, education, honor, membership, teaching, talk, link, featured |
fields | object | yes | The section's fields (see the profile's sections) |
POST /api/v1/people/{person_id}/profile/entries/{entry_id}#
Change an entry
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes | |
entry_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
fields | object | yes |
DELETE /api/v1/people/{person_id}/profile/entries/{entry_id}#
Remove an entry
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes | |
entry_id | path | string | yes |
POST /api/v1/people/{person_id}/profile/order#
Put a section's entries in a new order
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
section | string | yes | |
ids | list of string | yes | Every entry of the section, in order |
GET /api/v1/people/{person_id}/profile/history#
Every change to the profile, newest first
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes | |
limit | query | integer | Default: 100. |
POST /api/v1/people/{person_id}/profile/delegates#
Name an account that keeps this profile for the person
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
username | string | yes | The account to name |
DELETE /api/v1/people/{person_id}/profile/delegates/{account_id}#
Stop an account keeping this profile
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes | |
account_id | path | string | yes |
POST /api/v1/people/{person_id}/profile/public#
Turn the public page on or off; choose its sections
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
public | boolean | Whether the person has a public page | |
hidden_sections | list of string | Sections the public page leaves off |
POST /api/v1/people/{person_id}/profile/entries/{entry_id}/public#
Leave one entry off the public page, or put it back
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes | |
entry_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
hidden | boolean | yes | Leave this entry off the public page |
GET /api/v1/people/{person_id}/profile/public/preview#
The public page as publishing would build it now
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
GET /api/v1/people/{person_id}/cvs#
A person's CVs and biosketches (those who keep the profile)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
POST /api/v1/people/{person_id}/cvs#
Start a CV, or a copy of one
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | yes | |
kind | string | cv, or nih_biosketch | |
copy_of | string | Start from a copy of this CV or biosketch |
GET /api/v1/people/{person_id}/cvs/{doc_id}#
A CV, built from the profile and records now
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes | |
doc_id | path | string | yes |
POST /api/v1/people/{person_id}/cvs/{doc_id}#
Rename a CV, or change what it includes
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes | |
doc_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | ||
spec | object |
DELETE /api/v1/people/{person_id}/cvs/{doc_id}#
Delete a CV
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes | |
doc_id | path | string | yes |
GET /api/v1/people/{person_id}/cvs/{doc_id}/markdown#
A CV as Markdown, to download
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
person_id | path | string | yes | |
doc_id | path | string | yes |
GET /api/v1/me/profiles#
The profiles you keep: your own, and those you act for
GET /api/v1/me/public-page.css#
The public pages' stylesheet, for previews
insight#
GET /api/v1/insight/metrics#
Every metric Insight shows, with its definition and version
GET /api/v1/insight/figures/{metric_id}#
A figure: a metric over a cohort and a period, with what it counted
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
metric_id | path | string | yes | |
cohort | query | string | organization (default), group:<address>[+below][;current], people:<ID>,<ID>, search:<words>, or a saved cohort's ID | |
start | query | integer | First year (calendar or fiscal, by metric) | |
end | query | integer | Last year | |
records | query | boolean | Include the records counted Default: false. |
GET /api/v1/insight/cohort#
Who a cohort is: its label, size, and members
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
cohort | query | string | ||
limit | query | integer | Default: 200. |
GET /api/v1/insight/cohorts#
Saved cohorts
POST /api/v1/insight/cohorts#
Save a cohort under a name, for everyone to use
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | yes | |
description | string | ||
cohort | string | yes | A cohort as written in an address |
POST /api/v1/insight/cohorts/{cohort_id}#
Rename or redefine a saved cohort
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
cohort_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | ||
description | string | ||
cohort | string |
DELETE /api/v1/insight/cohorts/{cohort_id}#
Delete a saved cohort
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
cohort_id | path | string | yes |
GET /api/v1/insight/figures/{metric_id}/export#
A figure with its records and definitions, as CSV, Parquet, or JSON
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
metric_id | path | string | yes | |
format | query | string | csv (a zip), parquet (a zip), or json Default: "csv". | |
cohort | query | string | ||
start | query | integer | ||
end | query | integer |
GET /api/v1/insight/reports#
Reports: named sets of figures over a cohort and a period
POST /api/v1/insight/reports#
Save a report for everyone who reads Insight
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | yes | |
description | string | ||
cohort | string | ||
start | integer | ||
end | integer | ||
figures | list of FigureIn | yes |
GET /api/v1/insight/reports/{report_id}#
A report's definition and its snapshots
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
report_id | path | string | yes |
POST /api/v1/insight/reports/{report_id}#
Change a report
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
report_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | ||
description | string | ||
cohort | string | ||
start | integer | ||
end | integer | ||
figures | list of FigureIn |
DELETE /api/v1/insight/reports/{report_id}#
Delete a report (its snapshots stay)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
report_id | path | string | yes |
POST /api/v1/insight/reports/{report_id}/snapshots#
Freeze a report: its figures and the exact inputs they were computed from
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
report_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string |
GET /api/v1/insight/snapshots#
Every snapshot, newest first
GET /api/v1/insight/snapshots/{snapshot_id}#
A snapshot: its manifest and frozen figures
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
snapshot_id | path | string | yes | |
records | query | boolean | Include each figure's records Default: false. |
GET /api/v1/insight/snapshots/{snapshot_id}/verify#
Compute a snapshot's figures again from its frozen inputs and compare
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
snapshot_id | path | string | yes |
GET /api/v1/insight/snapshots/{snapshot_id}/export#
A snapshot's figures with their records, definitions, and manifest (a zip)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
snapshot_id | path | string | yes | |
format | query | string | csv, parquet, or json Default: "csv". | |
figure | query | integer | Only this figure (1, 2, …) |
GET /api/v1/insight/years#
The years Insight can show, and the period it starts with
saved searches#
GET /api/v1/saved-searches#
Your saved searches, with how many matches are new
POST /api/v1/saved-searches#
Save a search; what it finds now counts as seen
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | yes | |
kind | string | person, publication, grant, study, or everything | |
q | string | ||
filters | object |
GET /api/v1/saved-searches/{search_id}#
A saved search with its new matches
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
search_id | path | string | yes |
POST /api/v1/saved-searches/{search_id}#
Rename a saved search
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
search_id | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | yes |
DELETE /api/v1/saved-searches/{search_id}#
Delete a saved search
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
search_id | path | string | yes |
POST /api/v1/saved-searches/{search_id}/seen#
Count every current match as seen
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
search_id | path | string | yes |
operations#
GET /api/v1/operations#
Runs over the last 30 days, sizes, the last backup, and issues (admins)
branding#
GET /api/v1/admin/branding#
The organization's branding as configured, with its contrast checks
POST /api/v1/admin/branding#
Save branding to the configuration file (refused below WCAG AA)
POST /api/v1/admin/branding/check#
Check proposed branding: contrast by day and night, and problems
POST /api/v1/admin/branding/images/{image}#
Upload a logo, favicon, or link-preview image
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
image | path | string | yes |