Tesserav1.0.1
GitHub

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:

FieldTypeRequiredMeaning
usernamestringyes
passwordstringyes

DELETE /api/v1/session#

Sign out

POST /api/v1/session/password#

Change your own password (signs out other sessions)

JSON body:

FieldTypeRequiredMeaning
current_passwordstringyes
new_passwordstringyes

GET /api/v1/accounts#

Every account and its roles (admins)

POST /api/v1/accounts#

Create an account (admins)

JSON body:

FieldTypeRequiredMeaning
usernamestringyes
namestringyes
passwordstringyes
emailstring
person_idstring
roleslist of RoleInyes

POST /api/v1/accounts/{account_id}#

Change an account: roles, status, password (admins)

ParameterInTypeRequiredMeaning
account_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
namestring
emailstring
person_idstring'' to unlink
roleslist of RoleIn
statusstringactive or disabled
passwordstringa new password

GET /api/v1/auth/sso/start#

Begin signing in with the single sign-on provider (redirects there)

ParameterInTypeRequiredMeaning
nextquerystring

GET /api/v1/auth/sso/callback#

Where the single sign-on provider sends the browser back (redirects into the app)

ParameterInTypeRequiredMeaning
codequerystring
statequerystring
errorquerystring

Search and overview#

GET /api/v1/search#

Search everything, or one kind with facets and paging

ParameterInTypeRequiredMeaning
qquerystringDefault: "".
typequerystringperson | publication | grant | study
per_typequeryintegerResults per kind when no type is given Default: 5.
limitqueryintegerItems per page Default: 20.
cursorquerystringOpaque cursor from meta.next_cursor
offsetqueryintegerItems 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

ParameterInTypeRequiredMeaning
sourcequerystring
limitqueryintegerDefault: 50.

People#

GET /api/v1/people#

Directory of people, with search, facets, and sorting

ParameterInTypeRequiredMeaning
qquerystringFree-text search
statusquerylist of stringactive, former
unitquerylist of stringUnit names
sortquerystringname | activity | relevance
fieldsquerystringComma-separated item keys to return
limitqueryintegerItems per page Default: 20.
cursorquerystringOpaque cursor from meta.next_cursor
offsetqueryintegerItems 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.

ParameterInTypeRequiredMeaning
person_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
schemestringorcid, email, nih_profile, or local
valuestringyes
actionstringyesadd, accept, reject, or remove
notestring

GET /api/v1/people/{person_id}#

A person's profile, live from the ledger

ParameterInTypeRequiredMeaning
person_idpathstringyes

GET /api/v1/people/{person_id}/publications#

A person's publications and suggestions

ParameterInTypeRequiredMeaning
person_idpathstringyes
statusquerylist of stringaccepted, suggested, deferred, rejected
bandquerylist of stringstrong, possible, unlikely
sortquerystringyear | score Default: "year".
limitqueryintegerItems per page Default: 20.
cursorquerystringOpaque cursor from meta.next_cursor
offsetqueryintegerItems 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)

ParameterInTypeRequiredMeaning
person_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
pmidstringyesPubMed ID
notestring

GET /api/v1/people/{person_id}/grants#

Grants the person is an investigator on

ParameterInTypeRequiredMeaning
person_idpathstringyes

GET /api/v1/people/{person_id}/studies#

Studies the person may be an official of

ParameterInTypeRequiredMeaning
person_idpathstringyes

GET /api/v1/people/{person_id}/history#

Curation decisions about this person's links

ParameterInTypeRequiredMeaning
person_idpathstringyes
limitqueryintegerDefault: 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).

ParameterInTypeRequiredMeaning
person_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
publicbooleanyesWhether the person has a profile on the public site

GET /api/v1/candidates#

People discovered in the data who await a decision, with evidence

ParameterInTypeRequiredMeaning
qquerystringFree-text search over names and affiliations
statusquerylist of stringcandidate (default), dismissed, active
sourcequerylist of stringgrants, publications
sortquerystringevidence | name | relevance
limitqueryintegerItems per page Default: 20.
cursorquerystringOpaque cursor from meta.next_cursor
offsetqueryintegerItems 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:

