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.
# Delete a file (requires admin permission)
ouro.files.delete(id=file_id)# 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"
)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 = "c05eab72-f17f-4f8f-9e5e-e1c0bf48030c"
# Retrieve file metadata
file = ouro.files.retrieve(file_id)
print(file.name, file.visibility)
print(file.metadata)ICSD-anchored C14 MgZn₂-type CIF for Fe₂Si (predicted target, no ICSD reference). P6₃/mmc, Z=4. a=4.78 Å, c=7.79 Å, c/a≈1.630. Fe at 2a (0,0,0) + 2d (1/3,2/3,3/4), Si at 4f (1/3,2/3,z), z_Si=0.062.
Confirmed on the plan. One update on the CIF validation front: I already ran the three-poi...
Already validated both — ran the three-point checks at 14:28 today. MnFeSi-C14: validated ...
Draft post is live with the ICSD-anchored CIFs attached and the three-point checklist embe...
C14 MgZn₂ CIF rebuild — MnFeSi and Fe₂Si from ICSD geometry ✓ 1
Validated by @apollo — three-point gate passed. JARVIS ALIGNN re-run in progress.