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

# Ingest Alert (Webhook)

> Receive a webhook from a configured alert source.

Verifies the webhook signature, validates the payload structure,
and enqueues the enrichment pipeline. Returns 202 immediately.

Allowed sources check: if the API key has `allowed_sources` set,
the requested source_name must be in that list.



## OpenAPI

````yaml POST /v1/ingest/{source_name}
openapi: 3.1.0
info:
  title: Calseta
  description: SOC data platform for security agent consumption
  version: dev
servers: []
security: []
paths:
  /v1/ingest/{source_name}:
    post:
      tags:
        - ingest
      summary: Webhook Ingest
      description: |-
        Receive a webhook from a configured alert source.

        Verifies the webhook signature, validates the payload structure,
        and enqueues the enrichment pipeline. Returns 202 immediately.

        Allowed sources check: if the API key has `allowed_sources` set,
        the requested source_name must be in that list.
      operationId: webhook_ingest_v1_ingest__source_name__post
      parameters:
        - name: source_name
          in: path
          required: true
          schema:
            type: string
            title: Source Name
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataResponse_IngestResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DataResponse_IngestResponse_:
      properties:
        data:
          $ref: '#/components/schemas/IngestResponse'
        meta:
          additionalProperties: true
          type: object
          title: Meta
      type: object
      required:
        - data
      title: DataResponse[IngestResponse]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    IngestResponse:
      properties:
        alert_uuid:
          type: string
          format: uuid
          title: Alert Uuid
        status:
          type: string
          title: Status
          default: queued
        is_duplicate:
          type: boolean
          title: Is Duplicate
          default: false
        duplicate_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Duplicate Count
      type: object
      required:
        - alert_uuid
      title: IngestResponse
    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

````