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

Changelog

API changes

6.6.3 – July 02, 2026

  • Implemented transaction tracking to support billing for on-premises clients for the full API mode.

6.6.2 – June 24, 2026

  • Implemented transaction tracking to support billing for on-premises clients (Instant API).

  • Optimized performance of GET /api/folders/, GET /api/folders/{folder_id}/media/, and GET /api/folders/{folder_id}/analyses/ endpoints.

  • Extended log collection for OLAP.

  • The /api/authorize/session_token/ endpoint now supports POST along with GET.

  • Improved TFSS resource efficiency.

  • Improved biometry analysis performance by up to 16% (single gesture) and up to 39% (multi-gesture).

  • Added the optional X-Forensic-Company-Id request header to GET /api/authorize/session_token/. In multi-tenant Instant API deployments, use this header to pass a tenant company_id (UUID) when obtaining a session token. The value is embedded in the token and used to attribute transactions to the correct tenant in billing and analytics.

  • media_association_id in output_images for best_shot and action_shot now correctly reflects the ID of the source media from which the frame was extracted.

  • preview_url for video media now includes the _preview suffix, consistent with shotset behavior.

6.6.1 – June 09, 2026

  • API now can process an OzCapsula container that has other OzCapsula containers inside. This applies to the Mobile SDK integration flow only.

  • We now support OpenTelemetry.

  • You can now obtain the full-size action shot from API for the Liveness analysis. In the payload, set extract_action_shot to 1 or true. In an API response, check analyses[].results_media[].output_images[]. Action shot has original_name = ResultImageActionShot.jpeg. The default report template has been changed accordingly and is included into API image.

  • Optimized shotset processing.

  • To prevent TFSS overload, you can now manage the number of concurrent requests API sends to TFSS. Please refer to API Configuration for details.

  • We no longer hide the best shot in base64 from response by default. The best shot can be found in analyses[].results_media[].output_images[].image_b64.

  • OzCapsula requests now include the analyses[] section in the response even when the request is declined with a non-null decline_reason, so integrations relying on analyses[] (e.g., using the on_complete callback in Web SDK) work properly.

  • expire_date in the /api/authorize/auth response is no longer affected by the timezone that is set in API.

  • By default, all OzCapsula-related errors now return the "Invalid request data" error message. Error codes stay unchanged.

  • To S3, we now save multiple engine_response.json files for a single media file: one for each analysis applied (naming: {analysis_id}_{source_media_id}_engine_response.json).

  • GET /api/collections/{collection_id}/persons/ no longer returns a 500 Internal Server Error for legacy image path formats; an invalid path now produces a meaningful error without a stack trace.

  • Resolved an AttributeError that might have occurred in case of failed JSON serialization.

  • Enhanced security.

6.6.0.1 – June 06, 2026

  • Updated internal dependencies.

6.6.0 – May 19, 2026

  • Updated models.

  • API no longer returns a 500 error when viewing analysis details or printing reports under the CLIENT role in Web UI.

6.5.0 – Apr. 12, 2026

  • Added integration with OLAP.

  • Improved performance under high load.

  • Increased the total attachment size (OZ_ATTACHMENT_MAX_SIZE) from 10 MB to 24 MB.

  • Resolved the issue with improper processing of POST /api/folders/{{folder_id}}/media/request that could result in incomplete responses with missing media files.

  • Added timezone-safe handling for database records to ensure consistent timestamps regardless of the timezone used.

  • OzCapsula now returns specific error codes for different container damage types instead of a generic "Invalid Data Container" error.

  • Resolved API errors in multi-storage mode.

  • Setting OZ_STATIC_S3_BUCKET_URL as an empty string no longer leads to the S3 misconfiguration error.

  • Sending a container without media no longer causes a 500 error.

  • Fixed the bug where Instant API could save artifacts to local storage when persistence was disabled.

  • Fixed the bug where Instant API might create a database record when processing an invalid container.

  • Fixed the bug with time_created and time_updated that might have appeared incorrect.

  • Enhanced security.

6.4.2-18 – Feb. 12, 2026

  • You can now add container to the existing folder using the POST api/folders/{folder_id}/media method.

  • Improved performance of the Collection analysis.

  • You can now trim a video if it is too long. Set the OZ_FFMPEG_VIDEO_CROPPING_ENABLED parameter to true to enable automatic trimming of videos longer than OZ_VIDEO_DURATION_MAX. If a video is trimmed, the corresponding records will be added to logs.

  • If a container cannot be processed (error 14), we now save the corresponding order’s data to ease investigation.

  • If a container is considered invalid, API logs now include the corresponding folder_id to simplify the search.

  • Fixed folder deletion in local-local and local-s3 configurations to properly remove static files.

