{
  "opencollection": "1.0.0",
  "info": {
    "name": "Llama Platform Agent Data Configurations API",
    "version": "0.1.0"
  },
  "items": [
    {
      "info": {
        "name": "Configurations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Configurations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/beta/configurations",
            "params": [
              {
                "name": "product_type",
                "value": "",
                "type": "query",
                "description": "Filter by one or more product types. Repeat the parameter for multiple values."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Filter by configuration name."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of items per page."
              },
              {
                "name": "page_token",
                "value": "",
                "type": "query",
                "description": "Pagination token."
              },
              {
                "name": "latest_only",
                "value": "",
                "type": "query",
                "description": "Return only the latest version per configuration name."
              },
              {
                "name": "project_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "organization_id",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List product configurations for the current project."
        },
        {
          "info": {
            "name": "Create Configuration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/beta/configurations",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "organization_id",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Upsert a product configuration; updates if one with the same name + product type + project exists, otherwise creates."
        },
        {
          "info": {
            "name": "Get Configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/beta/configurations/:config_id",
            "params": [
              {
                "name": "config_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "organization_id",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a single product configuration by ID."
        },
        {
          "info": {
            "name": "Update Configuration",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/api/v1/beta/configurations/:config_id",
            "params": [
              {
                "name": "config_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "organization_id",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update an existing product configuration."
        },
        {
          "info": {
            "name": "Delete Configuration",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/v1/beta/configurations/:config_id",
            "params": [
              {
                "name": "config_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "organization_id",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a product configuration."
        }
      ]
    }
  ],
  "bundled": true
}