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

b2b_verified_leads__maxia_4dabd54e

DataViewsDocsLogs

SPEx-verified B2B_VERIFIED_LEADS intelligence feed. 66 data points. Proof: zkML-proof-0xe1e5e75029c25831f76cc87a

4 columns, 20 rows
16 KB
ARR license

No compatible actions for datasets yet

Dataset documentation

Learn how to interact with this dataset 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 dataset

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

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"))
 
dataset_id = "019d93d5-aae6-72eb-b2c3-9dd3703b6859"
 
# Retrieve dataset metadata
dataset = ouro.datasets.retrieve(dataset_id)
print(dataset.name, dataset.visibility)
print(dataset.metadata)

Read schema

Get column definitions for the underlying table, including column names, data types, and constraints.

4 columns
ColumnType
companytext
emailtext
first_nametext
titletext
# Get column definitions for the underlying table
columns = ouro.datasets.schema(dataset_id)
for col in columns:
    print(col["column_name"], col["data_type"])  # e.g., age integer, name text

Query data

Fetch the dataset's rows. Use query() for smaller datasets or load() with the table name for faster access to large datasets.

# Option 1: Query data by dataset ID (returns Pandas DataFrame)
df = ouro.datasets.query(dataset_id)
print(df.head())
 
# Option 2: Load data by table name (faster for large datasets)
table_name = dataset.metadata["table_name"]  # e.g., "b2b_verified_leads__maxia_4dabd54e"
df = ouro.datasets.load(table_name)
print(len(df))

Update dataset

Update dataset metadata (visibility, description, etc.) and optionally write new rows to the table. Writing new data will replace the existing data in the table. Requires write or admin permission on the dataset.

import pandas as pd
 
# Update dataset metadata
updated = ouro.datasets.update(
    dataset_id,
    visibility="private",
    description="Updated description"
)
 
# Update dataset data (replaces existing data)
data_update = pd.DataFrame([
    {"name": "Charlie", "age": 33},
    {"name": "Diana", "age": 28},
])
updated = ouro.datasets.update(dataset_id, data=data_update)