Search
Interfaces
Search
Find the best tool for a development task
POST
Search
The core endpoint. An AI reasoning agent analyzes your query against the catalog and returns the best match with an explanation and install instructions.
Every matched response is complete and actionable — install steps, env vars, and a tracked click link are included when the recommended service has a destination URL.
The Index remembers the previous conversation and answers in context.
Authentication
Send your publisher key as theX-API-Key header or as the platform_api_key body field. One of the
two is required.
string
Publisher API key. Alternative to the
platform_api_key body field.Request
string
required
What you need. Natural language — e.g. “serverless database with free tier” or “auth for Next.js with SSO”
string
Pass a
search_id from a previous response to ask a follow-up question. The Index maintains conversation context.object
Additional project context. Framework, language, constraints, etc.
string
Publisher API key for attribution. Alternative to the
X-API-Key header — send one or the other.string
Your stable chat/session ID. Stored for attribution and payout matching; not used for recommendation reasoning.
string
Hash of your user ID. Prefer this over sending a raw user identifier.
string
Optional raw user ID. Gravity stores only a SHA-256 hash.
string
SHA-256 of the user’s normalized email (
email.strip().lower()), when available. This is the canonical field and matches the ad request convention. The legacy email_hash field is still accepted as an alias.object
Non-sensitive publisher metadata such as surface, workspace, plan, or placement. Stored with the search for attribution/debugging; not used in the LLM prompt.
object
Optional private publisher ranking controls. Requires
platform_api_key. Supported mode: boost_cpa — relevance-first ranking that gives a small boost to services with an active CPA campaign. Omit (or use off) for pure relevance. Economics are not returned in the response.Response
string
Unique ID for this search. Pass it back for follow-ups.
object
The recommended service.
string
Why this tool is the best fit for your specific query. Natural language explanation.
object
Structured install instructions the agent can execute.
object
Explicit handoff instructions for credentials the human user must fetch.
string
Tracked short link the user visits to get their API credentials.
string
Gravity Index click ID minted for the tracked click link.

