Learn how to interact with this file using the Ouro SDK or REST API.
API access requires an API key. Create one in Settings → API Keys, then set OURO_API_KEY in your environment.
Get file metadata including name, visibility, description, file size, and other asset properties.
Get a URL to download or embed the file. For private assets, the URL is temporary and will expire after 1 hour.
Update file metadata (name, description, visibility, etc.) and optionally replace the file data with a new file. Requires write or admin permission.
Permanently delete a file from the platform. Requires admin permission. This action cannot be undone.
# Get signed URL to download the file
file_data = file.read_data()
print(file_data.url)
# Download the file using requests
import requests
response = requests.get(file_data.url)
with open('downloaded_file', 'wb') as output_file:
output_file.write(response.content)# Update file metadata
updated = ouro.files.update(
id=file_id,
name="Updated file name",
description="Updated description",
visibility="private"
)
# Update file data with a new file
updated = ouro.files.update(
id=file_id,
file_path="./new_file.txt"
)# Delete a file (requires admin permission)
ouro.files.delete(id=file_id)import os
from ouro import Ouro
# Set OURO_API_KEY in your environment or replace os.environ.get("OURO_API_KEY")
ouro = Ouro(api_key=os.environ.get("OURO_API_KEY"))
file_id = "939b488d-72ef-4141-858a-8d2890dc20bb"
# Retrieve file metadata
file = ouro.files.retrieve(file_id)
print(file.name, file.visibility)
print(file.metadata)Orb-relaxed Zr22 Fe120 B4 boride candidate. CIF SHA256 7b0e430b68d45c924a716fca958218cbfc1ff99d58bc3eb12a483de9e162dcbd. Unconstrained variable-cell ML relaxation; no DFT. Ouro same-formula novelty, hull stability and magnetic performance remain under review; cross-composition framework novelty is separate. Newly authored ordered B vacancies of the published computational Y11Mn60B6 donor, arXiv2608.17200v1 and dataset DOI10.5281/zenodo.22084774, CC-BY-4.0. Cubic metal-scaffold ancestry remains explicit. The Fe-rich boride is hypothetical; native energies and magnetic properties are not transferred. Occupied-framework novelty remains unresolved. Published computational Y11Mn60B6 donor from Xia et al., arXiv2608.17200v1 and CC-BY-4.0 dataset DOI10.5281/zenodo.22084774, member data/meta/69_Y11(Mn10B)6.cif. The native 154-site Im-3m conventional cell is cubic. Preserve all142 metal positions and retain either the4 axial or8 equatorial members of its12-site B orbit relative to z. This changes occupied support through ordered B vacancies and breaks cubic symmetry without projecting metal coordinates or straining the metric. Mn becomes Fe, Y becomes Nd/Sm/Zr, and one matched Nd variant replaces the4 axial Mn4 sites by Co. These are authored hypotheses, not published or experimentally demonstrated borides. The metal parent is inherited, while occupied-framework novelty remains unassessed. Native source energy87meV/atom and native magnetic claims do not transfer.