API v2
v2 provides richer access to project structure and form definitions.
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /api/v2/projects | List projects |
GET | /api/v2/projects/:id | Get project (includes form metadata) |
GET | /api/v2/mesh_descriptors | Search MeSH descriptors |
GET | /api/v2/evidence_variables | List evidence variables |
GET | /api/v2/extractions | List extractions |
GET | /api/v2/extractions/:id | Get extraction with section data |
GET | /api/v2/extraction_forms_projects_sections | List form sections |
GET | /api/v2/key_questions | List key questions for a project |
GET | /api/v2/questions | List questions in a form section |
Example: Getting a Project's Key Questions
GET /api/v2/key_questions?project_id=42
Authorization: Bearer YOUR_API_KEY
[
{ "id": 1, "name": "Does treatment A reduce mortality?" },
{ "id": 2, "name": "What are the harms of treatment A?" }
]