FieldTypeRequiredMeaning
idslist of stringyes
actionstringyes
notestring

GET /api/v1/duplicates#

Possible duplicate records of one person, with evidence

ParameterInTypeRequiredMeaning
statusquerylist of stringsuggested (default), deferred, rejected, accepted
limitqueryintegerItems per page Default: 20.
cursorquerystringOpaque cursor from meta.next_cursor
offsetqueryintegerItems 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:

FieldTypeRequiredMeaning
mergestringyesThe record to fold in (it becomes 'merged')
intostringyesThe record to keep
notestring

POST /api/v1/merges/{merge_id}/undo#

Undo a merge exactly

ParameterInTypeRequiredMeaning
merge_idpathstringyes

Discovery#

GET /api/v1/experts#

Who works on something: people ranked by matching concepts

ParameterInTypeRequiredMeaning
qquerystringWords, read through the papers they find
conceptquerylist of stringMeSH descriptor IDs (D009369 or msh:D009369)
limitqueryintegerDefault: 20.

GET /api/v1/concepts#

Concepts by name, most widely held first

ParameterInTypeRequiredMeaning
qquerystringDefault: "".

GET /api/v1/people/{person_id}/similar#

People whose concept profiles are most like this one

ParameterInTypeRequiredMeaning
person_idpathstringyes

GET /api/v1/people/{person_id}/concepts#

What drives this person's concept profile

ParameterInTypeRequiredMeaning
person_idpathstringyes

GET /api/v1/graph/focus/{person_id}#

A person, their top concepts, and who shares them

ParameterInTypeRequiredMeaning
person_idpathstringyes
conceptsqueryintegerThe person's top concepts shown Default: 10.
peoplequeryintegerPeople sharing them, at most Default: 30.

GET /api/v1/graph/network#

People linked by collaboration and, without it, by similarity

ParameterInTypeRequiredMeaning
unitquerystringOnly people in this unit
max_peoplequeryintegerDefault: 150.
min_similarityquerynumberDefault: 0.25.
similarquerybooleanShow similar people who have not worked together Default: true.

GET /api/v1/graph/missed#

Missed connections: alike, but never worked together

ParameterInTypeRequiredMeaning
min_similarityquerynumberDefault: 0.25.
unitquerystringEither person in this unit
acrossquerybooleanOnly pairs in different units Default: false.
limitqueryintegerDefault: 50.
offsetqueryintegerDefault: 0.

GET /api/v1/graph/units#

Unit by unit: how alike their interests are, and how much they work together

ParameterInTypeRequiredMeaning
max_unitsqueryintegerDefault: 30.
min_similarityquerynumberDefault: 0.25.

GET /api/v1/graph/units/pairs#

The pairs of people behind one cell of the unit matrix

ParameterInTypeRequiredMeaning
aquerystringyes
bquerystringyes

GET /api/v1/graph/landscape#

Concepts linked by the people who hold them together

ParameterInTypeRequiredMeaning
max_conceptsqueryintegerDefault: 150.
min_peoplequeryintegerDefault: 2.

Publications, grants, and studies#

GET /api/v1/publications#

The organization's publications, with search and facets

ParameterInTypeRequiredMeaning
qquerystring
yearquerylist of string
journalquerylist of string
typequerylist of string
personquerylist of stringPerson IDs
flagquerylist of stringe.g. retracted
sortquerystringrelevance | year | citations
fieldsquerystring
limitqueryintegerItems per page Default: 20.
cursorquerystringOpaque cursor from meta.next_cursor
offsetqueryintegerItems to skip (without a cursor) Default: 0.

GET /api/v1/publications/{pmid}#

A publication with its authors, people, grants, studies, and metrics

ParameterInTypeRequiredMeaning
pmidpathstringyes

GET /api/v1/grants#

The organization's grants, with search and facets

