Admin API
4 operations. Back to the API overview. Examples use synthetic data.
List users
GET /admin/v1/users
Needs the permission: users:write.
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
users | any | optional | - |
{
"users": {}
}Other responses
401Authentication required403Not permitted503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/users"Put user
PUT /admin/v1/users/{subject}
With customer SSO, requires a recent sign-in (re-authentication).
Needs the permission: users:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
subject | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
email | string | optional | - |
patient_search | boolean | optional | - |
payload_read | boolean | optional | - |
reason | string | optional | Reason is required: why the change is being made (kept in the database audit only). |
role | string | optional | - |
version | integer | optional | Version is the version the caller last read (optimistic concurrency control); 0 creates a new assignment. Required. |
{
"email": "user@example.org",
"patient_search": true,
"payload_read": true,
"reason": "Example text",
"role": "example",
"version": 1
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
changed_at | string (date-time) | optional | - |
changed_by | string | optional | - |
changed_by_auth | string | optional | - |
changed_by_subject | string | optional | - |
email | string | optional | - |
patient_search | boolean | optional | - |
payload_read | boolean | optional | - |
reason | string | optional | - |
role | string | optional | - |
subject | string | optional | - |
valid_from | string (date-time) | optional | - |
valid_to | string (date-time) | optional | - |
version | integer | optional | - |
{
"changed_at": "2026-01-15T14:30:00Z",
"changed_by": "example",
"changed_by_auth": "example",
"changed_by_subject": "example",
"email": "user@example.org",
"patient_search": true,
"payload_read": true,
"reason": "Example text",
"role": "example",
"subject": "example",
"valid_from": "2026-01-15T14:30:00Z",
"valid_to": "2026-01-15T14:30:00Z",
"version": 1
}Other responses
401Authentication required403Not permitted503Unavailable (nothing was changed)
curl --request PUT \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"email":"user@example.org","patient_search":true,"payload_read":true,"reason":"Example text","role":"example","version":1}' \
"https://YOUR-CONSOLE-HOST/admin/v1/users/example-subject"User history
GET /admin/v1/users/{subject}/history
Needs the permission: users:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
subject | path | string | required | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
subject | any | optional | - |
versions | any | optional | - |
{
"subject": {},
"versions": {}
}Other responses
401Authentication required403Not permitted503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/users/example-subject/history"Whoami
GET /admin/v1/whoami
Needs the permissions: patient:search, payload:read.
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
addons | array of string | optional | - |
auth_method | string | optional | - |
demo | object (DemoInfo) | optional | Demo is set only in the local demo environment (a test build with VELACENT_DEMO=1, never a real deployment): the console shows a "Demo environment, synthetic data" banner, and says so when its AI answers are simulated. |
demo.simulated_ai | boolean | optional | - |
demo.synthetic_data | boolean | optional | - |
edition | string | optional | - |
email | string | optional | - |
features | array of string | optional | Features lists optional console areas this deployment enables ("developers"), so the navigation shows only what works. |
patient_search | boolean | optional | - |
paused_features | array of object (ConfigPausedFeature) | optional | PausedFeatures are configured features this edition does not run (a downgrade kept them): the console banner names each and how to get it back. |
paused_features.[]feature | string | optional | Feature is the stable ID (atna, external_empi, empi_matching). |
paused_features.[]message | string | optional | Message is the console banner text (plain language). |
paused_features.[]needs | string | optional | Needs is what restores it ("enterprise" or "empi" add-on). |
payload_read | boolean | optional | - |
permissions | array of string | optional | - |
personnel | string | optional | Personnel is customer, staff (Velacent personnel: support role, metadata only) or unbound. |
role | string | optional | - |
subject | string | optional | - |
{
"addons": [
"example"
],
"auth_method": "example",
"demo": {
"simulated_ai": true,
"synthetic_data": true
},
"edition": "example",
"email": "user@example.org",
"features": [
"example"
],
"patient_search": true,
"paused_features": [
{
"feature": "example",
"message": "Example text",
"needs": "example"
}
],
"payload_read": true,
"permissions": [
"example"
],
"personnel": "example",
"role": "example",
"subject": "example"
}Other responses
401Authentication required403Not permitted
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/whoami"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.