curl --request GET \
--url https://api.kombify.io/v1/entitlements/flags \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.kombify.io/v1/entitlements/flags"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.kombify.io/v1/entitlements/flags', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.kombify.io/v1/entitlements/flags",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.kombify.io/v1/entitlements/flags"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.kombify.io/v1/entitlements/flags")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kombify.io/v1/entitlements/flags")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"schema": "kombify.flags.current.v1",
"tool": "homelab",
"flags": {
"example.preview": true
},
"complete": true,
"expires_at": "2026-11-11T18:02:00.000Z"
}Read the signed-in person's effective display flags
Display hints only; backend enforcement remains authoritative. Requires the person’s own first-party Auth0 bearer through the shared validator and own-token admission, narrowed to the configured API audience and existing shared first-party approval-surface and Connect native registries, plus configured device/CLI clients. Issuer comes from the shared entitlement validator (MCP_AUTH0_ISSUER, otherwise AUTH0_ISSUER). Customer MCP audiences (including mixed API/MCP), unmapped clients, demo, service, machine, API-key, delegated, actor-marked (including staff impersonation), agent and external-client identities are refused. Only tool and repeated keys are accepted; subject and context come exclusively from the verified bearer, never identity headers.
tool selects a backend projection of this caller’s own flags, granting no tool access. Uses the current entitlement projection and the existing Flagship/KV evaluation with cached subject preview preference, tester-group and account overrides. Uses the same backend projection function as signed hops: Homelab runtime values reflect exact raw entitlements, Cloud’s synthetic preview key is Gateway-sourced. Admitted signed-catalog MCP surfaces add policy keys with the same evaluation and merge used in MCP preflight. The client names its keys: 1–50 repeated keys parameters, each matching ^[a-z0-9][a-z0-9._:-]$. Missing, empty, malformed or over-limit keys, comma-separated lists, invalid/duplicate tool or any other parameter return 400. Only requested final provider-sourced boolean values are returned after projection; provider false remains false. Missing, unevaluated, KV-default or Gateway-granted keys are absent. Budgets, entitlements, identity context and signatures are excluded. Unrequested definitions, including operational-looking ones, are never returned. tool selects the backend projection only, not definition ownership. Requested keys use the evaluator’s existing normalization and aliases; response property names preserve the requested spellings. The read evaluates the requested keys only and reads no budget, so a display read waits for those key evaluations instead of every registered flag key and budget. DEFAULT is omitted. ERROR is omitted and incomplete. FLAG_NOT_FOUND is omitted without making the result incomplete; other errors are omitted and incomplete. Other reasons (including STATIC, TARGETING_MATCH or absent reason) with no error code remain provider-sourced. Missing provider details make the result incomplete.
complete describes flags only: failed/timed-out boolean provider reads, an existing preview source or required policy projection make it false. Budget/sponsor failures do not. Completeness describes the flags this answer carries (the requested keys and an admitted MCP policy’s keys), not every registered flag key. A missing preview binding means no preview source. KV fallback values are excluded, so a fallback-KV failure alone cannot invalidate successful provider flags; catalog-KV failures still invalidate a required policy projection. Complete responses expire in 120 seconds; incomplete responses expire in 15 seconds. Fetch at sign-in with the displayed tool and the keys that client renders. Store only complete maps in the session, bound to the requested key set, and refresh by expires_at; on complete:false keep the previous complete map and retry at expires_at. Without a previous map use built-in defaults. Clear on sign-out/account change. Offline and self-hosted clients keep built-in defaults. The 120-second lifetime bounds staff-change display lag (plus the preview cache’s existing 30 seconds); 15 seconds avoids treating a transient outage as a two-minute decision. HTTP storage is disabled.
Uses the interactive limiter: one pre-auth flood token and one verified tenant/subject token per admitted GET. Unlike /current, Vary explicitly names Authorization and Origin as defense in depth for the personal payload; no-store and static * CORS make it redundant.
curl --request GET \
--url https://api.kombify.io/v1/entitlements/flags \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.kombify.io/v1/entitlements/flags"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.kombify.io/v1/entitlements/flags', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.kombify.io/v1/entitlements/flags",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.kombify.io/v1/entitlements/flags"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.kombify.io/v1/entitlements/flags")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kombify.io/v1/entitlements/flags")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"schema": "kombify.flags.current.v1",
"tool": "homelab",
"flags": {
"example.preview": true
},
"complete": true,
"expires_at": "2026-11-11T18:02:00.000Z"
}Abfrageparameter
Antwort
The caller's display hints, valid until expires_at