ParameterInTypeRequiredMeaning
qquerystring
statusquerylist of stringactive, ended
activityquerylist of string
institutequerylist of string
yearquerylist of string
personquerylist of string
sortquerystringrelevance | year | amount
fieldsquerystring
limitqueryintegerItems per page Default: 20.
cursorquerystringOpaque cursor from meta.next_cursor
offsetqueryintegerItems to skip (without a cursor) Default: 0.

GET /api/v1/grants/{core_project_num}#

A grant: fiscal-year records, investigators, publications, and studies

ParameterInTypeRequiredMeaning
core_project_numpathstringyes

GET /api/v1/studies#

The organization's studies, with search and facets

ParameterInTypeRequiredMeaning
qquerystring
statusquerylist of stringRegistry status
phasequerylist of string
typequerylist of string
yearquerylist of string
personquerylist of string
sortquerystringrelevance | year
fieldsquerystring
limitqueryintegerItems per page Default: 20.
cursorquerystringOpaque cursor from meta.next_cursor
offsetqueryintegerItems to skip (without a cursor) Default: 0.

GET /api/v1/studies/{nct_id}#

A study: registry details, officials, sites, publications, and grants

ParameterInTypeRequiredMeaning
nct_idpathstringyes

Curation#

GET /api/v1/assertions/{assertion_id}#

An assertion with its evidence and history

ParameterInTypeRequiredMeaning
assertion_idpathstringyes

POST /api/v1/assertions/{assertion_id}/decision#

Accept, reject, defer, or undo; recorded as a curation event

ParameterInTypeRequiredMeaning
assertion_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
actionstringyes
notestring

POST /api/v1/assertions/decisions#

Apply one decision to several assertions (each logged; used for bulk undo)

JSON body:

FieldTypeRequiredMeaning
idslist of stringyes
actionstringyes
notestring

GET /api/v1/review#

The review queue of suggested authorships, in priority order

ParameterInTypeRequiredMeaning
bandquerylist of stringstrong, possible, unlikely
personquerystring
limitqueryintegerItems per page Default: 20.
cursorquerystringOpaque cursor from meta.next_cursor
offsetqueryintegerItems 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:

FieldTypeRequiredMeaning
person_idstringyes
bandstringyes
actionstringyes
notestring

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.

ParameterInTypeRequiredMeaning
limitqueryintegerItems per page Default: 20.
cursorquerystringOpaque cursor from meta.next_cursor
offsetqueryintegerItems 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:

FieldTypeRequiredMeaning
enabledbooleanyes
thresholdnumber

POST /api/v1/evidence/auto-accept/batches/{batch_id}/undo#

Undo one automatic batch

ParameterInTypeRequiredMeaning
batch_idpathstringyes

Groups#

GET /api/v1/groups#

Groups, with their kinds, parents, and member counts

ParameterInTypeRequiredMeaning
qquerystringWords in a name or code
kindquerylist of stringOnly these kinds
statusquerystringDefault: "active".
parentquerystringOnly groups directly under this one
limitqueryintegerItems per page Default: 20.
cursorquerystringOpaque cursor from meta.next_cursor
offsetqueryintegerItems to skip (without a cursor) Default: 0.

POST /api/v1/groups#

Create a group (admins)

JSON body:

FieldTypeRequiredMeaning
namestringyes
kindstringyes
slugstringThe address; made from the name if empty
short_namestring
codestringThe organization's own code
descriptionstring
emailstringA contact address
websitestring
parentslist of stringIDs, addresses, or codes

POST /api/v1/groups/import#

Import groups and memberships from a source (admins)

ParameterInTypeRequiredMeaning
sourcequerystringyesWhere the rows come from, like hr
completequerybooleanThe rows are the source's whole list Default: false.
dry_runquerybooleanReport what would change; change nothing Default: false.

GET /api/v1/groups/{group_ref}#

One group: its fields, parents, and sub-groups

ParameterInTypeRequiredMeaning
group_refpathstringyes

POST /api/v1/groups/{group_ref}#

Change, nest, archive, or restore a group (admins)

ParameterInTypeRequiredMeaning
group_refpathstringyes

JSON body:

