GET
/
plan-entitlements
curl --request GET \
  --url https://api.schematichq.com/plan-entitlements \
  --header 'X-Schematic-Api-Key: <api-key>'
{
  "data": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "environment_id": "<string>",
      "feature": {
        "created_at": "2023-11-07T05:31:56Z",
        "description": "<string>",
        "event_subtype": "<string>",
        "feature_type": "<string>",
        "id": "<string>",
        "lifecycle_phase": "<string>",
        "name": "<string>",
        "trait_id": "<string>",
        "updated_at": "2023-11-07T05:31:56Z"
      },
      "feature_id": "<string>",
      "id": "<string>",
      "metric_period": "<string>",
      "plan": {
        "created_at": "2023-11-07T05:31:56Z",
        "description": "<string>",
        "id": "<string>",
        "name": "<string>",
        "plan_type": "<string>",
        "updated_at": "2023-11-07T05:31:56Z"
      },
      "plan_id": "<string>",
      "rule_id": "<string>",
      "updated_at": "2023-11-07T05:31:56Z",
      "value_bool": true,
      "value_numeric": 123,
      "value_trait": {
        "created_at": "2023-11-07T05:31:56Z",
        "display_name": "<string>",
        "entity_type": "<string>",
        "hierarchy": [
          "<string>"
        ],
        "id": "<string>",
        "trait_type": "<string>",
        "updated_at": "2023-11-07T05:31:56Z"
      },
      "value_trait_id": "<string>",
      "value_type": "<string>"
    }
  ],
  "params": {
    "feature_id": "<string>",
    "feature_ids": [
      "<string>"
    ],
    "ids": [
      "<string>"
    ],
    "limit": "100",
    "offset": "0",
    "plan_id": "<string>",
    "plan_ids": [
      "<string>"
    ],
    "q": "<string>"
  }
}

Authorizations

X-Schematic-Api-Key
string
headerrequired

Query Parameters

feature_id
string
feature_ids
string[]
ids
string[]
plan_id
string
plan_ids
string[]
q
string
limit
integer

Page limit (default 100)

offset
integer

Page offset (default 0)

Response

200 - application/json
data
object[]
required

The returned resources

params
object
required

Input parameters