Skip to content

[M3] gRPC/REST query API server #9

@Fosurero

Description

@Fosurero

Description

Expose the query optimizer via network APIs so external services and AI agents can query indexed NEAR data remotely.

Tasks

  • tonic gRPC server with QueryService RPC
  • REST API with axum (JSON responses)
  • Endpoints: /query, /query/temporal, /stats
  • Authentication (API key)
  • Rate limiting
  • OpenAPI / Protobuf schema

Acceptance Criteria

  • grpcurl and curl can query the running server
  • Query latency overhead < 5 ms over in-process calls

Metadata

Metadata

Assignees

No one assigned

    Labels

    M3Milestone 3: Production + AI-Agent SDKenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions