Download OpenAPI specification:
These APIs enables you to manage and monitor the Enterprise Analytics Service.
Cancels an active request.
client_context_id required | string Identifier passed by the client that is used to identify an active request to be cancelled. |
{ }
Gets a list of the analytic requests that are running.
[- {
- "cancellable": true,
- "clientContextID": "28379d60-7139-44d6-b57a-95935540b586",
- "elapsedTime": 0.126,
- "jobCreateTime": "2024-05-28T19:47:02.512",
- "jobId": "JID:0.14",
- "jobQueueTime": 0,
- "jobRequiredCPUs": 1,
- "jobRequiredMemory": 34013184,
- "jobStartTime": "2024-05-28T19:47:02.514",
- "jobStatus": "RUNNING",
- "plan": "string",
- "node": "172.20.0.2:8095",
- "remoteAddr": "172.20.0.123:53612",
- "requestTime": "2024-05-28T19:44:07.730",
- "scanConsistency": "not_bounded",
- "state": "running",
- "statement": "select count(*) from hotel_endorsement_view;",
- "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:126.0) Gecko/20100101 Firefox/126.0",
- "users": "Administrator",
- "uuid": "91f60338-a3e0-4163-9287-5e723fda29ef"
}
]
Gets a list of all completed analytic requests.
[- {
- "cancellable": true,
- "clientContextID": "28379d60-7139-44d6-b57a-95935540b586",
- "elapsedTime": 0.126,
- "jobCreateTime": "2024-05-28T19:47:02.512",
- "jobId": "JID:0.14",
- "jobQueueTime": 0,
- "jobRequiredCPUs": 1,
- "jobRequiredMemory": 34013184,
- "jobStartTime": "2024-05-28T19:47:02.514",
- "jobStatus": "RUNNING",
- "plan": "string",
- "node": "172.20.0.2:8095",
- "remoteAddr": "172.20.0.123:53612",
- "requestTime": "2024-05-28T19:44:07.730",
- "scanConsistency": "not_bounded",
- "state": "running",
- "statement": "select count(*) from hotel_endorsement_view;",
- "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:126.0) Gecko/20100101 Firefox/126.0",
- "users": "Administrator",
- "uuid": "91f60338-a3e0-4163-9287-5e723fda29ef"
}
]
Shows various details about the current status of the Enterprise Analytics Service, such as the service state, and the state of each node partition.
{- "authorizedNodes": [
- "86586a966202b5aa4aed31633f330aba",
- "948fb3af810a9b7bc6c76e2a69ba35d9"
], - "ccNodeId": "86586a966202b5aa4aed31633f330aba",
- "nodeConfigUri": "/api/v1/config/node",
- "nodeDiagnosticsUri": "/api/v1/node/diagnostics",
- "nodeRestartUri": "/api/v1/node/restart",
- "serviceRequestUri": "/api/v1/request",
- "serviceConfigUri": "/api/v1/config/service",
- "serviceRestartUri": "/api/v1/service/restart",
- "state": "ACTIVE",
- "nodes": [
- {
- "nodeId": "86586a966202b5aa4aed31633f330aba",
- "nodeName": "192.168.8.101:8091"
}
], - "partitions": [
- {
- "active": true,
- "activeNodeId": "86586a966202b5aa4aed31633f330aba",
- "iodeviceNum": 0,
- "nodeId": "86586a966202b5aa4aed31633f330aba",
- "partitionId": 0,
- "path": "/data/@analytics/v_iodevice_0",
- "pendingActivation": false
}
], - "partitionsTopology": {
- "balanced": true,
- "ccNodeId": "86586a966202b5aa4aed31633f330aba",
- "metadataPartition": -1,
- "numReplicas": 1,
- "revision": 1,
- "version": 1,
- "partitions": [
- {
- "id": 0,
- "master": "86586a966202b5aa4aed31633f330aba",
- "origin": "86586a966202b5aa4aed31633f330aba"
}
]
}
}
Shows the progress of ingestion for each collection.
{- "links": [
- {
- "name": "Local",
- "scope": "travel-sample/inventory",
- "status": "healthy",
- "state": [
- {
- "timestamp": 1631273689161,
- "progress": 0,
- "timeLag": 9744,
- "itemsProcessed": 12301,
- "seqnoAdvances": 61,
- "scopes": [
- {
- "name": "travel-sample/inventory",
- "collections": [
- {
- "name": "route"
}
]
}
]
}
]
}
]
}