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

# Acknowledge accepted input and its original reply

> Fences apply-here and queued acknowledgements against immutable accepted meaning. Advances the current input cursor once, preserves original delivery obligations and never runs a different task under the current lease.



## OpenAPI

````yaml https://raw.githubusercontent.com/agentsfleet/agentsfleet/main/public/openapi.json post /v1/runners/me/leases/{lease_id}/tasks/input-receipts
openapi: 3.1.0
info:
  title: agentsfleet API
  description: API for managing workspaces, fleets, triggers, and runs.
  contact:
    name: agentsfleet
    url: https://agentsfleet.net
  license:
    name: MIT
    identifier: MIT
  version: 1.0.0
servers:
  - url: https://api.agentsfleet.net
    description: Production
security: []
paths:
  /v1/runners/me/leases/{lease_id}/tasks/input-receipts:
    post:
      tags:
        - Runners
      summary: Acknowledge accepted input and its original reply
      description: >-
        Fences apply-here and queued acknowledgements against immutable accepted
        meaning. Advances the current input cursor once, preserves original
        delivery obligations and never runs a different task under the current
        lease.
      operationId: runner_accept_task_input_receipt
      parameters:
        - name: lease_id
          in: path
          description: Current lease UUIDv7.
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TaskInputReceiptInput'
        required: true
      responses:
        '200':
          description: Immutable receipt replay
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskInputReceiptResult'
        '201':
          description: Accepted input receipt
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskInputReceiptResult'
        '400':
          description: The request is invalid
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '401':
          description: Authentication is missing, invalid, or not accepted by this endpoint
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '403':
          description: You do not have permission for this action
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '404':
          description: The resource was not found or is not accessible to you
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '409':
          description: The request conflicts with the resource's current state
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '413':
          description: The request body exceeds this endpoint's size limit
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '429':
          description: A request or capacity limit has been reached
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '500':
          description: An internal server error occurred
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '503':
          description: A required service is unavailable
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
      security:
        - RunnerBearerAuth: []
components:
  schemas:
    TaskInputReceiptInput:
      type: object
      description: Record a native input outcome, without reinterpreting any accepted item.
      required:
        - fencing_token
        - operation_id
        - source_admission_id
        - plan_digest
        - item_id
        - mode
      properties:
        fencing_token:
          type: integer
          format: int64
          description: Current slot fence.
          minimum: 0
        item_id:
          type: string
          description: One native action within the complete accepted plan.
        mode:
          $ref: '#/components/schemas/TaskInputMode'
          description: Native application or answer mode.
        operation_id:
          type: string
          description: Stable acknowledgement identity.
        plan_digest:
          type: string
          description: Complete immutable interpretation identity.
        response_text:
          type:
            - string
            - 'null'
          description: >-
            Required only for a conversational answer; queued text is formed
            natively.
        source_admission_id:
          type: string
          description: Accepted native source, never an invented reply destination.
        task:
          oneOf:
            - $ref: '#/components/schemas/DecisionTaskVersion'
              description: >-
                Expected associated task; absent only for conversation or
                clarification.
            - type: 'null'
      additionalProperties: false
    TaskInputReceiptResult:
      type: object
      description: >-
        Acknowledges history and cursors, without claiming a task goal is
        complete.
      required:
        - item_id
        - mode
        - replayed
      properties:
        covered_input_sequence:
          type:
            - integer
            - 'null'
          format: int64
          description: Current covered input boundary when a task is associated.
          minimum: 0
        item_id:
          type: string
          description: Accepted native item.
        mode:
          $ref: '#/components/schemas/TaskInputMode'
          description: Committed historical outcome.
        replayed:
          type: boolean
          description: No repeated application, response or continuation was created.
    ProblemBody:
      type: object
      description: The body every refusal carries, under `application/problem+json`.
      required:
        - docs_uri
        - title
        - detail
        - error_code
        - request_id
      properties:
        action_id:
          type:
            - string
            - 'null'
          description: 'On that 409 only: the action the gate held.'
        current_state:
          type:
            - string
            - 'null'
          description: 'On a 409 only: the state that forbade the transition.'
        detail:
          type: string
          description: One sentence on what was refused and why.
        docs_uri:
          type: string
          description: Where the error code is documented.
        error_code:
          type: string
          description: The registry code, stable across releases.
        etag:
          type:
            - string
            - 'null'
          description: >-
            On a 412 only: the resource's current entity tag, to refetch and
            retry.
        gate_id:
          type:
            - string
            - 'null'
          description: 'On an answered approval gate''s 409 only: the gate that was answered.'
        outcome:
          type:
            - string
            - 'null'
          description: 'On that 409 only: the answer that stands.'
        request_id:
          type: string
          description: The request this refusal answers, for support.
        resolved_at:
          type:
            - string
            - 'null'
          format: date-time
          description: 'On that 409 only: when the standing answer was given.'
        resolved_by:
          type:
            - string
            - 'null'
          description: 'On that 409 only: who gave it.'
        title:
          type: string
          description: A short name for the refusal, safe to show a person.
        user_message:
          type:
            - string
            - 'null'
          description: A curated sentence for end users, where the code has one.
    TaskInputMode:
      type: string
      description: One durable item can be applied once and answered once.
      enum:
        - apply_here
        - queued
        - answered
    DecisionTaskVersion:
      type: object
      description: Task identity and generation supplied from the native lease context.
      required:
        - task_id
        - generation
      properties:
        generation:
          type: integer
          format: int64
          description: >-
            Expected current task generation, without resetting cumulative
            usage.
          minimum: 0
        task_id:
          type: string
          description: >-
            The current lease's objective; not another task selected by model
            text.
      additionalProperties: false
  securitySchemes:
    RunnerBearerAuth:
      type: http
      scheme: bearer
      bearerFormat: agt_r
      description: >-
        Runner token beginning with agt_r, returned once by POST
        /v1/admin/runners

````

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