Skip to main content
GET
/
api
/
agents
/
{agentId}
/
trigger
cURL
curl --request GET \
  --url https://app.cotool.ai/api/agents/{agentId}/trigger \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "source": "jira",
    "name": "<string>",
    "description": "<string>",
    "enabled": true,
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "secret": "<string>",
    "cronSchedule": "<string>",
    "emailAddress": "<string>",
    "config": {},
    "lastRunAttemptedAt": "<string>",
    "lastRunSucceededAt": "<string>"
  }
]

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

Path Parameters

agentId
string<uuid>
required

Unique identifier of the agent

Response

200 - application/json

Successful response

Array of trigger configurations for the specified agent

id
string<uuid>
required
agentId
string<uuid>
required
organizationId
string<uuid>
required
source
enum<string>
required
Available options:
jira,
slack,
linear,
cron,
webhook,
email
name
string
required
enabled
boolean
required
createdAt
string
required
updatedAt
string
required
config
object
required
description
string | null
secret
string | null
cronSchedule
string | null
emailAddress
string | null
lastRunAttemptedAt
string | null
lastRunSucceededAt
string | null