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

# Mark alert as read

> Mark a single ranking alert as read.



## OpenAPI

````yaml https://api.surnex.io/openapi.json patch /v1/projects/{project_id}/tracking/alerts/{alert_id}/read
openapi: 3.1.0
info:
  title: Surnex API
  description: |-
    Surnex SEO Platform API — api.surnex.io

    Provides the complete backend for the Surnex SEO dashboard including:
    - Multi-tenant organization management
    - Project tracking (domains)
    - Keyword rank tracking (Phase 1+)
    - Backlink analysis (Phase 3+)
    - Site auditing (Phase 4+)
    - Stripe billing integration
    - MCP endpoint for AI agents at /mcp
  version: 0.1.0
servers: []
security: []
paths:
  /v1/projects/{project_id}/tracking/alerts/{alert_id}/read:
    patch:
      tags:
        - Rank Tracking
      summary: Mark alert as read
      description: Mark a single ranking alert as read.
      operationId: >-
        mark_alert_read_v1_projects__project_id__tracking_alerts__alert_id__read_patch
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Project Id
        - name: alert_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Alert Id
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIResponse_RankingAlertResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    APIResponse_RankingAlertResponse_:
      properties:
        success:
          type: boolean
          title: Success
          default: true
        data:
          anyOf:
            - $ref: '#/components/schemas/RankingAlertResponse'
            - type: 'null'
      type: object
      title: APIResponse[RankingAlertResponse]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RankingAlertResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        project_id:
          type: string
          format: uuid
          title: Project Id
        tracked_keyword_id:
          type: string
          format: uuid
          title: Tracked Keyword Id
        keyword:
          anyOf:
            - type: string
            - type: 'null'
          title: Keyword
          description: The keyword text (joined from tracked_keywords).
        alert_type:
          type: string
          title: Alert Type
        old_position:
          anyOf:
            - type: integer
            - type: 'null'
          title: Old Position
        new_position:
          anyOf:
            - type: integer
            - type: 'null'
          title: New Position
        change:
          type: integer
          title: Change
        url_found:
          anyOf:
            - type: string
            - type: 'null'
          title: Url Found
        search_volume:
          anyOf:
            - type: integer
            - type: 'null'
          title: Search Volume
        is_read:
          type: boolean
          title: Is Read
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
        - id
        - project_id
        - tracked_keyword_id
        - alert_type
        - change
        - is_read
        - created_at
      title: RankingAlertResponse
      description: A ranking change alert record.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````