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

# Get Evidence

> Retrieves an asset's evidence registered in a specific timestamp from the Blockchain network.



## OpenAPI

````yaml get /evidences/{id}
openapi: 3.0.1
info:
  title: TrustOS EVM Track API
  description: >-
    TrustOS EVM Track API is used to interact with EVM based blockchain
    networks. In case you have some questions or need more about the use of this
    API, don't hesitate to contact B-Team:
  contact:
    name: Blockchain Team
    email: soporte-bteam@telefonica.com
  version: 2.2.2
servers:
  - url: https://lab.trustos.telefonicatech.com/track/v2
    description: Lab
security: []
tags:
  - name: Asset Creation
    description: Digital asset creation endpoints.
  - name: Asset Management
    description: All about the digital asset lifecycle.
  - name: Utils
    description: Methods for specific use cases.
paths:
  /evidences/{id}:
    get:
      tags:
        - Utils
      summary: Get evidence by id.
      parameters:
        - name: id
          in: path
          description: Identifier of the asset.
          required: true
          schema:
            type: string
            example: did:trustos:trackid:<id>
        - name: timestamp
          in: query
          description: Evidence timestamp.
          required: true
          schema:
            type: number
            example: 1695900959848
      responses:
        '200':
          $ref: '#/components/responses/200-EvidenceFound'
        '401':
          $ref: '#/components/responses/401-AuthenticationError'
        '500':
          $ref: '#/components/responses/500-InternalServerError'
      security:
        - bearerAuth: []
components:
  responses:
    200-EvidenceFound:
      description: Successful evidence retrieval.
      content:
        application/json:
          schema:
            type: object
            properties:
              statusCode:
                type: number
                description: Request status code.
                example: 200
              message:
                type: string
                description: Message returned by the request.
                example: Evidence found
              data:
                type: object
                description: Data returned by the request.
                properties:
                  hash:
                    type: string
                    description: >-
                      Hash of the evidence previously registered in the
                      Blockchain.
                    example: >-
                      234fc02752e48108af8548b4544c3ab6deb30d091567cff0b5d69a3beda993d6
    401-AuthenticationError:
      description: Authentication error.
      content:
        application/json:
          schema:
            type: object
            properties:
              statusCode:
                type: number
                description: Request status code.
                example: 401
              type:
                type: string
                description: Error type.
                example: Authentication Error
              message:
                type: string
                description: Message returned by the request.
                example: Token is not provided
    500-InternalServerError:
      description: Internal server error.
      content:
        application/json:
          schema:
            type: object
            properties:
              statusCode:
                type: number
                description: Request status code.
                example: 500
              type:
                type: string
                description: Error type.
                example: Internal Server Error
              message:
                type: string
                description: Message returned by the request.
                example: Oops! Something went wrong, please try again later
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````