---
title: "Read a Biocompile project's history through the API"
description: "Read a Biocompile project's contributions, the project as it was at any version, and every published revision of a record through the API."
url: https://www.biocompile.com/docs/api-contributions/
section: "API and integrations"
last_updated: 2026-11-20
app_url: https://app.biocompile.com/research-hub
---

# Read a Biocompile project's history through the API

> Read a Biocompile project's contributions, the project as it was at any version, and every published revision of a record through the API.

Source: https://www.biocompile.com/docs/api-contributions/. Index of all Biocompile documentation: https://www.biocompile.com/docs/index.md

A Biocompile project keeps its history. Every contribution merges at once and raises the
project's version by one, and every record it changes gets a new published revision that
never changes afterwards. The API reads that history with `entities:read`. Contributing
itself happens from a workbench (see [Change a project through the API](https://www.biocompile.com/docs/api-workbenches.md)).

Paths start with `/api/v1/organizations/{organization_id}`.

| Operation | What it reads |
|---|---|
| `GET .../research-projects/{project_id}/contributions` | The project's contributions, newest first |
| `GET .../research-projects/{project_id}/contributions/{contribution_id}` | One contribution |
| `GET .../research-projects/{project_id}/versions/{version}` | The project as it was at version N |
| `GET .../items/{ref}/revisions` | Every published revision of a record |
| `GET .../revisions/{identifier}` | One revision, such as `hyp_ab12.3` |

## What a contribution records

A contribution names who contributed and when, every change it made with the identifier of the
record it touched, its report, the project version it made, and who decided:

- `status` is `applied` once merged, or `conflicted` or `withdrawn` when it did not merge.
- `decision.decider` is `person` (the person who contributed, through the credential named in
  `actor`) or `policy` (an automatic decision, with the person who enabled it).
- `origin` is `workbench` for drafts contributed from a workbench, or `direct` for one direct
  edit of a published record.

## Versions and revisions

Version N is the project after its Nth contribution. `GET .../versions/{version}` lists the
records the project held then, each at the revision it had.

A revision is written `{identifier}.{N}`, for example `hyp_ab12.3`. Cite revisions when a
result must stay reproducible: a revision always reads the same.

## Common questions

### Can I accept or decline a contribution through the API?

No. Merge on contribute is the project policy: a contribution is decided when it is made, by
the person who contributes. There is nothing left to accept.

### What happened to contributions that were waiting for review?

When merge on contribute shipped, each one was withdrawn by the system, and its drafts went
back to their workbench, unlocked. Contribute them again to merge them. Nothing was merged on
anyone's behalf.

### Can a service account read contributions?

Yes, in the projects it was granted.

## Related

- [Change a project through the API](https://www.biocompile.com/docs/api-workbenches.md)
- [API for projects and research records](https://www.biocompile.com/docs/api-projects.md)
- [Biocompile API reference](https://www.biocompile.com/docs/api-reference.md)

## Get access to Biocompile

Biocompile is used in the browser at https://app.biocompile.com. It is free to start and no payment method is required: sign up at https://app.biocompile.com/signup?mc_cta=docs-md&mc_path=/docs/api-contributions.md. If your team already uses Biocompile, ask an organization admin to invite you. Research teams that want hands-on setup can apply for the founder-led pilot at https://www.biocompile.com/pilot/. Questions: https://www.biocompile.com/contact/.
