Download OpenAPI specification:Download
Index projection matching service.
Perform matching request across indexed collection
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a request identifier. |
| projection_id required | string <uuid> ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]... Projection ID. |
required | any Matching reference. |
required | object (candidate) |
{- "projection_id": "557d54ec-29ad-4f3c-93b4-c9092ef12515",
- "reference": {
- "type": "raw_descriptor",
- "data": {
- "descriptor": "string",
- "version": 0
}
}, - "candidate": {
- "origin": "events",
- "filters": [
- {
- "path": "source",
- "op": "eq",
- "value": "moscow"
}
], - "limit": 3,
- "threshold": 0
}
}{- "result": [
- {
- "payload": {
- "age": 35,
- "source": "moscow",
- "create_time": "2025-08-13T11:36:41.674Z"
}, - "similarity": 0.99
}, - {
- "payload": {
- "age": 37,
- "source": "moscow",
- "create_time": "2025-09-23T04:14:45.324Z"
}, - "similarity": 0.88
}
]
}Get info on all the projections & indexes available to search by
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a request identifier. |
{- "projections": [
- {
- "projection_id": "157342d0-6f7e-4d62-ba56-4362b43201f7",
- "indexes": [
- [
- "source",
- "age"
], - [
- "user_data",
- "external_id"
]
]
}
]
}Get service OpenApi documentation. If Accept request header is of type application/x-yaml,
returns documentation in yaml format or returns html documentation, if Accept-Type is text/html
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a request identifier. |
| Accept required | string Enum: "application/x-yaml" "text/html" acceptable type of receiving data |
{- "error_code": 12024,
- "detail": "Bad/incomplete input data",
- "desc": "Unsupported media type",
}Get sphinx documentation - Development Manual. After the request you will be redirected to the page /docs/dev/index.html
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a request identifier. |
{- "error_code": 1,
- "detail": "Internal server error",
- "desc": "Internal server error",
}Get service configuration. Passwords and tokens will be hidden in the response.
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a request identifier. |
| Accept | string Enum: "application/json" "text/plain" acceptable type of receiving data |
{- "INFLUX_MONITORING": {
- "SEND_DATA_FOR_MONITORING": 0,
- "VERSION": 2,
- "ORGANIZATION": "ORGANIZATION_NAME",
- "TOKEN": "********",
- "BUCKET": "luna_monitoring",
- "HOST": "127.0.0.1",
- "PORT": 8086,
- "USE_SSL": 0,
- "FLUSHING_PERIOD": 1
}
}Get statistics of success and failed requests to the service in prometheus format.
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a request identifier. |
# HELP request_count_total Counter of requests # TYPE request_count_total counter request_count_total{path="GET:/healthcheck",status_code="200"} 1.0
get health of service
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a request identifier. |
{- "execution_time": 0.123
}get service version
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a request identifier. |
{- "Version": {
- "api": 0,
- "major": 0,
- "minor": 0,
- "patch": 0
}
}