{
 "openapi": "3.1.0",
 "info": {
  "title": "Agent Templates (Agentic AI)",
  "version": "20261030b",
  "description": "Working agents for problems most businesses have — finding leads, finding a cheaper supplier, watching the job boards. Each one is a whole thing: prompt, tools, graph, trigger and what it costs to run. Everything created from one starts as a draft that can only suggest, with its trigger disarmed."
 },
 "servers": [
  {
   "url": "https://{tenant}.tranxact.ai",
   "variables": {
    "tenant": {
     "default": "demo"
    }
   }
  }
 ],
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {}
 },
 "security": [
  {
   "bearer": []
  }
 ],
 "paths": {
  "/api/agentic/templates": {
   "get": {
    "summary": "Read agent templates",
    "operationId": "action_templates_0_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/agentic/templates/{key}": {
   "get": {
    "summary": "Read agent templates",
    "operationId": "action_templates_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/agentic/templates/{code}/use": {
   "post": {
    "summary": "Use",
    "operationId": "action_templates_0_6",
    "description": "Body keys: name, runAsUserId",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  }
 }
}