Skip to content

ChatGPT / Custom GPTs

ChatGPT doesn't support MCP natively. Use the REST API directly instead.

Same data, different interface

The REST API gives you access to the same 1,600+ tests. You just call HTTP endpoints instead of MCP tools.

Base URL & Headers

Base URL: https://nlnbbquyqrbkgaitbbgk.supabase.co

Include these headers with every request:

apikey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im5sbmJicXV5cXJia2dhaXRiYmdrIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzE2NzcxODMsImV4cCI6MjA4NzI1MzE4M30.Kf_4ci_NVx6m8KCLnEP7Gj_GoygZ-PKbK1mHmITq77M
Authorization: Bearer <same key as above>
Content-Type: application/json

For Custom GPTs

Paste the API details into your GPT's Actions configuration. Use the OpenAPI spec format — the endpoints below map directly.

http
POST /rest/v1/rpc/search_tests
json
{
  "query_text": "social proof pricing",
  "max_results": 15
}

Optional filters: "section_filter", "result_filter", "principle_filter"

http
POST /functions/v1/semantic-search
json
{
  "query": "how to make users trust a SaaS pricing page",
  "max_results": 10,
  "threshold": 0.35
}

Browse by Section

http
GET /rest/v1/ab_tests?select=title,result,uplift_percent,key_insight,actionable_rule,element_tested,psychological_principle&website_section=eq.hero&result=eq.winner&limit=20

Sections: hero, cta, trust, product_demo, differentiation, global, doors, resources

Get a Specific Test

http
GET /rest/v1/ab_tests?id=eq.{uuid}&select=*

Response Fields

FieldDescription
titleTest name
resultwinner, loser, or inconclusive
uplift_percentConversion uplift (27 = +27%)
website_sectionWhere on the page
element_testedWhat was changed
key_insightWhat we learned
actionable_ruleWhat to do based on this
psychological_principleWhy it works
control_descriptionVersion A
variation_descriptionVersion B

See the full REST API reference for more.

A/B Test Library by klickstark