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 = "22a767e4-0b4b-48b2-bfba-83e3c6eb83f3"
# Retrieve file metadata
file = ouro.files.retrieve(file_id)
print(file.name, file.visibility)
print(file.metadata)Orb-relaxed Ti4 Fe28 B24 boride candidate. CIF SHA256 7be98d5316ef335cb7cd8e04180888fbad7f7d4c5bd91d4f973228c823584080. 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 fourfold prism registry derived from the published NiPtB ordered model, DOI10.1021/acs.inorgchem.4c04399. MoB scaffold ancestry remains explicit. The authored boride is hypothetical; source properties are not transferred. Occupied-framework novelty remains unresolved. NiPtB1.5 ordered Imm2 model from DOI10.1021/acs.inorgchem.4c04399 Table4, derived from a partially occupied experimental Imma average structure. Four consecutive source-cell prism fragments are rotated by0,90,180,270degrees aboutc, with a common arithmetic-mean basal edge and source interlayer spacing. This changes interfragment registry and imposes an exact4_1 screw before unconstrained relaxation; it is not merely equalizing the old orthorhombic metric. The optional B16 support omits the two source B3 sites per fragment. MoB-derived metal scaffold ancestry is retained; no new metal-parent family or global novelty is asserted. Fe replaces Ni/Pt except one4-site W/Ti screw orbit and optional4-site Co orbit. Native metallic behavior is not evidence of magnetism or boride endpoint stability.