Linkup
Linkup is a web search API that returns sourced answers grounded in real-time web data. Use it through the Respan gateway to ground LLM completions with fresh information, rendered into your prompts via template variables.
Set up Respan
Create an account at platform.respan.ai and grab an API key. For gateway, also add credits or a provider key.
Run npx @respan/cli setup to set up with your coding agent.
Gateway
Linkup is a gateway-only integration. Calls run through the Respan gateway and are automatically traced.
Setup
Template variables
Use Jinja2 syntax to render Linkup responses in your messages. See the Jinja2 docs.
Parameters
Response structure
Error handling
If the Linkup API call fails, the error is added to warnings_dict in the response under the key LINKUP_SEARCH_ERROR.