Data
Verify that a data record satisfies a JSON schema without saving it to the database.
Required scope: user-data
Enter JWT access token
DTO for verifying data against a JSON schema, can have any properties in additional to the required schemaUri
URL to JSON schema for validation
https://example.com/schemas/memory.jsonValidation completed
Unauthorized
Internal server error
Get Data Records
This endpoint provides skip-based pagination for querying data records.
Key Features
Pagination: Uses page numbers and limits for simple pagination
Flexible filtering: Support for complex MongoDB-style filter (passed as URL-encoded JSON)
Simple sorting: Sort by predefined fields with asc/desc order
Usage Examples
First Page Request
GET /data/v1/memories?page=1&limit=20&filter=%7B%22status%22%3A%22active%22%7D&sortBy=createdAt&sortOrder=desc
Next Page Request
GET /data/v1/memories?page=2&limit=20&filter=%7B%22status%22%3A%22active%22%7D&sortBy=createdAt&sortOrder=desc
Sort by Updated Date
GET /data/v1/memories?page=1&limit=10&sortBy=updatedAt&sortOrder=asc
Filter Examples
Simple filter:
{ "status": "active" }Date range filter:
{ "createdAt": { "$gte": "2025-01-01T00:00:00.000Z" } }ObjectId filter:
{ "id": "507f1f77bcf86cd799439011" }Complex filter:
{ "$and": [{ "status": "active" }, { "priority": { "$gte": 5 } }] }
Required scope: user-data
Enter JWT access token
Collection to look into
memoriesMongoDB-style filter object (passed as URL-encoded JSON string)
{ "status": "active" }Field to sort by
createdAtPossible values: Sort order
descPossible values: Number of records to return (1-100)
20Page number (1-based)
1Query executed successfully
Invalid query parameters
Unauthorized
Internal server error
Creates a new record in the specified collection.
Required scope: user-data
Enter JWT access token
Collection to create the record into
memoriesDTO for creating a new record, can have any properties in addition to the schemaUri used for validation.
URL to JSON schema for validation
https://example.com/schemas/memory.jsonData record created successfully
Invalid request or data validation failed (if a validation schema is provided)
Unauthorized
Internal server error
Retrieves a single data record by its unique identifier for a given collection.
Required scope: user-data
Enter JWT access token
Collection to look into
memoriesID of the data record to retrieve
66bd3762c23f9e3f152fb4d1Data record retrieved successfully
Unauthorized
Record not found
Internal server error
Updates an existing data record.
Required scope: user-data
Enter JWT access token
Collection the record belongs to
memoriesID of the data record to update
66bd3762c23f9e3f152fb4d1DTO for updating an existing record, can have any properties in addition to the optional schemaUri used for validation.
URL to JSON schema for validation
https://example.com/schemas/memory.jsonData record updated successfully
Invalid request or data validation failed (if a validation schema is provided)
Unauthorized
Record not found
Internal server error
Deletes a data record from the specified collection by its unique identifier.
Required scope: user-data
Enter JWT access token
Collection the record belongs to
memoriesID of the data record to delete
66bd3762c23f9e3f152fb4d1Data record deleted successfully
Unauthorized
Record not found
Internal server error
No content
Last updated

