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

# List Alerts

> List the alerts (signal trackings) created by your account or workspace

Alerts are created by signal endpoints such as [Find new hires](/api-reference/endpoints/signals/find_new_hires) and [Track job changes](/api-reference/endpoints/signals/track_job_changes). Filter them with `alert_type`, and pass `active=true` to return active alerts only.


## OpenAPI

````yaml GET /alerts
openapi: 3.0.1
info:
  title: Pipecorn Alerts API
  description: Pipecorn Alerts API
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.pipecorn.com/api/v2/
security:
  - defaultApiKey: []
paths:
  /alerts:
    get:
      summary: List alerts
      description: >-
        Returns the alerts (signal trackings) created by your account (or by
        every member of your workspace when you authenticate with a workspace
        key), newest first.
      parameters:
        - name: alert_type
          in: query
          required: false
          description: Only return alerts of this type
          schema:
            type: string
            enum:
              - NEW_HIRES
              - JOB_CHANGES
              - JOB_POSTING
              - SOCIAL_LISTENING
              - STACK
              - CUSTOM_LEAD
              - CUSTOM_ACCOUNT
              - COMPANY_SIGNAL
        - name: active
          in: query
          required: false
          description: '`true` returns active alerts only. Any other value is ignored'
          schema:
            type: boolean
      responses:
        '200':
          description: The alerts
          content:
            application/json:
              schema:
                type: object
                required:
                  - alerts
                properties:
                  alerts:
                    type: array
                    items:
                      $ref: '#/components/schemas/Alert'
              example:
                alerts:
                  - uuid: 3f6c2a1e-9b8d-4c1f-a2e3-5d6f7a8b9c0d
                    name: Signal NEW_HIRES - 2025-01-03 17:35:33
                    alert_type: NEW_HIRES
                    frequency: DAILY
                    active: true
                    created_at: '2025-01-03T17:35:33.073Z'
                    latest_search_at: '2025-01-04T17:35:33.073Z'
        '400':
          description: Unknown `alert_type`
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: >-
                  alert_type must be one of: NEW_HIRES, JOB_CHANGES,
                  JOB_POSTING, SOCIAL_LISTENING, STACK, CUSTOM_LEAD,
                  CUSTOM_ACCOUNT, COMPANY_SIGNAL
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                missing_key:
                  summary: No API key present
                  value:
                    error: No API key present
                invalid_key:
                  summary: Invalid API key
                  value:
                    error: Invalid API key
        '429':
          description: Rate limit exceeded (your plan's per-minute limit)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: Rate limit exceeded. Please wait before retrying.
components:
  schemas:
    Alert:
      type: object
      properties:
        uuid:
          type: string
          format: uuid
          example: 3f6c2a1e-9b8d-4c1f-a2e3-5d6f7a8b9c0d
        name:
          type: string
          example: Signal NEW_HIRES - 2025-01-03 17:35:33
        alert_type:
          type: string
          enum:
            - NEW_HIRES
            - JOB_CHANGES
            - JOB_POSTING
            - SOCIAL_LISTENING
            - STACK
            - CUSTOM_LEAD
            - CUSTOM_ACCOUNT
            - COMPANY_SIGNAL
          example: NEW_HIRES
        frequency:
          type: string
          nullable: true
          enum:
            - DAILY
            - WEEKLY
            - MONTHLY
          example: DAILY
        active:
          type: boolean
          example: true
        created_at:
          type: string
          format: date-time
          example: '2025-01-03T17:35:33.073Z'
        latest_search_at:
          type: string
          format: date-time
          nullable: true
          description: When the alert last produced a search. `null` if it has not run yet
          example: '2025-01-04T17:35:33.073Z'
    Error:
      required:
        - error
      type: object
      properties:
        error:
          description: >-
            Human-readable error message. A few validation errors return a list
            of messages instead of a single string.
          oneOf:
            - type: string
            - type: array
              items:
                type: string
        message:
          type: string
          description: >-
            Longer explanation, sent by validators that add context. Such errors
            may also carry extra top-level keys like `valid_values` or
            `example`.
        details:
          type: string
          description: >-
            Parser message, sent with `"Invalid JSON format in request body"`
            when the request body is not valid JSON.
  securitySchemes:
    defaultApiKey:
      type: apiKey
      in: header
      description: Your API key
      name: X-API-KEY

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.