{
  "info": {
    "_postman_id": "b27877f3-dc34-4672-a5aa-26e32b40cf26",
    "name": "PostHog actions max_tools API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T11:07:47.000Z",
    "updatedAt": "2026-07-28T11:07:47.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-b27877f3-dc34-4672-a5aa-26e32b40cf26"
  },
  "item": [
    {
      "name": "api",
      "item": [
        {
          "name": "environments",
          "item": [
            {
              "name": "{project_id}",
              "item": [
                {
                  "name": "max_tools",
                  "item": [
                    {
                      "name": "create_and_query_insight",
                      "item": [
                        {
                          "name": "max tools create and query insight create",
                          "id": "07987891-52f5-4422-8865-4e4d50727ad9",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "auth": {
                              "type": "bearer",
                              "bearer": [
                                {
                                  "key": "token",
                                  "value": "{{bearerToken}}",
                                  "type": "string"
                                }
                              ]
                            },
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"insight_type\": \"retention\",\n  \"query\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/api/environments/:project_id/max_tools/create_and_query_insight/",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "environments",
                                ":project_id",
                                "max_tools",
                                "create_and_query_insight",
                                ""
                              ],
                              "variable": [
                                {
                                  "id": "e31e73fa-4551-4617-8a0b-d30abeab259f",
                                  "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/."
                                }
                              ]
                            }
                          },
                          "response": [
                            {
                              "id": "a8fd691f-e499-49be-a59e-f0f6810e8caf",
                              "name": "New Response",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"insight_type\": \"retention\",\n  \"query\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/api/environments/:project_id/max_tools/create_and_query_insight/",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "environments",
                                    ":project_id",
                                    "max_tools",
                                    "create_and_query_insight",
                                    ""
                                  ],
                                  "variable": [
                                    {
                                      "key": "project_id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"id_3\": \"ea cupidatat dolor incididunt tempor\"\n}",
                              "createdAt": "2026-07-28T11:07:48.000Z",
                              "updatedAt": "2026-07-28T11:07:48.000Z",
                              "uid": "35240-a8fd691f-e499-49be-a59e-f0f6810e8caf"
                            }
                          ],
                          "createdAt": "2026-07-28T11:07:48.000Z",
                          "updatedAt": "2026-07-28T11:07:48.000Z",
                          "uid": "35240-07987891-52f5-4422-8865-4e4d50727ad9"
                        }
                      ],
                      "id": "1b8e0e3a-7b12-4295-975f-b5c71021087a",
                      "createdAt": "2026-07-28T11:07:48.000Z",
                      "updatedAt": "2026-07-28T11:07:48.000Z",
                      "uid": "35240-1b8e0e3a-7b12-4295-975f-b5c71021087a"
                    }
                  ],
                  "id": "df24ef39-01fa-42e2-8696-7569ea0a9fe2",
                  "createdAt": "2026-07-28T11:07:48.000Z",
                  "updatedAt": "2026-07-28T11:07:48.000Z",
                  "uid": "35240-df24ef39-01fa-42e2-8696-7569ea0a9fe2"
                }
              ],
              "id": "413cce48-603b-4ffe-a76e-df7dbad64399",
              "createdAt": "2026-07-28T11:07:48.000Z",
              "updatedAt": "2026-07-28T11:07:48.000Z",
              "uid": "35240-413cce48-603b-4ffe-a76e-df7dbad64399"
            }
          ],
          "id": "80174a1d-e3d1-4e36-95e2-de8411ae5feb",
          "createdAt": "2026-07-28T11:07:48.000Z",
          "updatedAt": "2026-07-28T11:07:48.000Z",
          "uid": "35240-80174a1d-e3d1-4e36-95e2-de8411ae5feb"
        }
      ],
      "id": "a1045ebd-bc06-4e7b-aff8-381f3f90d5e0",
      "createdAt": "2026-07-28T11:07:48.000Z",
      "updatedAt": "2026-07-28T11:07:48.000Z",
      "uid": "35240-a1045ebd-bc06-4e7b-aff8-381f3f90d5e0"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "/"
    }
  ]
}