Velacent Bridge: beta December 2026, general availability early 2027. E-mail sales to request beta access.

Documentation menu

Confidential docs API

Last updated . Documentation for the current release. Ask in the product.

7 operations. Back to the API overview. Examples use synthetic data.

Session open

POST /admin/v1/build-sessions

Needs the permission: documents:confidential_build.

Request body

Request body of Session open
FieldTypePresenceDescription
hoursintegeroptional-
max_readsintegeroptional-
request_refstringoptional-
Example request body (synthetic data)
{
  "hours": 1,
  "max_reads": 1,
  "request_ref": "example"
}

Response 201

Example response (synthetic data)
{}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"hours":1,"max_reads":1,"request_ref":"example"}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/build-sessions"

Session documents

GET /admin/v1/build-sessions/{id}/documents

Needs the permission: documents:confidential_build.

Parameters

Parameters of Session documents
NameInTypePresenceDescription
idpathstringrequired-

Response 200

Response fields of Session documents
FieldTypePresenceDescription
documentsanyoptional-
sessionobject (DbBuildSession)optionalBuildSession is one build factory session for a request.
session.expires_atstring (date-time)optional-
session.idstringoptional-
session.max_readsintegeroptional-
session.opened_atstring (date-time)optional-
session.opened_bystringoptional-
session.readsintegeroptional-
session.request_refstringoptional-
session.revoked_atstring (date-time)optional-
session.revoked_bystringoptional-
Example response (synthetic data)
{
  "documents": {},
  "session": {
    "expires_at": "2026-01-15T14:30:00Z",
    "id": "example-id",
    "max_reads": 1,
    "opened_at": "2026-01-15T14:30:00Z",
    "opened_by": "example",
    "reads": 1,
    "request_ref": "example",
    "revoked_at": "2026-01-15T14:30:00Z",
    "revoked_by": "example"
  }
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/build-sessions/example-id/documents"

Session read

GET /admin/v1/build-sessions/{id}/documents/{doc}

Needs the permission: documents:confidential_build.

Parameters

Parameters of Session read
NameInTypePresenceDescription
idpathstringrequired-
docpathstringrequired-

Response 200

Example response (synthetic data)
{}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/build-sessions/example-id/documents/example-doc"

Conf list

GET /admin/v1/confidential-documents

Needs the permission: documents:confidential.

Response 200

Response fields of Conf list
FieldTypePresenceDescription
documentsanyoptional-
limitsobjectoptional-
limits.max_document_bytesanyoptional-
limits.max_per_requestanyoptional-
limits.max_total_bytesanyoptional-
sessionsanyoptional-
Example response (synthetic data)
{
  "documents": {},
  "limits": {
    "max_document_bytes": {},
    "max_per_request": {},
    "max_total_bytes": {}
  },
  "sessions": {}
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/confidential-documents"

Conf upload

POST /admin/v1/confidential-documents

Needs the permission: documents:confidential.

Request body

Request body of Conf upload
FieldTypePresenceDescription
confirm_syntheticbooleanoptionalConfirmSynthetic confirms that values the screen found (dates of birth, record numbers, SSN-shaped numbers, patient segments) are synthetic sample data.
datastringoptionalbase64
namestringoptional-
no_phibooleanoptionalNoPHI is the uploader's statement that the document contains no PHI (required).
request_refstringoptional-
Example request body (synthetic data)
{
  "confirm_synthetic": true,
  "data": "example",
  "name": "example-name",
  "no_phi": true,
  "request_ref": "example"
}

Response 201

Response fields of Conf upload
FieldTypePresenceDescription
bytesanyoptional-
idanyoptional-
media_typeanyoptional-
phi_screenanyoptional-
visibilityanyoptional-
Example response (synthetic data)
{
  "bytes": {},
  "id": {},
  "media_type": {},
  "phi_screen": {},
  "visibility": {}
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 422 Unprocessable (invalid configuration or input)
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"confirm_synthetic":true,"data":"example","name":"example-name","no_phi":true,"request_ref":"example"}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/confidential-documents"

Conf revoke

POST /admin/v1/confidential-documents/build-sessions/{id}/revoke

Needs the permissions: documents:confidential, documents:confidential_build.

Parameters

Parameters of Conf revoke
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Conf revoke
FieldTypePresenceDescription
statusstringoptional-
Example response (synthetic data)
{
  "status": "ok"
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/confidential-documents/build-sessions/example-id/revoke"

Conf delete

DELETE /admin/v1/confidential-documents/{id}

Needs the permission: documents:confidential.

Parameters

Parameters of Conf delete
NameInTypePresenceDescription
idpathstringrequired-

Response 200

Response fields of Conf delete
FieldTypePresenceDescription
statusstringoptional-
Example response (synthetic data)
{
  "status": "ok"
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request DELETE \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/confidential-documents/example-id"

Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.