{
  "info": {
    "name": "Arjen API Gateway v2.0",
    "description": "Ready-to-run Postman collection for OpenAI Chat, Responses (Codex), Anthropic Messages (Claude Code), Embeddings, Images, and Async Media Jobs.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    { "key": "baseUrl", "value": "http://localhost:3000" },
    { "key": "apiKey", "value": "arj_live_replace_me" }
  ],
  "item": [
    {
      "name": "List Models",
      "request": {
        "method": "GET",
        "header": [{ "key": "Authorization", "value": "Bearer {{apiKey}}" }],
        "url": "{{baseUrl}}/v1/models"
      }
    },
    {
      "name": "Chat Completions (OpenAI)",
      "request": {
        "method": "POST",
        "header": [
          { "key": "Authorization", "value": "Bearer {{apiKey}}" },
          { "key": "Content-Type", "value": "application/json" }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"model\": \"gpt-5.4\",\n  \"messages\": [{\"role\": \"user\", \"content\": \"Hello from Postman\"}],\n  \"max_tokens\": 128\n}"
        },
        "url": "{{baseUrl}}/v1/chat/completions"
      }
    },
    {
      "name": "Responses API (Codex CLI)",
      "request": {
        "method": "POST",
        "header": [
          { "key": "Authorization", "value": "Bearer {{apiKey}}" },
          { "key": "Content-Type", "value": "application/json" }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"model\": \"gpt-5.3-codex\",\n  \"input\": \"Write a TypeScript binary search function\",\n  \"max_output_tokens\": 256\n}"
        },
        "url": "{{baseUrl}}/v1/responses"
      }
    },
    {
      "name": "Messages API (Anthropic / Claude Code)",
      "request": {
        "method": "POST",
        "header": [
          { "key": "x-api-key", "value": "{{apiKey}}" },
          { "key": "anthropic-version", "value": "2023-06-01" },
          { "key": "Content-Type", "value": "application/json" }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"model\": \"claude-sonnet-4-6\",\n  \"max_tokens\": 256,\n  \"messages\": [{\"role\": \"user\", \"content\": \"Explain double-entry accounting in two sentences.\"}]\n}"
        },
        "url": "{{baseUrl}}/v1/messages"
      }
    },
    {
      "name": "Image Generation",
      "request": {
        "method": "POST",
        "header": [
          { "key": "Authorization", "value": "Bearer {{apiKey}}" },
          { "key": "Content-Type", "value": "application/json" }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"model\": \"gpt-image-1.5\",\n  \"prompt\": \"Minimalist obsidian data center architecture, volumetric lighting\",\n  \"size\": \"1024x1024\"\n}"
        },
        "url": "{{baseUrl}}/v1/images/generations"
      }
    },
    {
      "name": "Create Async Media Job",
      "request": {
        "method": "POST",
        "header": [
          { "key": "Authorization", "value": "Bearer {{apiKey}}" },
          { "key": "Content-Type", "value": "application/json" }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"model\": \"gpt-image-1.5\",\n  \"modality\": \"image\",\n  \"prompt\": \"High-contrast architectural studio lighting\"\n}"
        },
        "url": "{{baseUrl}}/v1/media/jobs"
      }
    }
  ]
}
