Skip to main content
GET
/
api
/
agent-templates
cURL
curl -X GET "https://app.cotool.ai/api/agent-templates" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
[
  {
    "name": "<string>",
    "description": "<string>",
    "systemPrompt": "<string>",
    "selectedTools": [
      "<string>"
    ],
    "modelAlias": "<unknown>",
    "enabled": true
  }
]

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Response

200 - application/json

Successful response

name
string
required
description
string
required
systemPrompt
string
required
selectedTools
string[]
required
modelAlias
any
required
enabled
boolean
required