> ## 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.

# Retrigger Webhook Log

> Re-queue a webhook log for processing.

Resets a log row to pending=0 attempts so the backlog worker picks
it up again.  Atomic UPDATE WHERE status NOT IN
('in_progress', 'pending') prevents double-queueing.

Returns 202 on success.
409 detail='already_running_or_queued' if the UPDATE touches no row.
404 if the log does not belong to the current user.
409 detail='subscription_inactive' if the linked subscription is not active.



## OpenAPI

````yaml /api-reference/openapi.json post /api/webhooks/logs/{log_id}/retrigger
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/webhooks/logs/{log_id}/retrigger:
    post:
      tags:
        - webhooks
      summary: Retrigger Webhook Log
      description: >-
        Re-queue a webhook log for processing.


        Resets a log row to pending=0 attempts so the backlog worker picks

        it up again.  Atomic UPDATE WHERE status NOT IN

        ('in_progress', 'pending') prevents double-queueing.


        Returns 202 on success.

        409 detail='already_running_or_queued' if the UPDATE touches no row.

        404 if the log does not belong to the current user.

        409 detail='subscription_inactive' if the linked subscription is not
        active.
      operationId: retrigger_webhook_log_api_webhooks_logs__log_id__retrigger_post
      parameters:
        - name: log_id
          in: path
          required: true
          schema:
            type: integer
            title: Log Id
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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

````

## Related topics

- [List Webhook Logs](/api-reference/webhooks/list-webhook-logs.md)
- [Get Webhook Log By Id](/api-reference/webhooks/get-webhook-log-by-id.md)
- [Get Webhook Log Body](/api-reference/webhooks/get-webhook-log-body.md)
- [Get Webhook Log Attachment](/api-reference/webhooks/get-webhook-log-attachment.md)
- [Webhooks](/guides/webhooks.md)
