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.
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 = "3ba67a55-0031-4e27-aced-17b2009eedd0"
# Retrieve file metadata
file = ouro.files.retrieve(file_id)
print(file.name, file.visibility)
print(file.metadata)# 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)Orb-relaxed Sm2 Fe5 B1 boride candidate. CIF SHA256 6841bd658418f65b56de77a7dfcc4ef87f300ecb78f6a85e5487a79429303da2. 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. GPAC-authored eight-site Nd2Fe5B or Sm2Fe5B hypothesis on attributed OQMD1982456 I4mm geometry. The published predicted Ac2BPt5 geometry supplied coordinates only; Ac was replaced by Nd or Sm and Pt by Fe. The source AFLOW review remains incomplete. This complete boride is generated and is not a published experimental phase. Known metal-parent ancestry remains explicit; occupied-framework novelty is unresolved and no parent energy, moment or anisotropy is transferred. Published predicted OQMD1982456 Ac2BPt5 I4mm, source prototype label Rb2NiBr5. Only geometry is borrowed; these Nd/Sm–Fe–B substitutions are unrelaxed hypotheses. Alloy rationale: https://doi.org/10.1126/sciadv.adq1431