Asynchronous Analysis Overview
When a Record is created or updated, the Brick API performs various analyses asynchronously. This means that the analyses are processed in the background, and results are not immediately available. To handle the completion of these analyses, clients need to use webhooks or make periodic GET requests to retrieve the results (strongly not recommended).
Asynchronous Analysis Workflow
- Record Creation/Update: When a record is created or updated with the specified bundles, the Brick API triggers the relevant analyses asynchronously.
- Processing Time: The analyses are processed in the background. Depending on the type and number of analyses, this can take some time.
- Retrieving Results: Clients can retrieve the results of these analyses either by:
- Webhooks: Registering a webhook to receive notifications when an analysis is complete.
- Polling: Making periodic GET requests to check the status of the analyses. (strongly not recommended).