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

# MarkEventPipelineExecutionsHandledAPI records that pipeline failures have been
dealt with.


> It mirrors erdo\_mark\_event\_pipeline\_failures\_handled: accepted executions and existing audit entries are unchanged, a nonempty execution\_ids list takes precedence over the through cutoff, and identity refusals (failure\_stage lead\_resolution) are never marked by cutoff or id — those settle through lead-capture dispositions instead.




## OpenAPI

````yaml /api/openapi.json post /v1/event-pipelines/{pipelineSlug}/executions/handled
openapi: 3.0.0
info:
  title: Erdo API
  description: >-
    Erdo's REST API: query and write datasets, run agents, manage threads,
    integrations, pages, evals, workstreams, experiments, and bounded outreach.
    Authenticate with a Bearer API key (erdo_api_...) or scoped token
    (erdo_token_...).
  version: '2026-10-22'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/event-pipelines/{pipelineSlug}/executions/handled:
    post:
      summary: >
        MarkEventPipelineExecutionsHandledAPI records that pipeline failures
        have been

        dealt with.
      description: >
        It mirrors erdo\_mark\_event\_pipeline\_failures\_handled: accepted
        executions and existing audit entries are unchanged, a nonempty
        execution\_ids list takes precedence over the through cutoff, and
        identity refusals (failure\_stage lead\_resolution) are never marked by
        cutoff or id — those settle through lead-capture dispositions instead.
      operationId: POST:mcp.MarkEventPipelineExecutionsHandledAPI
      parameters:
        - allowEmptyValue: true
          explode: false
          in: path
          name: pipelineSlug
          required: true
          schema:
            type: string
          style: simple
      requestBody:
        content:
          application/json:
            schema:
              properties:
                execution_ids:
                  description: >
                    At most 1000, each the UUID of an execution of this
                    pipeline.
                  items:
                    format: uuid
                    type: string
                  title: >
                    ExecutionIDs selects these executions instead of using the
                    cutoff.
                  type: array
                  maxItems: 1000
                note:
                  description: >
                    It is trimmed before validation and storage, and must be 1
                    to 500 characters.
                  title: >
                    Note is the required explanation of how the failures were
                    dealt with.
                  type: string
                  minLength: 1
                  maxLength: 500
                  pattern: \S
                through:
                  description: |
                    An RFC3339 timestamp in the future is refused.
                  title: >
                    Through is an inclusive receipt-time cutoff, defaulting to
                    now.
                  type: string
                  format: date-time
              type: object
              required:
                - note
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  marked:
                    description: >
                      Accepted executions, and failures an operator already
                      dealt with, are not counted.
                    format: int64
                    title: >
                      Marked is how many executions this call newly marked
                      handled.
                    type: integer
                    minimum: 0
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  responses:
    APIError:
      content:
        application/json:
          schema:
            externalDocs:
              url: https://pkg.go.dev/encore.dev/beta/errs#Error
            properties:
              code:
                description: Error code
                example: not_found
                externalDocs:
                  url: https://pkg.go.dev/encore.dev/beta/errs#ErrCode
                type: string
              details:
                description: Error details
                type: object
              message:
                description: Error message
                type: string
            title: APIError
            type: object
      description: Error response
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.