cURL
basic
curl --request POST \ --url https://api.useadmesh.com/agent/recommendations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "query": "best CRM for startups", "agent_id": "your_agent_id"}'
200
success
{ "recommendations": [ { "title": "HubSpot CRM", "reason": "Perfect for startups with its free tier and comprehensive features including contact management, deal tracking, and email integration.", "admesh_link": "https://useadmesh.com/r/hubspot-crm-abc123", "ad_id": "ad_123456789", "product_id": "hubspot_crm", "pricing": "Free tier available, paid plans from $45/month", "features": [ "Contact management", "Deal pipeline tracking", "Email integration", "Reporting dashboard" ], "description": "A comprehensive CRM platform designed for growing businesses", "has_free_tier": true, "trial_days": 14, "intent_match_score": 0.92, "offer_trust_score": 0.88, "brand_trust_score": 0.95 } ], "query_processed": "best CRM for startups", "total_recommendations": 1, "processing_time_ms": 245}
Test the AdMesh Recommendations API interactively
{ "query": "best CRM for startups", "agent_id": "your_agent_id" }
{ "query": "project management tools with time tracking", "agent_id": "your_agent_id" }
{ "query": "email marketing software for online stores", "agent_id": "your_agent_id" }
{ "query": "what about integrations with Slack?", "agent_id": "your_agent_id", "previous_query": "project management tools", "previous_summary": "We discussed project management solutions with time tracking features", "session_id": "user_session_123" }
admesh_prod_abc123xyz789
Enter your AdMesh API key (format: admesh_prod_abc123xyz789)
Successful response with recommendations
The response is of type object.
object