Skip to main content
POST
/
api
/
agents
/
{agentId}
/
linear
/
agent-session
cURL
curl -X POST "https://app.cotool.ai/api/agents/:agentId/linear/agent-session" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"issueId":"string","externalUrls":[{"label":"string","url":"string"}]}'
{
  "success": true,
  "message": "<string>",
  "agentSessionId": "<string>",
  "triggerId": "<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

Body

application/json
issueId
string
required
Minimum string length: 1
externalUrls
object[]

Response

Successful response

success
boolean
required
message
string
required
agentSessionId
string
triggerId
string