{
  "info": {
    "_postman_id": "92234e8a-be31-4afb-92b0-101b72249e54",
    "name": "WunderGraph Cosmo Platform Analytics Feature Flags API",
    "description": "The WunderGraph Cosmo Platform API provides programmatic access to manage federated GraphQL architectures at scale. It powers the Cosmo CLI (wgc) and Cosmo Studio, enabling management of federated graphs, subgraphs, namespaces, schema contracts, feature flags, router configurations, and API keys. The API uses Connect-RPC protocol with HTTP/JSON support. Cosmo is the open-source alternative to Apollo GraphOS for full lifecycle GraphQL federation management including schema registry, composition checks, analytics, metrics, tracing, and routing.\n\nContact Support:\n Name: WunderGraph",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:35:39.000Z",
    "updatedAt": "2026-07-28T03:35:39.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-92234e8a-be31-4afb-92b0-101b72249e54"
  },
  "item": [
    {
      "name": "v1",
      "item": [
        {
          "name": "feature-flags",
          "item": [
            {
              "name": "WunderGraph List feature flags",
              "id": "4b08929f-aa0a-42b3-9b70-513b19b65bf4",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "auth": {
                  "type": "apikey",
                  "apikey": [
                    {
                      "key": "key",
                      "value": "Authorization",
                      "type": "string"
                    },
                    {
                      "key": "value",
                      "value": "{{apiKey}}",
                      "type": "string"
                    },
                    {
                      "key": "in",
                      "value": "header",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/feature-flags?namespace=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "feature-flags"
                  ],
                  "query": [
                    {
                      "description": "Filter by namespace name.",
                      "key": "namespace",
                      "value": "<string>"
                    }
                  ]
                },
                "description": "Lists all feature flags in the organization for managing gradual rollout of graph changes."
              },
              "response": [
                {
                  "id": "e155a504-404e-4a51-a49b-4cafef68f4dc",
                  "name": "Successful response",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "Authorization",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/v1/feature-flags?namespace=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "feature-flags"
                      ],
                      "query": [
                        {
                          "description": "Filter by namespace name.",
                          "key": "namespace",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"featureFlags\": [\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"namespace\": \"<string>\",\n      \"isEnabled\": \"<boolean>\",\n      \"featureSubgraphNames\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"labels\": [\n        {\n          \"key\": \"<string>\",\n          \"value\": \"<string>\"\n        },\n        {\n          \"key\": \"<string>\",\n          \"value\": \"<string>\"\n        }\n      ],\n      \"createdAt\": \"<dateTime>\",\n      \"updatedAt\": \"<dateTime>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"namespace\": \"<string>\",\n      \"isEnabled\": \"<boolean>\",\n      \"featureSubgraphNames\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"labels\": [\n        {\n          \"key\": \"<string>\",\n          \"value\": \"<string>\"\n        },\n        {\n          \"key\": \"<string>\",\n          \"value\": \"<string>\"\n        }\n      ],\n      \"createdAt\": \"<dateTime>\",\n      \"updatedAt\": \"<dateTime>\"\n    }\n  ]\n}",
                  "createdAt": "2026-07-28T03:35:39.000Z",
                  "updatedAt": "2026-07-28T03:35:39.000Z",
                  "uid": "35240-e155a504-404e-4a51-a49b-4cafef68f4dc"
                }
              ],
              "createdAt": "2026-07-28T03:35:39.000Z",
              "updatedAt": "2026-07-28T03:35:39.000Z",
              "uid": "35240-4b08929f-aa0a-42b3-9b70-513b19b65bf4"
            },
            {
              "name": "WunderGraph Create a feature flag",
              "id": "9cad2096-6d0f-4d42-a775-e80cb709720f",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "auth": {
                  "type": "apikey",
                  "apikey": [
                    {
                      "key": "key",
                      "value": "Authorization",
                      "type": "string"
                    },
                    {
                      "key": "value",
                      "value": "{{apiKey}}",
                      "type": "string"
                    },
                    {
                      "key": "in",
                      "value": "header",
                      "type": "string"
                    }
                  ]
                },
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\",\n  \"featureSubgraphNames\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"namespace\": \"<string>\",\n  \"isEnabled\": \"<boolean>\",\n  \"labels\": [\n    {\n      \"key\": \"<string>\",\n      \"value\": \"<string>\"\n    },\n    {\n      \"key\": \"<string>\",\n      \"value\": \"<string>\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/feature-flags",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "feature-flags"
                  ]
                },
                "description": "Creates a new feature flag for enabling gradual rollout of feature subgraphs to federated graphs."
              },
              "response": [
                {
                  "id": "32220abb-a8e2-47a6-a706-5e04523927e0",
                  "name": "Feature flag created successfully",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "Authorization",
                        "value": "<API Key>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"name\": \"<string>\",\n  \"featureSubgraphNames\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"namespace\": \"<string>\",\n  \"isEnabled\": \"<boolean>\",\n  \"labels\": [\n    {\n      \"key\": \"<string>\",\n      \"value\": \"<string>\"\n    },\n    {\n      \"key\": \"<string>\",\n      \"value\": \"<string>\"\n    }\n  ]\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/v1/feature-flags",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "feature-flags"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"success\": \"<boolean>\",\n  \"message\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T03:35:39.000Z",
                  "updatedAt": "2026-07-28T03:35:39.000Z",
                  "uid": "35240-32220abb-a8e2-47a6-a706-5e04523927e0"
                }
              ],
              "createdAt": "2026-07-28T03:35:39.000Z",
              "updatedAt": "2026-07-28T03:35:39.000Z",
              "uid": "35240-9cad2096-6d0f-4d42-a775-e80cb709720f"
            }
          ],
          "id": "ef69889e-0d1d-4535-a3f1-fe8626ed48ba",
          "createdAt": "2026-07-28T03:35:39.000Z",
          "updatedAt": "2026-07-28T03:35:39.000Z",
          "uid": "35240-ef69889e-0d1d-4535-a3f1-fe8626ed48ba"
        }
      ],
      "id": "8dbaf47e-cc5b-43fc-a7fe-1c7ada13a1e9",
      "createdAt": "2026-07-28T03:35:39.000Z",
      "updatedAt": "2026-07-28T03:35:39.000Z",
      "uid": "35240-8dbaf47e-cc5b-43fc-a7fe-1c7ada13a1e9"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://cosmo-cp.wundergraph.com"
    }
  ]
}