Skip to main content
GET
/
api
/
agent-templates
cURL
curl --request GET \
  --url https://app.cotool.ai/api/agent-templates \
  --header 'Authorization: Bearer <token>'
[
  {
    "name": "<string>",
    "description": "<string>",
    "systemPrompt": "<string>",
    "selectedTools": [
      "<string>"
    ],
    "modelAlias": "<any>",
    "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