Skip to main content
POST
/
agents
/
types
/
{agent_type_id}
/
suggest-triggers
Suggest Triggers
curl --request POST \
  --url https://api.example.com/agents/types/{agent_type_id}/suggest-triggers
{
  "agent_type_id": "<string>",
  "suggestions": [
    {
      "trigger_type": "event",
      "name": "<string>",
      "description": "<string>",
      "configuration": {}
    }
  ]
}

Path Parameters

agent_type_id
string
required

Response

Successful Response

Response containing all trigger suggestions for an agent type.

Attributes: agent_type_id: SurrealDB ID of the analyzed agent type. suggestions: Ordered list of suggested triggers.

agent_type_id
string
required
suggestions
TriggerSuggestion · object[]
required