> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dacard.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List agent triggers

> List all triggers for the authenticated user's account.
Optionally filter by agent.

**Permission:** `agents:read` (Pro plan and above)




## OpenAPI

````yaml get /api/agents/triggers
openapi: 3.1.0
info:
  title: Dacard.ai API
  description: >
    Decision intelligence platform for AI-native product teams.

    Score, connect, and compound your product maturity across two original
    frameworks.
  version: 0.1.0
  contact:
    name: Darren Card
    email: darren@darrencard.com
    url: https://darrencard.com
  license:
    name: Proprietary
servers:
  - url: https://app.dacard.ai
    description: Production
  - url: http://localhost:3001
    description: Local development
security: []
tags:
  - name: Scoring
    description: AI maturity scoring engine
  - name: Lifecycle
    description: Development Lifecycle assessment
  - name: Products
    description: Product management and analytics
  - name: Dashboard
    description: Dashboard and suite analytics
  - name: Account
    description: Account and team management
  - name: Billing
    description: Stripe billing integration
  - name: User
    description: User profile, onboarding, and preferences
  - name: System
    description: Health checks and diagnostics
  - name: Internal
    description: Internal and admin endpoints (PQL tracking, demo data management)
  - name: Agents
    description: Agent Studio - autonomous AI agents, triggers, and artifacts
  - name: Intelligence
    description: Alerts, coaching context, and score timeline
  - name: Anomalies
    description: Signal anomaly detection, acknowledgment, and sensitivity overrides
  - name: Outcomes
    description: Longitudinal outcome observations for validation study (E2.2)
  - name: Settings
    description: User and account notification preferences
  - name: Webhooks
    description: Outbound webhook management
  - name: API Keys
    description: API key management (Team and Enterprise plans)
paths:
  /api/agents/triggers:
    get:
      tags:
        - Agents
      summary: List agent triggers
      description: |
        List all triggers for the authenticated user's account.
        Optionally filter by agent.

        **Permission:** `agents:read` (Pro plan and above)
      operationId: listAgentTriggers
      parameters:
        - name: agentId
          in: query
          schema:
            type: string
            format: uuid
          description: Filter triggers to a specific agent
      responses:
        '200':
          description: List of triggers
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/AgentTrigger'
                  total:
                    type: integer
        '401':
          description: Authentication required
      security:
        - clerkAuth: []
        - bearerAuth: []
components:
  schemas:
    AgentTrigger:
      type: object
      properties:
        id:
          type: string
          format: uuid
        agentId:
          type: string
          format: uuid
        accountId:
          type: string
          format: uuid
        name:
          type: string
        conditionType:
          type: string
          enum:
            - schedule
            - score_threshold
            - score_drop
            - new_integration_signal
            - manual
        conditionConfig:
          $ref: '#/components/schemas/TriggerConditionConfig'
        actionConfig:
          $ref: '#/components/schemas/TriggerActionConfig'
        enabled:
          type: boolean
        lastFiredAt:
          type: string
          format: date-time
          nullable: true
        firedCount:
          type: integer
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    TriggerConditionConfig:
      type: object
      description: Condition-specific configuration
      additionalProperties: true
      properties:
        cron:
          type: string
          description: Cron expression (for schedule triggers)
        threshold:
          type: number
          description: Score threshold value (for threshold triggers)
        dropPercent:
          type: number
          description: Minimum score drop percentage to fire (for score_drop triggers)
        signalTypes:
          type: array
          items:
            type: string
          description: Signal types to watch (for new_integration_signal triggers)
    TriggerActionConfig:
      type: object
      description: What to do when the trigger fires
      additionalProperties: true
      properties:
        autoRun:
          type: boolean
          description: Automatically run the agent (default true)
        notifySlack:
          type: boolean
          description: Send a Slack notification when trigger fires
  securitySchemes:
    clerkAuth:
      type: apiKey
      in: cookie
      name: __session
      description: |
        Clerk session cookie. Authentication is handled by Clerk.
        Sign in at https://app.dacard.ai/sign-in to obtain a session.
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |
        Clerk JWT session token. Obtain via Clerk's frontend SDK
        using `getToken()` or via the Clerk Backend API.

````