{
  "opencollection": "1.0.0",
  "info": {
    "name": "Braintrust Acls Environments API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Environments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List environments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.braintrust.dev/environment",
            "params": [
              {
                "name": "ids",
                "value": "",
                "type": "query"
              },
              {
                "name": "name",
                "value": "",
                "type": "query"
              },
              {
                "name": "org_name",
                "value": "",
                "type": "query",
                "description": "Filter search results to within a particular organization"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List out all environments. The environments are sorted by creation date, with the most recently-created environments first."
        },
        {
          "info": {
            "name": "Create environment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.braintrust.dev/environment",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new environment"
        },
        {
          "info": {
            "name": "Get environment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.braintrust.dev/environment/:environment_id",
            "params": [
              {
                "name": "environment_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get environment"
        },
        {
          "info": {
            "name": "Partially update environment",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.braintrust.dev/environment/:environment_id",
            "params": [
              {
                "name": "environment_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Partially update environment"
        },
        {
          "info": {
            "name": "Delete environment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.braintrust.dev/environment/:environment_id",
            "params": [
              {
                "name": "environment_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete environment"
        }
      ]
    }
  ],
  "bundled": true
}