{
  "name": "API429 — ручной Chat Completions",
  "nodes": [
    {
      "parameters": {},
      "id": "714a40c3-ec65-44c9-b90a-270ad0aa0c9c",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://gateway.api429.com/v1/chat/completions",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "contentType": "json",
        "specifyBody": "json",
        "jsonBody": "{\n  \"model\": \"gemini-3.8-flash\",\n  \"messages\": [\n    {\n      \"role\": \"user\",\n      \"content\": \"Ответь одним предложением: что такое API?\"\n    }\n  ],\n  \"max_tokens\": 256,\n  \"stream\": false\n}",
        "options": {}
      },
      "id": "286f236b-773d-4793-84d5-2df08744d9eb",
      "name": "API429 Chat",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.3,
      "position": [
        280,
        0
      ]
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "API429 Chat",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  }
}
