POST
/
api
/
v1
/
issues
Create a new issue with the specified properties.
Requires Bearer token authentication

Request Body

class
string
required
Issue class (must be valid issue class)
title
string
required
Issue title
description
string
Issue description
priority
string
required
Issue priority (low, medium, high, critical)
event_ids
array
required
Array of event IDs associated with this issue

Example

curl -X POST "https://api.garnet.ai/v1/issues" \
  -H "Authorization: Bearer $GARNET_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "class": "crypto_miner",
    "title": "Crypto mining detected",
    "priority": "critical",
    "event_ids": ["evt_123", "evt_456"]
  }'