{
  "info": {
    "_postman_id": "3e6c8616-de8a-46f7-afad-2e7d6841c4b9",
    "name": "PostHog actions managed_viewsets API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T11:07:44.000Z",
    "updatedAt": "2026-07-28T11:07:44.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-3e6c8616-de8a-46f7-afad-2e7d6841c4b9"
  },
  "item": [
    {
      "name": "api",
      "item": [
        {
          "name": "environments",
          "item": [
            {
              "name": "{project_id}",
              "item": [
                {
                  "name": "managed_viewsets",
                  "item": [
                    {
                      "name": "{kind}",
                      "item": [
                        {
                          "name": "managed viewsets retrieve",
                          "id": "70717163-1ad1-47ee-adab-d0f89f8bbed8",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "auth": {
                              "type": "bearer",
                              "bearer": [
                                {
                                  "key": "token",
                                  "value": "{{bearerToken}}",
                                  "type": "string"
                                }
                              ]
                            },
                            "method": "GET",
                            "header": [],
                            "url": {
                              "raw": "{{baseUrl}}/api/environments/:project_id/managed_viewsets/:kind/",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "environments",
                                ":project_id",
                                "managed_viewsets",
                                ":kind",
                                ""
                              ],
                              "variable": [
                                {
                                  "id": "e5932d01-d949-4682-aecb-32ab4c481798",
                                  "key": "project_id",
                                  "value": "<string>",
                                  "description": "(Required) Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
                                },
                                {
                                  "id": "200571e8-924b-4d8e-8cff-ebfed756bf64",
                                  "key": "kind",
                                  "value": "revenue_analytics",
                                  "description": "(Required) "
                                }
                              ]
                            },
                            "description": "Get all views associated with a specific managed viewset.\nGET /api/environments/{team_id}/managed_viewsets/{kind}/"
                          },
                          "response": [
                            {
                              "id": "5d33d42e-976e-4660-91bf-a492e6f18428",
                              "name": "No response body",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/api/environments/:project_id/managed_viewsets/:kind/",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "environments",
                                    ":project_id",
                                    "managed_viewsets",
                                    ":kind",
                                    ""
                                  ],
                                  "variable": [
                                    {
                                      "key": "project_id"
                                    },
                                    {
                                      "key": "kind"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-07-28T11:07:45.000Z",
                              "updatedAt": "2026-07-28T11:07:45.000Z",
                              "uid": "35240-5d33d42e-976e-4660-91bf-a492e6f18428"
                            }
                          ],
                          "createdAt": "2026-07-28T11:07:45.000Z",
                          "updatedAt": "2026-07-28T11:07:45.000Z",
                          "uid": "35240-70717163-1ad1-47ee-adab-d0f89f8bbed8"
                        },
                        {
                          "name": "managed viewsets update",
                          "id": "00b877fa-6de7-49e8-9141-c80323002444",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "auth": {
                              "type": "bearer",
                              "bearer": [
                                {
                                  "key": "token",
                                  "value": "{{bearerToken}}",
                                  "type": "string"
                                }
                              ]
                            },
                            "method": "PUT",
                            "header": [],
                            "url": {
                              "raw": "{{baseUrl}}/api/environments/:project_id/managed_viewsets/:kind/",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "environments",
                                ":project_id",
                                "managed_viewsets",
                                ":kind",
                                ""
                              ],
                              "variable": [
                                {
                                  "id": "c054b703-0ccb-4e9b-8f13-da09f4012b60",
                                  "key": "project_id",
                                  "value": "<string>",
                                  "description": "(Required) Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
                                },
                                {
                                  "id": "83f1cab7-d355-4f09-965c-bff114360b71",
                                  "key": "kind",
                                  "value": "revenue_analytics",
                                  "description": "(Required) "
                                }
                              ]
                            },
                            "description": "Enable or disable a managed viewset by kind.\nPUT /api/environments/{team_id}/managed_viewsets/{kind}/ with body {\"enabled\": true/false}"
                          },
                          "response": [
                            {
                              "id": "fe06d9bb-a414-43fc-80e0-8bddb476dda0",
                              "name": "No response body",
                              "originalRequest": {
                                "method": "PUT",
                                "header": [
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/api/environments/:project_id/managed_viewsets/:kind/",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "environments",
                                    ":project_id",
                                    "managed_viewsets",
                                    ":kind",
                                    ""
                                  ],
                                  "variable": [
                                    {
                                      "key": "project_id"
                                    },
                                    {
                                      "key": "kind"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-07-28T11:07:45.000Z",
                              "updatedAt": "2026-07-28T11:07:45.000Z",
                              "uid": "35240-fe06d9bb-a414-43fc-80e0-8bddb476dda0"
                            }
                          ],
                          "createdAt": "2026-07-28T11:07:45.000Z",
                          "updatedAt": "2026-07-28T11:07:45.000Z",
                          "uid": "35240-00b877fa-6de7-49e8-9141-c80323002444"
                        }
                      ],
                      "id": "d194fe08-2e07-4612-8107-3c41b94b3548",
                      "createdAt": "2026-07-28T11:07:45.000Z",
                      "updatedAt": "2026-07-28T11:07:45.000Z",
                      "uid": "35240-d194fe08-2e07-4612-8107-3c41b94b3548"
                    }
                  ],
                  "id": "a2561fa8-4645-4fe0-ba3b-a6d4ad6459d0",
                  "createdAt": "2026-07-28T11:07:45.000Z",
                  "updatedAt": "2026-07-28T11:07:45.000Z",
                  "uid": "35240-a2561fa8-4645-4fe0-ba3b-a6d4ad6459d0"
                }
              ],
              "id": "0ed2823b-46ff-438a-be10-cb5e42bf4c14",
              "createdAt": "2026-07-28T11:07:45.000Z",
              "updatedAt": "2026-07-28T11:07:45.000Z",
              "uid": "35240-0ed2823b-46ff-438a-be10-cb5e42bf4c14"
            }
          ],
          "id": "e3d1a35f-be22-48e5-9bbd-979345b77d81",
          "createdAt": "2026-07-28T11:07:45.000Z",
          "updatedAt": "2026-07-28T11:07:45.000Z",
          "uid": "35240-e3d1a35f-be22-48e5-9bbd-979345b77d81"
        }
      ],
      "id": "ea32511a-2925-4810-bed1-f484337446b1",
      "createdAt": "2026-07-28T11:07:45.000Z",
      "updatedAt": "2026-07-28T11:07:45.000Z",
      "uid": "35240-ea32511a-2925-4810-bed1-f484337446b1"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "/"
    }
  ]
}