> ## 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.

# Retrieves evidence metadata by CID.



## OpenAPI

````yaml /specs/infrastructure.json get /evidence/{cid}
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/{cid}:
    get:
      tags:
        - evidence
      summary: Retrieves evidence metadata by CID.
      operationId: get_evidence
      parameters:
        - name: cid
          in: path
          description: IPFS Content Identifier
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Evidence metadata
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EvidenceResponse'
        '404':
          description: Evidence not found
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.

````