For the complete documentation index, see llms.txt. This page is also available as Markdown.

Automated Usage Reporting

Starting with API 6.6.4, you can use new functionality: automated billing reconciliation. Previously, monthly usage reconciliation for billing purposes was semi-automatic and required manual steps on both sides. The new version automates this process: the API sends usage counters directly to Cryptlex, removing the manual reconciliation steps and making monthly billing more accurate and more transparent for both you and us. Cryptlex is a third-party service that we have already been utilizing to manage licenses for our on-premise clients for several years. Now, this service additionally helps count transactions, where a transaction is an analysis request with a final result, SUCCESS or DECLINED. Face Matching and Liveness analyses within these requests are counted as well.

The functionality applies to on-premise deployments with a cloud-connected license.

What you get

  • No manual reconciliation: monthly usage reconciliation for billing runs automatically, with no manual steps on your side.

  • Billing in business units: usage is counted in completed verifications.

  • Transparency: Transaction, FaceMatching and Liveness are reported separately.

  • Fewer discrepancies: you and Oz rely on the same automatically collected figures, with less back-and-forth over invoices.

How usage is counted

Oz API sends totals only, never details of single transactions (who, when, or what result).

  • Counted: requests with a final result, SUCCESS or DECLINED. Not counted: requests still in progress or failed for technical reasons.

  • Each counted request adds 1 Transaction, 1 Liveness per liveness analysis, and 1 FaceMatching per face matching analysis.

  • Counters build up in the API container and are sent as totals, at most once an hour per counter.

  • Reporting is not real-time: consumption is calculated over the billing period.

What data is sent

Sent
Not sent

License key, Oz product and account IDs

Photos, videos, scanned documents

Machine identity: hashed fingerprint, hostname, hashed OS username

Face images, biometric templates or vectors

Platform: OS and version, container or not, hypervisor name

End-user names, document numbers, emails or other IDs

Counters as integers: Transaction, FaceMatching, Liveness

Analysis inputs, results, scores, folder contents

Database records, logs, other configuration

End-user IPs, location, device info

Customer or tenant names, account structure

Free-form metadata (Oz leaves metadata and customAttributes empty)

What you need to do

  1. Upgrade Oz API to 6.6.4 or higher (Kubernetes: Helm chart 0.20.33 or higher).

  2. Allow outbound HTTPS (port 443) from the API container to the Cryptlex domain for your region (see Network access).

Everything else is on our side: we set up your license in Cryptlex, configure the API, and confirm that data is arriving.

To check the result: in Oz API 6.6.4 and higher, call GET /api/healthcheck/. It should return a license section with status ok when the license is active, or an error if it is invalid or revoked.

If service is unavailable

The service keeps running for a grace period, and no usage data is lost.

  • Connection lost: an activated license keeps working for a grace period while the API reconnects in the background. Counters are stored locally and sent when the connection returns, with no action needed. The grace period length is set in your license; we can share it on request.

  • Grace period over, still no connection: analysis requests are rejected until the license is validated again. Other requests still work.

  • License revoked: the grace period doesn't apply, and analyses stop. After the license is restored, the API container must be restarted. No usage data is lost.

Under its Service Level Agreement, Cryptlex commits to at least 99.9% monthly uptime for its Web API and portals.

For security and infrastructure teams

Network access

One outbound HTTPS connection: from the Oz API container to api.cryptlex.com (or api.eu.cryptlex.com, depending on your region), port 443. No inbound connections, no other recipients.

The destination isn't new: the BIO container already connects to the same domain over the same port.

API calls

The calls are made by the Cryptlex SDK inside the API container. The exact pattern may change between SDK versions.

Method
Purpose
Frequency

Activates the license at container start, or reclaims a lost license slot

A few per restart

Background license check

A few per hour

Releases the license on shutdown

Once per shutdown

Sends a counter: Transaction, FaceMatching or Liveness

Up to 3 per hour

Total: fewer than 60 requests per hour, about 1 KB each.

How to verify what is sent

  • Specification: every call is in Cryptlex's public API reference (links in the table above). Request fields are strings, integers or booleans (some grouped into lists), with no fields for files or binary data. For example, the counter request contains only an increment number and the activationId, accountId and productId identifiers.

  • Traffic: monitor outbound volume on your proxy or NGFW and compare it with the normal volume above.

  • Egress: allow the API container to reach only the Cryptlex domain on port 443.

Last updated

Was this helpful?