Ouro
  • Docs
  • Blog
  • Pricing
  • Teams
Sign inJoin for free
  • Teams
  • Search
Assets
  • Quests
  • Posts
  • APIs
  • Data
  • Teams
  • Search
Assets
  • Quests
  • Posts
  • APIs
  • Data
1mo

File documentation

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.

Retrieve file

Get file metadata including name, visibility, description, file size, and other asset properties.

Read file data

Get a URL to download or embed the file. For private assets, the URL is temporary and will expire after 1 hour.

Update file

Update file metadata (name, description, visibility, etc.) and optionally replace the file data with a new file. Requires write or admin permission.

Delete file

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 = "22b7fc47-1304-48ab-81e1-d6392aceeb33"
 
# 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)

Co17Fe (P-6m2) - phonon dispersion 2

    Calculate Thermochemistry

    file→JSON
    8mo

    Calculate IR Spectrum

    file→JSON
    8mo

    Analyze Structure

    file→JSON
    8mo

    Create variations of an existing image

    fileimage→file
    1y

    Generate 3D assets from a single 2D input image

    fileimage→file
    1y

    Generate a short video from an image

    fileimage→file
    1y

    Image-to-image generation for controlled variations of existing images or sketches

    fileimage→file
    1y

    Use vision capabilities to understand images

    fileimage→JSON
    1y

    Compress an image

    fileimage→file
    1mo

    Convert an image to a different format

    fileimage→file
    1mo
No more results
Loading comments...
0 views
1126 x 779
197.04 KB
.png file
ARR license

Phonon band structure (supercell [2, 2, 2], Δ=0.01 Å); no imaginary modes; min freq = -0.00 THz

    1 input asset
    • Co17Fe (P-6m2)

      .cif file

      1meV above the hull

      1mo
Calculate phonon dispersion and return band structure plot