Overview
Unstructured Datastores provide flexible NoSQL storage for any data type without schema requirements. Store strings, numbers, objects, or arrays - perfect for dynamic content, logs, and API responses.Creating a Datastore
API Endpoint
Request Body
name(required) - Display name for your datastoredescription(optional) - Description of what this datastore containstype(required) - Must be “datastore” for unstructured datastorescreatedBy(required) - Your provider IDcreatedByName(required) - Your display nametriggerUrls(optional) - Collection-level event triggersisStructured(optional) - Must befalseor omitted for unstructured datastores
isStructured: true is explicitly set.
Key Features
- No schema required - store any JSON structure
- Flexible content - strings, numbers, objects, arrays
- Fast search - fuzzy, exact, and prefix matching
- Event triggers - automate workflows on data changes
- Batch operations - create up to 500 items at once
- Multiple access methods - by key, key+sortField, or itemId
Basic Command Structure
CRUD Operations
Create Item
key(required) - Primary identifiercontent(required) - Any JSON structuresortField(optional) - Auto-generated if not providedmetadata(optional) - Custom tracking attributestriggerUrls(optional) - Event-driven webhooks
Batch Create
Create up to 500 items efficiently:- Keep batches under 100 items for best performance
- Larger batches (up to 500) may cause gateway timeouts
- Each item can have different structure
Read Items
By item ID (recommended):List Items
limit- Max results (default: 50, max: 1000)orderedBy- Sort by createdAt or updatedAt (e.g., “createdAt:desc”)format- Set to “light” for minimal data (excludes content)
Update Item
Full Replace (PUT) - Recommended for unstructured datastores Replaces the entire content field:Delete Item
By itemId (recommended):Search
Advanced search with fuzzy matching:q(required) - Search queryfield- Where to search: “all” (default), “content”, “key”, “sortField”type- Match type: “fuzzy” (default), “exact”, “prefix”threshold- Fuzzy sensitivity (0.0 strict to 1.0 lenient, default 0.3)limit- Max results (default: 50, max: 1000)compiled- Output as plain text (true) or JSON with snippets (false)
Key and Sort Field Patterns
The combination ofkey + sortField must be unique within a collection.
Pattern 1: Single Key (Auto-generated Sort)
Pattern 2: Key + Date Sort
Pattern 3: Key + Email Sort
Pattern 4: Key + Category Sort
Event Triggers
Automatically start workflows when data changes in your unstructured datastore. Triggers are collection-level only for unstructured datastores. Supported events:- onCreate - New items added
- onEdit - Existing items modified
- onDelete - Items removed
Common Use Cases
- Application logs and event tracking
- API response caching
- Configuration and settings storage
- Dynamic content management
- Queue systems and task processing
- Session data storage
- Temporary data and cache
- Flexible data structures that change over time
Best Practices
Key & Sort Field:- Use descriptive keys that group related items
- Use sortField for uniqueness within a group
- itemId is most efficient for direct access
- Keep content structure consistent within a collection for easier querying
- Use metadata for cross-cutting concerns (tags, timestamps, status)
- Use collection-level for system monitoring
- Use item-level for specific business logic
- Set
triggerChanges: falseto avoid recursive triggers
- Use batch operations for multiple creates
- Use format: “light” when you only need metadata
- Set appropriate limits to reduce payload size
Notes
- No schema validation - you can store any JSON structure
- Items uniquely identified by key + sortField combination
- Auto-generated sortField if not specified
- Search supports fuzzy matching for flexible queries
- PUT replaces entire content (use for strings, numbers, arrays, or full object replacement)
- PATCH merges content (only for object content, preserves unspecified fields)
- Collections can hold different content structures per item