FieldTypeRequiredMeaning
namestring
kindstring
slugstring
short_namestring'' to clear
codestring'' to clear
descriptionstring'' to clear
emailstring'' to clear
websitestring'' to clear
statusstring
parentslist of stringReplaces the parents

POST /api/v1/groups/{group_ref}/merge#

Merge a group into another (admins)

ParameterInTypeRequiredMeaning
group_refpathstringyes

JSON body:

FieldTypeRequiredMeaning
intostringyesThe group that remains: ID, address, or code

GET /api/v1/groups/{group_ref}/members#

A group's members, current or past

ParameterInTypeRequiredMeaning
group_refpathstringyes
includequerystringcurrent members, alumni, everyone, or removed memberships Default: "current".

POST /api/v1/groups/{group_ref}/members#

Add someone to a group (admins)

ParameterInTypeRequiredMeaning
group_refpathstringyes

JSON body:

FieldTypeRequiredMeaning
person_idstringyes
rolestringA configured role; member if empty
titlestring
startstring2015, 2015-07, or 2015-07-01
endstringEmpty 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)

ParameterInTypeRequiredMeaning
group_refpathstringyes
membership_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
rolestring
titlestring'' to clear
startstring'' to clear
endstringA 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

ParameterInTypeRequiredMeaning
group_refpathstringyes
membership_idpathstringyes

GET /api/v1/groups/{group_ref}/history#

Every change to a group and its memberships

ParameterInTypeRequiredMeaning
group_refpathstringyes
limitqueryintegerDefault: 100.

GET /api/v1/groups/{group_ref}/overview#

A group's showcase: leaders, people, topics, grants, studies, and connections

ParameterInTypeRequiredMeaning
group_refpathstringyes

GET /api/v1/groups/{group_ref}/publications#

Publications attributed to a group, or suggested for it

ParameterInTypeRequiredMeaning
group_refpathstringyes
statusquerystringDefault: "accepted".
limitqueryintegerItems per page Default: 20.
cursorquerystringOpaque cursor from meta.next_cursor
offsetqueryintegerItems 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)

ParameterInTypeRequiredMeaning
group_refpathstringyes

JSON body:

FieldTypeRequiredMeaning
idslist of stringyesattributed_to link IDs
actionstringyes
notestring

GET /api/v1/groups/{group_ref}/page#

A group's page: its published blocks, or a draft

ParameterInTypeRequiredMeaning
group_refpathstringyes
versionquerystringpublished, draft (editors), or a revision number Default: "published".

POST /api/v1/groups/{group_ref}/page/draft#

Save the group page's draft (its editors)

ParameterInTypeRequiredMeaning
group_refpathstringyes

JSON body:

FieldTypeRequiredMeaning
blockslist of objectyes

DELETE /api/v1/groups/{group_ref}/page/draft#

Discard the group page's draft

ParameterInTypeRequiredMeaning
group_refpathstringyes

POST /api/v1/groups/{group_ref}/page/publish#

Publish the draft as the group's page

ParameterInTypeRequiredMeaning
group_refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring

POST /api/v1/groups/{group_ref}/page/rollback#

Publish an earlier version again

ParameterInTypeRequiredMeaning
group_refpathstringyes

JSON body:

FieldTypeRequiredMeaning
revisionintegeryes
notestring

GET /api/v1/groups/{group_ref}/page/revisions#

Every published version of the page

ParameterInTypeRequiredMeaning
group_refpathstringyes

GET /api/v1/groups/{group_ref}/openings#

A group's openings (open ones, or all)

ParameterInTypeRequiredMeaning
group_refpathstringyes
includequerystringDefault: "open".

POST /api/v1/groups/{group_ref}/openings#

Post an opening

ParameterInTypeRequiredMeaning
group_refpathstringyes

JSON body:

FieldTypeRequiredMeaning
titlestring
kindstring
descriptionstring
urlstringWhere to apply
contactstring
posted_onstring
closes_onstringIt closes by itself after this day
closedbooleantrue closes it now; false opens it again

POST /api/v1/groups/{group_ref}/openings/{opening_id}#

Change, close, or reopen

