List feature gates
Returns a single page of gates ordered by updated_at desc, id desc. Use the cursor query parameter to paginate.
Returns a single page of gates ordered by updated_at desc, id desc. Use the cursor query parameter to paginate.
Snapshot every gate in the project — for example to render an admin overview or to drive a CI check that asserts no gate is left at 100% in staging.
Authorization
bearerSdkKey Pass an admin SDK key as Authorization: Bearer sdk_admin_…. Mint via POST /api/admin/keys with type: "admin".
In: header
Query Parameters
Page size (1–500). Defaults to 100.
1001 <= value <= 500Opaque cursor returned in the previous page's next_cursor. Omit for the first page.
Case-insensitive substring filter across the resource's human-readable text columns (e.g. name, title, description). OR-matched across those columns; omit to return everything.
length <= 100Header Parameters
Project the request operates on. Optional — defaults to the project the SDK key belongs to; pass it only to scope a multi-project key (the generated client sets it once from its configuration, so per-call callers never thread it).
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://shipeasy.ai/api/admin/gates"{
"data": [
{
"id": "gat_01j7w7m9q4hxbf6npe6s9zr3vc",
"name": "checkout_v2",
"enabled": 1,
"rolloutPct": 5000,
"rules": [
{
"attr": "country",
"op": "in",
"value": [
"US",
"CA",
"GB"
]
},
{
"attr": "plan",
"op": "neq",
"value": "free"
}
],
"salt": "9c1f4f1f2c0c4a5fa1c2b6d3e7c8e3a1",
"title": "Checkout v2",
"description": "New checkout flow. Pro users in US/CA/GB only.",
"folder": "checkout",
"groupName": "growth",
"ownerEmail": "ana@example.com",
"stack": null,
"creatorEmail": "ana@example.com",
"updaterEmail": "bo@example.com",
"version": 4,
"createdAt": "2026-05-01T10:12:00.000Z",
"updatedAt": "2026-05-09T16:01:22.000Z"
}
],
"next_cursor": null
}{
"error": "Malformed request (bad JSON, missing project scope).",
"code": "BAD_REQUEST"
}{
"error": "Missing or invalid admin SDK key.",
"code": "UNAUTHORIZED"
}{
"error": "Key is valid but not allowed to act on this project.",
"code": "FORBIDDEN"
}{
"error": "The resource does not exist or is not visible to the caller.",
"code": "NOT_FOUND"
}{
"error": "A resource with this name already exists in the project.",
"code": "ALREADY_EXISTS"
}{
"error": "The request body failed structural (schema) validation.",
"code": "VALIDATION"
}