> ## Documentation Index
> Fetch the complete documentation index at: https://resq-dependabot-github-actions-github-actions-478e18be3d.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Lists evidence with optional filters.



## OpenAPI

````yaml /specs/infrastructure.json get /evidence
openapi: 3.1.0
info:
  title: resq-api
  description: ''
  license:
    name: Apache-2.0
    identifier: Apache-2.0
  version: 0.1.0
servers: []
security: []
tags:
  - name: resq-backend
    description: ResQ Infrastructure API
  - name: auth
    description: Authentication endpoints
  - name: incidents
    description: Incident management endpoints
  - name: evidence
    description: Evidence management endpoints
  - name: blockchain
    description: Blockchain query endpoints
  - name: solana
    description: Solana program endpoints (PoD + airspace)
paths:
  /evidence:
    get:
      tags:
        - evidence
      summary: Lists evidence with optional filters.
      operationId: list_evidence
      parameters:
        - name: incident_id
          in: query
          description: Filter evidence by associated incident ID.
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: drone_id
          in: query
          description: Filter evidence by capturing drone ID.
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: evidence_type
          in: query
          description: Filter by evidence type (e.g. "image", "video").
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: start_time
          in: query
          description: Unix timestamp lower bound for filtering by capture time.
          required: false
          schema:
            type:
              - integer
              - 'null'
            format: int64
        - name: end_time
          in: query
          description: Unix timestamp upper bound for filtering by capture time.
          required: false
          schema:
            type:
              - integer
              - 'null'
            format: int64
      responses:
        '200':
          description: List of evidence
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EvidenceResponse'
components:
  schemas:
    EvidenceResponse:
      type: object
      description: Response for evidence metadata.
      required:
        - cid
        - evidence_type
        - gateway_url
      properties:
        blockchain_tx:
          type:
            - string
            - 'null'
          description: Blockchain transaction hash anchoring this evidence.
        captured_at:
          type:
            - string
            - 'null'
          description: RFC 3339 timestamp when the evidence was captured.
        cid:
          type: string
          description: IPFS content identifier (primary key).
        drone_id:
          type:
            - string
            - 'null'
          description: Identifier of the drone that captured the evidence.
        evidence_type:
          type: string
          description: Evidence classification (e.g. "image", "video", "sensor").
        gateway_url:
          type: string
          description: IPFS gateway URL for accessing the evidence file.
        incident_id:
          type:
            - string
            - 'null'
          description: Incident this evidence is linked to, if any.

````