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

# Set evidence for a transaction (replace all)



## OpenAPI

````yaml /openapi/transactions.json put /transactions/{transactionId}/evidence
openapi: 3.1.1
info:
  title: ARTU Compliance API
  version: 1.0.0
  description: 'API for compliance management. Documentation: https://docs.artu.ai'
servers:
  - url: https://api.artu.ai
security:
  - bearerAuth: []
    environmentHeader: []
paths:
  /transactions/{transactionId}/evidence:
    put:
      tags:
        - Transactions
      summary: Set evidence for a transaction (replace all)
      operationId: transactions.setEvidence
      parameters:
        - name: transactionId
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: Transaction ID
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                evidenceIds:
                  type: array
                  items:
                    type: string
                    format: uuid
                  description: Evidence IDs
              required:
                - evidenceIds
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                anyOf:
                  - not: {}
                  - not: {}
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: API key authentication. Obtain your API key from the dashboard.
    environmentHeader:
      type: apiKey
      in: header
      name: X-Environment
      description: Target environment for the request. Must be "test" or "live".

````