6.4.1-40 – Dec. 24, 2025

Implemented a new proprietary data format: OzCapsula Data Container.

  • Instant API now can save static and JSON payload to S3. To enable this functionality, set oz_instant_save_artifacts_s3 to true.

  • Resolved the issue with occasional false rejections using videos received from Web SDK.

  • The Collection analysis now ignores images tagged with photo_id_back.

  • Internal improvements.

6.4.0 – Nov. 24, 2025

Only for SaaS.

  • Updated API to support upcoming features.

6.3.5 – Nov. 03, 2025

  • Fixed bugs that could cause the GET /api/folders/ request to return incorrect results.

6.3.4 – Oct. 20, 2025

  • Updated API to support upcoming features.

  • Fixed bugs.

6.3.3 – Sept. 29, 2025

  • Resolved an issue with POST /api/instant/folders/ and POST /api/folders/ returning “500 Internal Server Error” when the video sent is corrupted. Now system returns “400 Bad Request”.

  • Updated API to support upcoming features.

6.3.0 – Aug 05, 2025

Updated API 6 to support Kazakhstan regulatory requirements: added the functionality of extracting action shots from videos of a person performing gestures.

  • You can remove admin rights from a CLIENT ADMIN user and change their role to CLIENT via PATCH /api/users/{{user_id}}.

  • You can generate a service token for a user with the OPERATOR role.

  • Enhanced security.

6.2.5 – June 18, 2025

  • Optimization and performance updates.

6.2.3 – June 02, 2025

  • Analyses can now be done in parallel with each other. To enable this feature, add the OZ_ANALYSE_PARALLELED_CHECK_MEDIA_ENABLED parameter to config.py and set it to true (the default value is false).

  • For the instant mode, authorization can be disabled. Add the OZ_AUTHORIZE_DISABLED_STATELESS parameter to config.py and set it to true (the default value is false) to use instant API without authorization.

  • Fixed the issue with MP4 videos that sometimes could not be played after downloading from SDK.

  • We now return the correct error for the non-authorized requests.

  • Fixed the bug with “spontaneous” error 500 that had been caused by too few frames in video. Added the check for the number of frames and more descriptive error messages.

  • Performance, security, and installation updates.

6.0.1 – Apr. 30, 2025

Please note: this version doesn't support the Kazakhstan regulatory requirements.

  • Optimized storage and database.

  • Implemented the single request mode which involves creating a folder and executing analyses in a single request by attaching a part of the analysis in the payload.

  • Implemented the instant analysis mode without storing any data locally or in database. This mode can be used either with or without other API components.

  • You can now combine working systems based on asynchronous method or celery worker (local processing, celery processing). Added S3 storage mechanics for each of the combinations.

  • Enhanced security.

  • We no longer support RAR archives.

  • We no longer support Active Directory. This functionality will be returned in the upcoming releases.

  • Improved mechanics for calculating analysis time.

  • Replaced the is_admin and is_service flags for the CLIENT role with new roles: CLIENT ADMIN and CLIENT SERVICE, respectively. Set the roles in user_type.

  • To issue a service token for a user via {{host}}/api/authorize/service_token/, this user must have the CLIENT SERVICE role. You can also create a token for another user with this role: call {{host}}/api/authorize/service_token/{user_id}.

  • Removed collection and person attributes from COLLECTION.analysis.

  • We no longer store separate objects for each frame in SHOTS_SET. If you want to save an image from your video, consider enabling best shot.

  • We no longer support Podman for installation.

  • Updated the API reference: Oz API 6.0.

  • Changed endpoints and parameters:

Deprecated Endpoint or Parameter
Replacement

PATCH users/{{user_id}}/ to change user password

POST /api/users/{{user_id}}/change-password

DELETE images|media/<media_id> to delete an image of a person from collection

DELETE collections/<collection_id>/persons/<person_id>/images/<media_id>/

image_id, video_id, and shots_set_id

media_id

analyse_id

analysis_id

can_start_analyse_biometry

can_start_analysis_biometry

can_start_analyse_collection

can_start_analysis_collection

can_start_analyse_documents

can_start_analysis_documents

can_start_analyse_quality

