ConstraintsDiscover the available knobs

Discover the available knobs

The valid group_by and attribution values plus every default, so a consumer never has to guess an enum.

curl -X GET "https://mythic-analytics.gulp.workers.dev/client/v1/constraints/options" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": {
    "group_by": [
      "example_string"
    ],
    "attribution": [
      "example_string"
    ],
    "benchmark_params": [
      "example_string"
    ],
    "revenue_paths_probed": [
      "example_string"
    ],
    "defaults": {},
    "hints": {}
  }
}
GET
/client/v1/constraints/options
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Agency key (ak_) or location secret key (sk_). Scoped keys (mcp_) are accepted too and need constraints:read or constraints:write. See Using an mcp_ key over HTTP.

Agency key (ak_) or location secret key (sk_). Scoped keys (mcp_) are accepted too and need constraints:read or constraints:write. See Using an mcp_ key over HTTP.
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Agency key (ak_) or location secret key (sk_). Scoped keys (mcp_) are accepted too and need constraints:read or constraints:write. See Using an mcp_ key over HTTP.

Responses

successboolean
dataobject