---
title: "media.file-read-result@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/media.file-read-result"
updated: null
---

# media.file-read-result@1 · OpenVibe.Services

HTML: [media.file-read-result@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/media.file-read-result)

# MediaFileReadResult `media.file-read-result@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: media
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/media/file-read-result.v1.json`](/docs/contracts/media.file-read-result.json)

media.file-read-result@1: answers of media.object.read on OpenVibe.Media. GET /api/v1/:app/files/:key → media.file@1 (the file's metadata; 404 when it is not the tenant's); GET /f/:key → the bytes, with Content-Type and Range (a sandbox file only through its signed URL).

## Fields

This schema has no named fields.

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: bytes

~~~~
"<bytes>"
~~~~

Valid: meta

~~~~
{
  "key": "f_9c1b2e7d",
  "app_id": "live",
  "user_id": 17,
  "original_name": "overlay.png",
  "size": 48213,
  "mime": "image/png",
  "sha256": "3f1c0b8e2a9d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e0d9c8b7a6f5e4d3c2b",
  "url": "/f/f_9c1b2e7d",
  "created_at": "2026-09-25 18:00:00"
}
~~~~

Rejected: partial

~~~~
{
  "key": "k"
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('media.file-read-result@1', value);   // { valid, errors: [{ path, message }] }
~~~~