can_start_analysis_quality

expire_date in {{host}}/api/authorize/auth and {{host}}/api/authorize/refresh

access_token.exp from payload

session_id in {{host}}/api/authorize/auth and {{host}}/api/authorize/refresh

token_id

5.3.1 – Dec. 24, 2024

  • Improved the resource efficiency of server-based biometry analysis.

5.3.0 – Nov. 27, 2024

  • API can now extract action shots from videos of a person performing gestures. This is done to comply with the new Kazakhstan regulatory requirements for biometric identification.

  • Created a new report template that also complies with the requirements mentioned above.

  • If action shots are enabled, the thumbnails for the report are generated from them.

5.2.0 – Sept. 06, 2024

  • Updated the Postman collection. Please see the new collection here and at https://apidoc.ozforensics.com/.

  • Added the new method to check the timezone settings: GET {{host}}/api/config

  • Added parameters to the GET {{host}}/api/event_sessions method:

    • time_created

    • time_created.min

    • time_created.max

    • time_updated

    • time_updated.min

    • time_updated.max

    • session_id

    • session_id.exclude

    • sorting

    • offset

    • limit

    • total_omit

  • If you create a folder using SHOT_SET, the corresponding video will be in media.video_url.

  • Fixed the bug with CLIENT ADMIN being unable to change passwords for users from their company.

5.1.1 – July 16, 2024

  • Security updates.

5.1.0 – Mar. 20, 2024

  • Face Identification 1:N is now live, significantly increasing the data processing capacity of the Oz API to find matches. Even huge face databases (containing millions of photos and more) are no longer an issue.

  • The Liveness (QUALITY) analysis now ignores photos tagged with photo_id, photo_id_front, or photo_id_back, preventing these photos from causing the tag-related analysis error.

5.0.1 – July 16, 2024

  • Security updates.

5.0.0 – Nov. 17, 2023

  • You can now apply the Liveness (QUALITY) analysis to a single image.

  • Fixed the bug where the Liveness analysis could finish with the SUCCESS result with no media uploaded.

  • The default value for the extract_best_shot parameter is now True.

  • RAR archives are no longer supported.

  • By default, analyses.results_media.results_data now contain the confidence_spoofing parameter. However, if you need all three parameters for the backward compatibility, it is possible to change the response back to three parameters: confidence_replay, confidence_liveness, and confidence_spoofing.

  • Updated the default PDF report template.

  • The name of the PDF report now contains folder_id.

4.0.8-patch1 – July 16, 2024

  • Security updates.

4.0.8 – May 22, 2023

  • Set the autorotation of logs.

  • Added the CLI command for user deletion.

  • You can now switch off the video preview generation.

  • The ADMIN access token is now valid for 5 years.

  • Added the folder identifier folder_id to the report name.

  • Fixed bugs and optimized the API work.

4.0.2 – Sept. 13, 2022

  • For the sliced video, the system now deletes the unnecessary frames.

  • Added new methods: GET and POST at media/<media_id>/snapshot/.

  • Replaced the default report template.

  • The shot set preview now keeps images’ aspect ratio.

  • ADMIN and OPERATOR receive system_company as a company they belong to.

  • Added the company_id attribute to User, Folder, Analyse, Media.

  • Added the Analysis group_id attribute.

  • Added the system_resolution attribute to Folder and Analysis.

  • The analysis resolution_status now returns the system_resolution value.

  • Removed the PATCH method for collections.

  • Added the resolution_status filter to Folder Analyses [LIST] and analyse.resolution_status filter to Folder [LIST].

  • Added the audit log for Folder, User, Company.

  • Improved the company deletion algorithm.

  • Reforged the blacklist processing logic.

  • Fixed a few bugs.

3.33.0

  • The Photo Expert and KYC modules are now removed.

  • The endpoint for the user password change is now POST users/user_id/change-password instead of PATCH.

3.32.1

  • Provided log for the Celery app.

3.32.0

  • Added filters to the Folder [LIST] request parameters: analyse.time_created, analyse.results_data for the Documents analysis, results_data for the Biometry analysis, results_media_results_data for the QUALITY analysis. To enable filters, set the with_results_media_filter query parameter to True.

3.31.0

  • Added a new attribute for users – is_active (default True). If is_active == False, any user operation is blocked.

  • Added a new exception code (1401 with status code 401) for the actions of the blocked users.

