{
  "info": {
    "name": "Varion Token Engine",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://api.varion.tech/v1"
    },
    {
      "key": "varion_key",
      "value": "YOUR_VARION_KEY"
    }
  ],
  "item": [
    {
      "name": "Private Optimisation Test (no provider call)",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Authorization",
            "value": "Bearer {{varion_key}}"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": "{{base_url}}/test/optimize",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"provider\": \"openai\",\n  \"request\": {\n    \"model\": \"gpt-5-mini\",\n    \"messages\": [\n      {\n        \"role\": \"system\",\n        \"content\": \"Answer clearly.\"\n      },\n      {\n        \"role\": \"user\",\n        \"content\": \"Summarise this repeated repeated repeated request.\"\n      }\n    ]\n  }\n}"
        },
        "description": "Runs Varion optimisation only. It does not contact OpenAI, Claude or another provider and does not require a provider key."
      }
    },
    {
      "name": "Chat Completion",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Authorization",
            "value": "Bearer {{varion_key}}"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": "{{base_url}}/chat/completions",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"model\": \"gpt-5-mini\",\n  \"messages\": [{\"role\": \"user\", \"content\": \"Hello\"}]\n}"
        }
      }
    }
  ]
}
