Get started
Make your first connection.
Choose your tool. Follow the setup. Know what to look for when it works.
Have an AI agent?
Copy the setup prompt into your agent, or open it there directly. Chat apps install Redpine from their own directories.
For your agents
What are you connecting?
Set up cURL
Start with a sandbox key (sk_test_) to test the request with synthetic results at no cost. Create the key in your dashboard, then paste it into your local setup.
Open API keysReplace my-collection with a collection your key can access, and your search query with your question. About collections
Put your API key in your environment:
export REDPINE_API_KEY=sk_test_YOUR_SANDBOX_KEYMake your first request:
curl -X POST "https://api.redpine.ai/api/v1/search/query" \ -H "Authorization: Bearer $REDPINE_API_KEY" \ -H "Content-Type: application/json" \ -d '{"collection": "my-collection", "query": "your search query"}'
Check it works
Your request should return a results array. With a sandbox key, result IDs start with sandbox- and their metadata includes synthetic: true.
That confirms the request is working. Sandbox results are test data; use a live key when you are ready to search real content.
Having trouble connecting?
- Check that you have completed sign-in and selected the right organization.
- Check that your key is current and has access to the collection you requested.
- Open the instructions for cURL or look up the API error.