3.30.0

  • Added shots sets preview.

  • You can now save a shots set archive to a disk (with the original_local_path, original_url attributes).

  • A new original_info attribute is added to store md5, size, and mime-type of a shots set

  • Fixed ReportInfo for shots sets.

3.29.0

  • Added health check at GET api/healthcheck.

3.28.1

  • Fixed the shots set thumbnail URL.

3.28.0

  • Now, the first frame of shots set becomes this shots set's thumbnail URL.

3.27.0

  • Modified the retry policy – the default max count of analysis attempts is increased to 3 and jitter configuration introduced.

  • Changed the callback algorithm.

  • Refactored and documented the command line tools.

  • Refactored modules.

3.25.0

  • Changed the delete personal information endpoint and method from delete_pi to /pi and from POST to DELETE, respectively.

3.23.1

  • Improved the delete personal information algorithm.

  • It is now forbidden to add media to cleaned folders.

3.23.0

  • Changed the authorize/restore endpoint name from auth to auth_restore.

  • Added a new tag – video_selfie_oneshot.

  • Added the password validation setting (OZ_PASSWORD_POLICY).

  • Added auth, rest_unauthorized, rps_with_token throttling (use OZ_THROTTLING_RATES in configuration. Off by default).

  • User permissions are now used to access static files (OZ_USE_PERMISSIONS_FOR_STATIC in configuration, false by default).

  • Added a new folder endpoint – /delete_pi. It clears all personal information from a folder and analyses related to this folder.

3.22.2

  • Fixed a bug with no error while trying to synchronize empty collections.

  • If persons are uploaded, the analyse collection TFSS request is sent.

3.22.0

  • Added the fields_to_check parameter to document analysis (by default, all fields are checked).

  • Added the double_page_spread parameter to document analysis (True by default).

3.21.3

  • Fixed collection synchronization.

3.21.0

  • Authorization token can be now refreshed by expire_token.

3.20.1

  • Added support for application/x-gzip.

3.20.0

  • Renamed shots_set.images to shots_set.frames.

3.18.0

  • Added user sessions API.

  • Users can now change a folder owner (limited by permissions).

  • Changed dependencies rules.

  • Changed the access_token prolongation policy to fix bug of prolongation before checking the expiration permission.

3.16.0

  • Move oz_collection_binding (collection synchronization functional) to oz_core.

3.15.3

  • Simplified the shots sets functionality. One archive keeps one shot set.

3.15.2

  • Improved the document sides recognition for the docker version.

3.15.1

  • Moved the orientation tag check to liveness at quality analysis.

3.15.0

  • Added a default report template for Admin and Operator.

3.14.0

  • Updated the biometric model.

3.13.2

  • A new ShotsSet object is not created if there are no photos for it.

  • Updated the data exchange format for the documents' recognition module.

3.13.1

  • You can’t delete a Collection if there are associated analyses with Collection Persons.

3.13.0

  • Added time marks to analysis: time_task_send_to_broker, time_task_received, time_task_finished.

3.12.0

  • Added a new authorization engine. You can now connect with Active Directory by LDAP (settings configuration required).

3.11.0

  • A new type of media in Folders – "shots_set".

  • You can’t delete a CollectionPerson if there are analyses associated with it.

3.10.0

  • Renamed the folder field resolution_suggest to operator_status.

  • Added a folder text field operator_comment.

  • The folder fields operator_status and operator_comment can be edited only by Admin, Operator, Client Service, Client Operator, and Client Admin.

  • Only Admin and Client Admin can delete folder, folder media, report template, report template attachments, reports, and analyses (within their company).

3.9.0

  • Fixed a deletion error: when report author is deleted, their reports get deleted as well.

3.8.1

  • Client can now view only their own profile.

3.8.0

  • Client Operator can now edit only their profile.

  • Client can't delete own folders, media, reports, or analyses anymore.

  • Client Service can now create Collection Person and read reports within their company.

3.7.1

  • Client, Client Admin, Client Operator have read access to users profiles only in their company.

  • A/B testing is now available.

  • Added support for expiration date header.

  • Added document recognition module Standalone/Dockered binding support.

3.7.0

  • Added a new role of Client Operator (like Client Admin without permissions for company and account management).

  • Client Admin and Client Operator can change the analysis status.

  • Only Admin and Client Admin (for their company) can create, update and delete operations for Collection and CollectionPerson models from now on.

  • Added a check for user permissions to report template when creating a folder report.

  • Collection creation now returns status code 201 instead of 200.

Last updated

Was this helpful?