ParameterInTypeRequiredMeaning
group_refpathstringyes
opening_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
titlestring
kindstring
descriptionstring
urlstringWhere to apply
contactstring
posted_onstring
closes_onstringIt closes by itself after this day
closedbooleantrue closes it now; false opens it again

GET /api/v1/groups/{group_ref}/themes#

A group's research themes and projects

ParameterInTypeRequiredMeaning
group_refpathstringyes
includequerystringDefault: "active".

POST /api/v1/groups/{group_ref}/themes#

Add a theme or project

ParameterInTypeRequiredMeaning
group_refpathstringyes

JSON body:

FieldTypeRequiredMeaning
namestring
kindstring
summarystring
statusstring
linkslist of stringper_…, grt:…, pub:…, or stu:… references

POST /api/v1/groups/{group_ref}/themes/{theme_id}#

Change a theme or its links

ParameterInTypeRequiredMeaning
group_refpathstringyes
theme_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
namestring
kindstring
summarystring
statusstring
linkslist of stringper_…, grt:…, pub:…, or stu:… references

GET /api/v1/groups/{group_ref}/inbox#

The group's weekly inbox (its editors)

ParameterInTypeRequiredMeaning
group_refpathstringyes

POST /api/v1/groups/{group_ref}/inbox/reviewed#

Mark the group's inbox as reviewed

ParameterInTypeRequiredMeaning
group_refpathstringyes

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

ParameterInTypeRequiredMeaning
group_refpathstringyes

JSON body:

FieldTypeRequiredMeaning
publicbooleanyesWhether 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

ParameterInTypeRequiredMeaning
core_project_numpathstringyes

GET /api/v1/publications/{pmid}/thread#

The grants a paper acknowledges, and the studies and clinical articles after it

ParameterInTypeRequiredMeaning
pmidpathstringyes

GET /api/v1/people/{person_id}/impact#

What followed a person's grants and their confirmed papers

ParameterInTypeRequiredMeaning
person_idpathstringyes

opportunities#

GET /api/v1/opportunities#

Funding opportunities, with search and facets

ParameterInTypeRequiredMeaning
qquerystring
statusquerylist of stringposted, forecasted, closed, archived
sourcequerylist of stringgrants_gov or local
kindquerylist of stringfederal, foundation, internal, …
eligiblequerylist of stringmeets, check, does_not_meet (the organization)
fitsquerystringa person's ID, or me: opportunities they fit
groupquerystringa group: opportunities it fits
closingquerylist of string30 or 90 (days)
agencyquerylist of string
activityquerylist of string
categoryquerylist of string
sortquerystringcloses | posted | relevance
fieldsquerystring
limitqueryintegerItems per page Default: 20.
cursorquerystringOpaque cursor from meta.next_cursor
offsetqueryintegerItems 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

ParameterInTypeRequiredMeaning
opportunity_idpathstringyes

POST /api/v1/opportunities/{opportunity_id}#

Change one the organization tracks, or restore it

ParameterInTypeRequiredMeaning
opportunity_idpathstringyes

DELETE /api/v1/opportunities/{opportunity_id}#

Archive one the organization tracks

ParameterInTypeRequiredMeaning
opportunity_idpathstringyes

POST /api/v1/opportunities/import#

Add or update many from CSV-like rows

JSON body:

FieldTypeRequiredMeaning
rowslist of object
csvstringCSV text with a header
sourcestring
completeboolean
dry_runboolean

GET /api/v1/opportunities/{opportunity_id}/fit#

Who fits an opportunity and why, and whether the organization may apply

ParameterInTypeRequiredMeaning
opportunity_idpathstringyes
conceptquerylist of stringMeSH IDs to add
dropquerylist of stringMeSH IDs to leave out

POST /api/v1/opportunities/{opportunity_id}/interest#

Watch an opportunity, or dismiss it

ParameterInTypeRequiredMeaning
opportunity_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
statestringyeswatching, 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

ParameterInTypeRequiredMeaning
person_idpathstringyes

GET /api/v1/groups/{group_ref}/opportunities#

Open opportunities that fit a group

