Overview
AR Flow
The Applicative Recursion workflow consists of four main steps:1. Create Bucket
First, you need to create a bucket that will contain your related queries. Endpoint:POST /buckets
Required Parameters:
aggregatorVersion
: The version of the aggregator to use (e.g., “snos_aggregator_0.13.2”)
externalId
: Custom identifier for the bucketnodeWidth
: Width of the node (integer)aggregatorParams
: Additional parameters for the aggregator
2. Submit Queries with Bucket ID
Once you have a bucket, you can submit multiple queries to it. Each query must include:bucketId
: The ID of the bucket you createdbucketJobIndex
: An incremental index (0, 1, 2, …) for each query in the bucket
POST /atlantic-query
AR-Specific Parameters:
bucketId
: The ID of the bucket to submit the query tobucketJobIndex
: The index of the job inside the bucket (must be sequential)
- Use the Swagger UI for submitting queries due to file upload limitations
- Job indices must be sequential (0, 1, 2, …)
3. Close Bucket
After submitting all your queries to the bucket, you need to close it to signal that no more queries will be added. Endpoint:POST /buckets/close
Parameters:
bucketId
: The ID of the bucket to close
4. Wait for Results
Once the bucket is closed, Atlantic will process all queries in the bucket and aggregate the results. You can monitor the bucket status using the get bucket endpoint. Bucket Status Values:OPEN
: Bucket is open and accepting queriesIN_PROGRESS
: Bucket is closed and processing queriesDONE
: All queries in the bucket have been processed successfullyFAILED
: One or more queries in the bucket failed
Managing AR Buckets
You can view and manage your Applicative Recursion buckets through the Herodotus Cloud console. The interface provides a comprehensive view of all your buckets with their current status and details.
Bucket Details View
When you select a specific bucket, you can see its details.
Bucket Tree Structure
The Applicative Recursion system creates a tree-like structure.