API reference

version 1 · programmatic access to the FedRAMP certification package

Access

Base address: https://trust.fed.bichart.ai. Every request needs a token:

Authorization: Bearer bct_…

Endpoints

Method and pathReturns
GET /v1/documentsThe package: id, title, version, date, and for each format an address, size in bytes and SHA-256
GET /v1/documents/{id}/{file}302 to the file. The link in Location works for five minutes; follow it without the Authorization header
GET /v1/snapshotsThe dates on which the package was frozen with a quarterly report
GET /v1/snapshots/{date}The documents of one snapshot, in the same shape as /v1/documents
GET /v1/snapshots/{date}/{id}/{file}302 to the file as it was in that snapshot
GET /v1/access/mineWhat you retrieved: time, document, version, API or browser, address. Kept six months
GET /v1/meThe address and organization the token belongs to

Examples

# the package as JSON
curl -fsS -H "Authorization: Bearer $TOKEN" https://trust.fed.bichart.ai/v1/documents

# download one file (curl follows the redirect and drops the header for the other host)
curl -fsSL -H "Authorization: Bearer $TOKEN" -O https://trust.fed.bichart.ai/v1/documents/security-decision-record/security-decision-record.json

# every file of the current package
curl -fsS -H "Authorization: Bearer $TOKEN" https://trust.fed.bichart.ai/v1/documents \
  | jq -r '.documents[].formats[].href' \
  | while read -r path; do curl -fsSL -H "Authorization: Bearer $TOKEN" -O "https://trust.fed.bichart.ai$path"; done

Behaviour