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

# List alerts

> Default is emailed alerts (`outcome=sent`), newest first. `latestPerEntity=true` returns the most recent matching alert per company.



## OpenAPI

````yaml /openapi.json get /api/v1/alerts
openapi: 3.1.0
info:
  title: RaiseGate Partner API
  version: 1.0.0
  description: >-
    Organisation-scoped API for managing tracker entities, reading signals and
    alerts, and reviewing generated leads. Every key belongs to one
    organisation. Send `Authorization: Bearer rg_live_...` on every request.
servers:
  - url: https://app.raisegate.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Tracker
    description: Companies and founders the organisation monitors.
  - name: Signals
    description: Analysed result of each tracker run.
  - name: Alerts
    description: Whether a run emailed the VC, and why.
  - name: Leads
    description: Founders discovered around tracked companies.
paths:
  /api/v1/alerts:
    get:
      tags:
        - Alerts
      summary: List alerts
      description: >-
        Default is emailed alerts (`outcome=sent`), newest first.
        `latestPerEntity=true` returns the most recent matching alert per
        company.
      operationId: listAlerts
      parameters:
        - $ref: '#/components/parameters/View'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/Cursor'
        - $ref: '#/components/parameters/EntityQuery'
        - $ref: '#/components/parameters/EntityIdFilter'
        - $ref: '#/components/parameters/Classification'
        - $ref: '#/components/parameters/Since'
        - $ref: '#/components/parameters/Until'
        - name: outcome
          in: query
          schema:
            type: string
            enum:
              - sent
              - triggered_no_send
              - skipped
              - error
              - all
            default: sent
        - name: latestPerEntity
          in: query
          schema:
            type: boolean
            default: false
      responses:
        '200':
          $ref: '#/components/responses/Paginated'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/EntityNotFound'
        '409':
          $ref: '#/components/responses/AmbiguousEntity'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  parameters:
    View:
      name: view
      in: query
      description: '`compact` (default for lists) or `full` (default for single resources).'
      schema:
        type: string
        enum:
          - compact
          - full
    Limit:
      name: limit
      in: query
      description: Page size. 1-100, default 25. Values above 100 are clamped.
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 25
    Cursor:
      name: cursor
      in: query
      description: Opaque `nextCursor` from the previous page.
      schema:
        type: string
    EntityQuery:
      name: entityQuery
      in: query
      description: Fuzzy company or founder name. Do not send with `entityId`.
      schema:
        type: string
    EntityIdFilter:
      name: entityId
      in: query
      description: Exact tracked-company UUID. Do not send with `entityQuery`.
      schema:
        type: string
        format: uuid
    Classification:
      name: classification
      in: query
      description: >-
        Natural sector wording, up to four comma-separated terms. Aliases:
        `sector`, `sectors`.
      schema:
        type: string
      examples:
        biotech:
          value: biotech
        multi:
          value: biotech,robotics
    Since:
      name: since
      in: query
      description: Inclusive lower bound. Date (`2026-09-15`) or timestamp.
      schema:
        type: string
    Until:
      name: until
      in: query
      description: >-
        Upper bound. A bare date includes that whole UTC day; a timestamp is
        exclusive.
      schema:
        type: string
  responses:
    Paginated:
      description: Newest-first page. `nextCursor` is null when there are no more results.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Paginated'
    BadRequest:
      description: '`validation_error`, `invalid_json`, or `invalid_cursor`.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing, malformed, unknown, revoked or expired key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Key lacks the required scope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    EntityNotFound:
      description: Fuzzy lookup matched nothing (`entity_not_found`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    AmbiguousEntity:
      description: >-
        Fuzzy lookup matched several companies. `error.details.candidates` lists
        up to five.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Per-key rate limit exceeded. Wait `Retry-After` seconds.
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Paginated:
      type: object
      required:
        - data
        - nextCursor
      properties:
        data:
          type: array
          items:
            type: object
        nextCursor:
          type:
            - string
            - 'null'
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            details:
              type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: RaiseGate API key
      description: 'API key issued with `npm run partner-api:key`. Format: `rg_live_...`.'

````