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

# Rag Webhook

> Receive indexation status updates from th2llm via webhook.

This endpoint is NOT behind auth middleware — it uses HMAC-SHA256 signature
verification instead. th2llm signs the payload with the shared secret and
sends the signature in the ``X-Webhook-Signature`` header.



## OpenAPI

````yaml /api-reference/openapi.json post /api/rag/webhook
openapi: 3.1.0
info:
  title: apowerb API
  description: REST API of the apowerb agentic framework (open-source edition).
  version: 0.1.2
  license:
    name: MIT
    url: https://github.com/apowerb/apowerb/blob/main/LICENSE
servers:
  - url: https://api.example.com
    description: Your apowerb instance
  - url: http://localhost:8000
    description: Local stack
security: []
paths:
  /api/rag/webhook:
    post:
      tags:
        - rag
      summary: Rag Webhook
      description: >-
        Receive indexation status updates from th2llm via webhook.


        This endpoint is NOT behind auth middleware — it uses HMAC-SHA256
        signature

        verification instead. th2llm signs the payload with the shared secret
        and

        sends the signature in the ``X-Webhook-Signature`` header.
      operationId: rag_webhook_api_rag_webhook_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}

````

## Related topics

- [Configuration](/configuration.md)
- [RAG](/guides/rag.md)
- [Secrets](/self-hosting/secrets.md)
- [th2rag](/ecosystem/th2rag.md)
- [Production notes](/self-hosting/production.md)
