XNAT API Documentation
This Confluence wiki space exists to display XNAT API and API for XNAT plugins in an interactive way. It also contains simple tutorials on using the XNAT API to communicate with your XNAT and perform many operations.
XNAT REST API Directory
This table contains a directory of API that can be found in Core XNAT.
/xapi vs /data vs /data/archive vs /REST
In legacy XNAT REST APIs, the following prefixes can be used interchangeably:
/REST
/data
/data/archive
These prefixes are not interchangeable with Swagger-enabled XAPI rest paths. These can only use:
/xapi
XNAT Administration
Site Administration
/xapi/siteConfig | |
---|---|
/xapi/prefs | |
/xapi/schemas | |
/data/config |
System Administration
/xapi/archive | |
---|---|
/xapi/notifications | |
/xapi/xnatTask | |
/xapi/asyncOps | |
/xapi/logs |
User Administration
/xapi/users | |
---|---|
/data/users | |
/data/user/cache/resources | |
/data/projects/ID/users | |
/data/pars | |
/xapi/access |
User Authentication Services
/data/JSESSION | |
---|---|
/data/services/auth | |
/data/services/tokens |
XNAT Event Service Administration
/xapi/events /xapi/projects/{ID}/events | |
---|---|
/xapi/event_tracking |
XNAT Plugin Administration
/xapi/plugins | |
---|---|
/xapi/pluginOpenUrls |
UI configuration:
/xapi/spawner | |
---|---|
UI Theme API (beta) | /xapi/theme |
DICOM Connections:
/xapi/dicomscp | |
---|---|
/data/services/dicomscp | |
/xapi/anonymize | |
/xapi/dicom | |
/data/scanners |
Other Services:
/data/services/move-files | |
---|---|
/data/services/mail/send | |
/data/services/audit | |
/data/services/refresh/catalog | |
/data/services/sendEmailVerification | |
/data/services/features |
XNAT Data Management API
Working With Projects
/data/projects | |
---|---|
/data/projects/{ID}/accessibility | |
/xapi/investigators | |
/data/projects/{ID}/users | |
/data/pars | |
/data/projects/{ID}/config | |
/data/projects/{ID}/pipelines |
Working with Subjects, Image Sessions and other Subject Assessors
/data/subjects | |
---|---|
Experiment API | /data/experiments |
/data/.../experiments/status | |
/data/.../experiments/{ID}/scans | |
/data/.../experiments/{ID}/assessors | |
/data/projects/{ID}/.../projects | |
/xapi/snapshot-generation-api |
Storing And Retrieving Resource Files
/data/projects/{ID}/resources | |
---|---|
/data/.../subjects/{ID}/resources | |
/data/.../experiments/{ID}/resources | |
/data/.../experiments/{ID}/scans/{ID}/resources | |
/data/.../assessors/{ID}/{IN | OUT}/resources | |
/data/services/triage |
Using and Managing the Archive & Prearchive
/data/services/import | |
---|---|
/data/services/archive | |
/data/services/prearchive | |
/data/status | |
/data/services/dicomdump | |
/xapi/processors | |
/xapi/dicom_mappings |
XNAT Search API
/data/search | |
---|---|
/data/search/stored |
XNAT Data Processing
/xapi/pipelines | |
---|---|
XNAT Project Pipeline API (Deprecated) | /data/projects/{ID}/pipelines |
/data/workflows |
Related: Container Service API
XNAT Automation API
Event Handler API (beta) | /xapi/eventHandler |
---|---|
XNAT Automation Service API (beta) | /xapi/automation |
Deprecated API
These API are from legacy XNAT versions and have been replaced.
Site Administration
XNAT Site Configuration API
- /REST/config
XNAT Site Settings API
- /REST/services/settings
XNAT Log Reporting API
- /REST/services/logging
XNAT Version -
/REST/version
Search
Search Fields -
/REST/search/fields