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

# Get Audit Inclusion Proof

> Returns the checked inclusion proof of one audit event of the caller's
 own tenant. An event outside the tenant is NOT_FOUND, like a missing one.



## OpenAPI

````yaml https://spec.speakeasy.com/conductor-one/conductorone/my-source-with-code-samples get /api/v1/edges/audit_attestation/proofs/{event_id}
openapi: 3.1.0
info:
  description: The C1 API is a HTTP API for managing C1 resources.
  title: C1 API
  version: 0.1.0-alpha
servers:
  - description: The C1 API server for the current tenant.
    url: https://{tenantDomain}.conductor.one
    variables:
      tenantDomain:
        default: example
        description: The domain of the tenant to use for this request.
security:
  - bearerAuth: []
    oauth: []
paths:
  /api/v1/edges/audit_attestation/proofs/{event_id}:
    get:
      tags:
        - Edge
      summary: Get Audit Inclusion Proof
      description: |-
        Returns the checked inclusion proof of one audit event of the caller's
         own tenant. An event outside the tenant is NOT_FOUND, like a missing one.
      operationId: c1.api.edge.v1.EdgeService.GetAuditInclusionProof
      parameters:
        - in: path
          name: event_id
          required: true
          schema:
            description: The eventId field.
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/c1.api.edge.v1.EdgeServiceGetAuditInclusionProofResponse
          description: Successful response
components:
  schemas:
    c1.api.edge.v1.EdgeServiceGetAuditInclusionProofResponse:
      description: The EdgeServiceGetAuditInclusionProofResponse message.
      properties:
        proof:
          oneOf:
            - $ref: '#/components/schemas/c1.api.edge.v1.TBAuditInclusionProof'
            - type: 'null'
      title: Edge Service Get Audit Inclusion Proof Response
      type: object
      x-speakeasy-name-override: EdgeServiceGetAuditInclusionProofResponse
    c1.api.edge.v1.TBAuditInclusionProof:
      description: >-
        TBAuditInclusionProof proves one audit row belongs to a signed batch.
        The
         service checks the path against the manifest root before returning it. It
         carries no row content: auditors verify the row against leaf_hash offline
         with `tb audit verify-proof`.
      properties:
        leafHash:
          description: The row's stored RFC 6962 leaf hash, hex.
          type: string
        leafIndex:
          description: Index of the row's leaf in its batch.
          format: uint64
          type: string
        manifest:
          oneOf:
            - $ref: '#/components/schemas/c1.api.edge.v1.TBAuditAttestationManifest'
            - type: 'null'
        path:
          description: RFC 6962 audit path, leaf to root, hex.
          items:
            type: string
          type:
            - array
            - 'null'
      title: Tb Audit Inclusion Proof
      type: object
      x-speakeasy-name-override: TBAuditInclusionProof
    c1.api.edge.v1.TBAuditAttestationManifest:
      description: |-
        TBAuditAttestationManifest is one signed batch manifest of the tenant's
         tamper-evident audit log (Time Bandit warehouse attestation). It carries only
         the manifest's signed fields, so an auditor can rebuild the signed bytes and
         verify the Ed25519 signature offline with the key listed under key_id.
      properties:
        batchId:
          description: The batchId field.
          type: string
        canon:
          description: |-
            Canonicalization of the row bytes the leaves hash, for example
             tb-audit-canon-ch-v1.
          type: string
        chainSeq:
          description: Zero-based, contiguous position of this batch in its chain.
          format: uint64
          type: string
        firstEventTime:
          format: date-time
          type:
            - string
            - 'null'
        instanceId:
          description: The instanceId field.
          type: string
        keyId:
          description: The keyId field.
          type: string
        lastEventTime:
          format: date-time
          type:
            - string
            - 'null'
        originId:
          description: The chain is (tenant_id, origin_id, instance_id).
          type: string
        prevRoot:
          description: The previous batch's root in this chain, or 64 zeros for the first.
          type: string
        root:
          description: RFC 6962 Merkle root of the batch, hex.
          type: string
        rowCount:
          description: The rowCount field.
          format: uint64
          type: string
        signature:
          description: Ed25519 signature over the domain-separated manifest encoding, hex.
          type: string
        tenantId:
          description: The tenantId field.
          type: string
        version:
          description: The version field.
          format: uint32
          type: integer
      title: Tb Audit Attestation Manifest
      type: object
      x-speakeasy-name-override: TBAuditAttestationManifest
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http
    oauth:
      description: >-
        This API uses OAuth2 with the Client Credential flow.

        Client Credentials must be sent in the BODY, not the headers.

        For an example of how to implement this, refer to the
        [c1TokenSource.Token()](https://github.com/ConductorOne/conductorone-sdk-go/blob/3375fe7c0126d17e7ec4e711693dee7b791023aa/token_source.go#L101-L187)
        function.
      flows:
        clientCredentials:
          scopes: {}
          tokenUrl: /auth/v1/token
      type: oauth2

````