POST an agent

This section describes how to POST an agent.

Use the /api/v1/tools (POST) endpoint to import the agent into the tenant as shown in the sample payload.

[
 {
    "name": "SampleTool",
    "description": "description for your tool that is less than 1500 words",
    "instructions": "instructions for why this Tool should be selected and any dependencies",
    "type": "TOOLKIT",
    "status": 1,
    "security": {
      "roles": ["GenAI-ToolTester"]
    },
    "utterances": ["Look up the customer ID","Find the customer ID"], 
    "data": {
	"servicePath": "product/customer",
      "api_docs": "ENDPOINT: /api/v1/customer/{customerID}
  }
]