ParameterInTypeRequiredMeaning
group_refpathstringyes

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

ParameterInTypeRequiredMeaning
team_idpathstringyes

POST /api/v1/teams/{team_id}#

Change a team's name, purpose, notes, topics, or sharing

ParameterInTypeRequiredMeaning
team_idpathstringyes

DELETE /api/v1/teams/{team_id}#

Delete a team (its owner, or an admin)

ParameterInTypeRequiredMeaning
team_idpathstringyes

POST /api/v1/teams/{team_id}/members#

Add someone to a team, or change their role

ParameterInTypeRequiredMeaning
team_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
person_idstringyes
rolestring
notestring

DELETE /api/v1/teams/{team_id}/members/{person_id}#

Take someone off a team

ParameterInTypeRequiredMeaning
team_idpathstringyes
person_idpathstringyes

GET /api/v1/teams/{team_id}/brief#

The team brief: JSON, Markdown, or CSV

ParameterInTypeRequiredMeaning
team_idpathstringyes
formatquerystringDefault: "json".

profiles#

GET /api/v1/people/{person_id}/profile#

A person's profile: the sections they keep

ParameterInTypeRequiredMeaning
person_idpathstringyes

POST /api/v1/people/{person_id}/profile/entries#

Add an entry to a section of the profile

ParameterInTypeRequiredMeaning
person_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
sectionstringyesThe section: overview, interests, position, education, honor, membership, teaching, talk, link, featured
fieldsobjectyesThe section's fields (see the profile's sections)

POST /api/v1/people/{person_id}/profile/entries/{entry_id}#

Change an entry

ParameterInTypeRequiredMeaning
person_idpathstringyes
entry_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
fieldsobjectyes

DELETE /api/v1/people/{person_id}/profile/entries/{entry_id}#

Remove an entry

ParameterInTypeRequiredMeaning
person_idpathstringyes
entry_idpathstringyes

POST /api/v1/people/{person_id}/profile/order#

Put a section's entries in a new order

ParameterInTypeRequiredMeaning
person_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
sectionstringyes
idslist of stringyesEvery entry of the section, in order

GET /api/v1/people/{person_id}/profile/history#

Every change to the profile, newest first

ParameterInTypeRequiredMeaning
person_idpathstringyes
limitqueryintegerDefault: 100.

POST /api/v1/people/{person_id}/profile/delegates#

Name an account that keeps this profile for the person

ParameterInTypeRequiredMeaning
person_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
usernamestringyesThe account to name

DELETE /api/v1/people/{person_id}/profile/delegates/{account_id}#

Stop an account keeping this profile

ParameterInTypeRequiredMeaning
person_idpathstringyes
account_idpathstringyes

POST /api/v1/people/{person_id}/profile/public#

Turn the public page on or off; choose its sections

ParameterInTypeRequiredMeaning
person_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
publicbooleanWhether the person has a public page
hidden_sectionslist of stringSections 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

ParameterInTypeRequiredMeaning
person_idpathstringyes
entry_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
hiddenbooleanyesLeave this entry off the public page

GET /api/v1/people/{person_id}/profile/public/preview#

The public page as publishing would build it now

ParameterInTypeRequiredMeaning
person_idpathstringyes

GET /api/v1/people/{person_id}/cvs#

A person's CVs and biosketches (those who keep the profile)

ParameterInTypeRequiredMeaning
person_idpathstringyes

POST /api/v1/people/{person_id}/cvs#

Start a CV, or a copy of one

ParameterInTypeRequiredMeaning
person_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
namestringyes
kindstringcv, or nih_biosketch
copy_ofstringStart 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

ParameterInTypeRequiredMeaning
person_idpathstringyes
doc_idpathstringyes

POST /api/v1/people/{person_id}/cvs/{doc_id}#

Rename a CV, or change what it includes

ParameterInTypeRequiredMeaning
person_idpathstringyes
doc_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
namestring
specobject

DELETE /api/v1/people/{person_id}/cvs/{doc_id}#

Delete a CV

ParameterInTypeRequiredMeaning
person_idpathstringyes
doc_idpathstringyes

