Deduplication API
- Base URL:
https://deduplication.sls.epilot.io - API Docs: https://docs.epilot.io/api/deduplication
Backend for Epilot Deduplication feature
Quick Start​
# List available operations
epilot deduplication
# Call an operation
epilot deduplication deduplicate
Common Flags​
| Flag | Description |
|---|---|
-p key=value | Set a named parameter |
-d '{...}' | Request body JSON |
-H 'Key: Value' | Custom header |
-t, --token <token> | Bearer token for authentication |
--profile <name> | Use a named profile |
-s, --server <url> | Override server base URL |
-i, --include | Include response headers in output |
--json | Output raw JSON (no formatting) |
-v, --verbose | Verbose output (show request details) |
--jsonata <expr> | JSONata expression to transform response |
--definition <file> | Override OpenAPI spec file/URL |
--guided | Prompt for all parameters interactively |
--no-interactive | Disable interactive prompts |
Operations​
deduplicate— Deduplicates Entities
deduplicate​
Deduplicates Entities
POST /v1/deduplicate
Request Body
Sample Call
epilot deduplication deduplicate \
-d '[{"toKeep":"string","toDelete":["string"]}]'
Using stdin pipe:
cat body.json | epilot deduplication deduplicate
With JSONata filter:
epilot deduplication deduplicate --jsonata '$'
Sample Response
[
{
"_id": "string",
"_org": "string",
"_schema": "string",
"_created_at": "1970-01-01T00:00:00.000Z",
"_updated_at": "1970-01-01T00:00:00.000Z",
"_created_by": "string",
"created_by": "string",
"_tags": ["string"],
"_acl": {},
"_owners": [
{
"org_id": "string",
"user_id": "string"
}
],
"type": "string"
}
]