Documentation Index
Fetch the complete documentation index at: https://docs.getclaro.ai/llms.txt
Use this file to discover all available pages before exploring further.
All operations require authentication using Bearer tokens. Make sure you have
your API credentials ready.
Create New Rows Task
Generate and process new rows for your dataset with enrichment or AI generation.Create Bulk Processing Task
Process cells in your dataset with flexible targeting options. Process all empty cells, specific cells, entire columns/rows, or intersections of rows and columns.Get Task Status
Retrieve detailed information about a specific task and its progress.Cancel Task
Cancel a running or queued task. Only tasks inqueued or processing status can be cancelled.
Task Types and Operations
Data Enrichment Tasks
Enhance existing data with additional attributes and classifications.- New Rows: Generate new rows with enriched data based on dataset patterns
- Bulk Processing: Enrich specific cells, columns, or rows with missing attributes
Data Extraction Tasks
Extract structured data from unstructured sources.- New Rows: Process new documents and extract structured data
- Bulk Processing: Re-extract data from specific cells or update extraction results
Map Extraction Tasks
Extract location-based data within geographic boundaries.- New Rows: Find new locations within specified map boundaries
- Bulk Processing: Update location data for specific entries
AI Generation Tasks
Generate synthetic data using AI models.- New Rows: Create new synthetic rows based on existing dataset patterns
- Bulk Processing: Generate content for specific empty cells
Request Parameters
Create New Rows Task
| Parameter | Type | Required | Description |
|---|---|---|---|
rowCount | number | Yes | Number of new rows to generate (max: 10000) |
webhookId | string | No | Webhook ID for completion notification |
Create Bulk Processing Task
| Parameter | Type | Required | Description |
|---|---|---|---|
cellIds | array | No | Array of specific cell IDs to process |
columnIds | array | No | Array of column IDs to process |
rowIds | array | No | Array of row IDs to process |
processOnlyEmpty | boolean | No | Only process empty cells (default: true) |
webhookId | string | No | Webhook ID for completion notification |
Bulk Processing Logic
Target Selection Options:
- Process All Empty Cells: Omit all ID parameters to process all empty cells in the dataset
- Specific Cells: Use
cellIdsto target exact cells (cannot combine with row/column IDs) - Entire Columns: Use
columnIdsto process all cells in specified columns - Entire Rows: Use
rowIdsto process all cells in specified rows - Row-Column Intersection: Use both
rowIdsandcolumnIdsto process only cells at their intersection
Examples:
Task Status Values
| Status | Description |
|---|---|
queued | Task is waiting to be processed |
processing | Task is currently being executed |
completed | Task finished successfully |
failed | Task encountered an error and stopped |
cancelled | Task was cancelled by user request |
Dataset Locking
Datasets are automatically locked when a task is created and remain locked until the task completes, fails, or is cancelled. During this time:- No new tasks can be created on the dataset
- Dataset structure cannot be modified
- Data cannot be manually edited
- Other operations may be restricted
Webhook Notifications
When awebhookId is provided, the system will send HTTP POST notifications to the configured webhook URL upon task completion:
Error Codes
| Code | Description |
|---|---|
DATASET_LOCKED | Dataset is locked by another task |
DATASET_NOT_FOUND | Dataset doesn’t exist |
TASK_NOT_FOUND | Task doesn’t exist |
TASK_NOT_CANCELLABLE | Task cannot be cancelled in current state |
INVALID_SELECTION | Invalid cell/column/row selection |
QUOTA_EXCEEDED | Task creation limit reached |
WEBHOOK_NOT_FOUND | Specified webhook doesn’t exist |
Next Steps
Manage Datasets
View and manage your dataset structure and data
Manage Webhooks
Set up webhooks for task completion notifications