GET /api/v1/people/{person_id}/cvs/{doc_id}/markdown#

A CV as Markdown, to download

ParameterInTypeRequiredMeaning
person_idpathstringyes
doc_idpathstringyes

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

ParameterInTypeRequiredMeaning
metric_idpathstringyes
cohortquerystringorganization (default), group:<address>[+below][;current], people:<ID>,<ID>, search:<words>, or a saved cohort's ID
startqueryintegerFirst year (calendar or fiscal, by metric)
endqueryintegerLast year
recordsquerybooleanInclude the records counted Default: false.

GET /api/v1/insight/cohort#

Who a cohort is: its label, size, and members

ParameterInTypeRequiredMeaning
cohortquerystring
limitqueryintegerDefault: 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:

FieldTypeRequiredMeaning
namestringyes
descriptionstring
cohortstringyesA cohort as written in an address

POST /api/v1/insight/cohorts/{cohort_id}#

Rename or redefine a saved cohort

ParameterInTypeRequiredMeaning
cohort_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
namestring
descriptionstring
cohortstring

DELETE /api/v1/insight/cohorts/{cohort_id}#

Delete a saved cohort

ParameterInTypeRequiredMeaning
cohort_idpathstringyes

GET /api/v1/insight/figures/{metric_id}/export#

A figure with its records and definitions, as CSV, Parquet, or JSON

ParameterInTypeRequiredMeaning
metric_idpathstringyes
formatquerystringcsv (a zip), parquet (a zip), or json Default: "csv".
cohortquerystring
startqueryinteger
endqueryinteger

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:

FieldTypeRequiredMeaning
namestringyes
descriptionstring
cohortstring
startinteger
endinteger
figureslist of FigureInyes

GET /api/v1/insight/reports/{report_id}#

A report's definition and its snapshots

ParameterInTypeRequiredMeaning
report_idpathstringyes

POST /api/v1/insight/reports/{report_id}#

Change a report

ParameterInTypeRequiredMeaning
report_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
namestring
descriptionstring
cohortstring
startinteger
endinteger
figureslist of FigureIn

DELETE /api/v1/insight/reports/{report_id}#

Delete a report (its snapshots stay)

ParameterInTypeRequiredMeaning
report_idpathstringyes

POST /api/v1/insight/reports/{report_id}/snapshots#

Freeze a report: its figures and the exact inputs they were computed from

ParameterInTypeRequiredMeaning
report_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring

GET /api/v1/insight/snapshots#

Every snapshot, newest first

GET /api/v1/insight/snapshots/{snapshot_id}#

A snapshot: its manifest and frozen figures

ParameterInTypeRequiredMeaning
snapshot_idpathstringyes
recordsquerybooleanInclude 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

ParameterInTypeRequiredMeaning
snapshot_idpathstringyes

GET /api/v1/insight/snapshots/{snapshot_id}/export#

A snapshot's figures with their records, definitions, and manifest (a zip)

ParameterInTypeRequiredMeaning
snapshot_idpathstringyes
formatquerystringcsv, parquet, or json Default: "csv".
figurequeryintegerOnly 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:

FieldTypeRequiredMeaning
namestringyes
kindstringperson, publication, grant, study, or everything
qstring
filtersobject

GET /api/v1/saved-searches/{search_id}#

A saved search with its new matches

ParameterInTypeRequiredMeaning
search_idpathstringyes

POST /api/v1/saved-searches/{search_id}#

Rename a saved search

ParameterInTypeRequiredMeaning
search_idpathstringyes

JSON body:

FieldTypeRequiredMeaning
namestringyes

DELETE /api/v1/saved-searches/{search_id}#

Delete a saved search

ParameterInTypeRequiredMeaning
search_idpathstringyes

POST /api/v1/saved-searches/{search_id}/seen#

Count every current match as seen

ParameterInTypeRequiredMeaning
search_idpathstringyes

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

ParameterInTypeRequiredMeaning
imagepathstringyes
Describes Tessera 1.0.1. Apache License 2.0. Screenshots show an invented organization; every person and record in them is fictional.