We offer 3 products:

  1. API - The quickest way to get started for document transformation.
  2. Open Source - Best for prototyping.
  3. Enterprise Platform - Entirely no code platform for end-to-end RAG.

TLDR

If you’re here just to process docs, here’s the too long didn’t read version:

  1. Get an API Key and Server URL by signing up to the SaaS Unstructured API page on our website.
  2. Copy and run this code to install the Unstructured Python/JavaScript API SDK.
pip install unstructured-client
  1. Copy and run this code, replacing api_key_auth, server_url, and filename with actual values.
from unstructured_client import UnstructuredClient
from unstructured_client.models import shared
from unstructured_client.models.errors import SDKError

client = UnstructuredClient(
    api_key_auth="YOUR_API_KEY",
    server_url="YOUR_API_URL",
)

filename = "sample-docs/family-day.eml"

with open(filename, "rb") as f:
    files=shared.Files(
        content=f.read(),
        file_name=filename,
    )

req = shared.PartitionParameters(files=files)

try:
    resp = client.general.partition(req)
    print(resp.elements)
except SDKError as e:
    print(e)
  1. Done! If you’d like a deeper dive on the API, see the detailed API Documentation.

Get in touch

If you don’t find the information you’re looking for in the documentation, or require assistance, get in touch with our Support team at support@unstructured.io, or join our Slack where our team and community can help you.

Was this page helpful?