If you’re a platform publisher embedding the Index in your own agent, pass your publisher key and every install will attribute to your account for CPA revenue share:
Search for the best tool for a development task. Returns a reasoned recommendation with install instructions and a setup link.
Parameter
Type
Required
Description
query
string
Yes
What you need — e.g. "serverless database with free tier"
search_id
string
No
Continue a previous search (follow-up)
Example:
User: "I need a database for my project."Agent: gravity_index_search({ query: "database" }) → "I recommend Neon — serverless Postgres with a free tier. 1. npm install @neondatabase/serverless 2. Create lib/db.ts 3. Visit https://index.trygravity.ai/go/xKHR2xq for credentials"
Record a conversion when the agent finishes an install without the user clicking the setup link. Accepts the search_id from a prior search and the slug of the service that was actually integrated.