Getting Started
Introduction
Introduction to the Linkd Search API
This API provides powerful search capabilities over user profile data stored in Google BigQuery. It leverages advanced Large Language Models (LLMs) to translate natural language queries into precise SQL queries, enabling flexible and intuitive data retrieval.
WebSocket-First API
The Linkd Search API now primarily uses WebSockets for real-time search capabilities. Our WebSocket API is fully documented using AsyncAPI specifications.
Core Functionality
- Natural Language Querying: Input your search criteria in plain English.
- LLM-Powered SQL Generation: The API uses a configured LLM (either Azure OpenAI or Cerebras) to understand your query and generate the appropriate SQL query to run against our BigQuery database.
- BigQuery Execution: The generated SQL is securely executed against the user profile dataset in BigQuery.
- Filtered Results: The API retrieves and returns the relevant user profiles based on your query.
API Overview
WebSocket API (Recommended)
The WebSocket API endpoint provides real-time search functionality with better performance and lower latency:
- Endpoint:
/api/search/ws
- Protocol: WebSocket (WSS)
- Documentation: This API is documented using AsyncAPI specification
For detailed documentation on messages, examples, and implementations, see the WebSocket API section.