Get started

Build Run and maintain 09 / 11

Outputs and exports

Where results land, how to search and filter them, and how to export them or read them over the API.

Runs on Writ CloudWrit Desktop

Markdown Open in Claude Open in ChatGPT

The data your APIs and harvests keep goes into datasets: one table per API or harvest, with a row for each record and new rows after each run. The Outputs page gathers all of them, so you can search, filter, sort and download your data in one place.

Find your data

Open Outputs in the top bar. The list on the left shows your datasets, newest first; use Search datasets to find one. Badges such as “+3 new” or “2 changed” tell you what the last run changed. Click a dataset to open its table, or Open workflow and Open crawl to jump to the API or harvest it came from.

In the table:

  • Type in Search extracted data… to match any field. Open a column's menu to filter by its values or sort by it.
  • Columns picks which fields show. Table view and Card view switch the layout.
  • By default you see the current data: each record once, in its latest version. Show every row from every run shows the full history instead.
  • Show first seen, last seen and versions columns adds when each record first appeared, when it was last seen and how many times it changed. Records that disappeared are hidden unless you pick Include gone.
  • Click a row to see the full record, the run it came from and its earlier versions.

The same table is on the Data tab of each API. A harvest's dataset opens from Open dataset on the harvest page.

Download and reuse

Click Export above the table and pick Download CSV, Download JSON, Download Markdown or Download HTML. Choose the rows: the current view, with your search, filters and sort and every matching row rather than one page, or All rows. Markdown and HTML lay out a harvest's pages as documents and other data as a table.

Select rows to do more with them:

  • Copy as JSON, Copy as Markdown table or Copy for Sheets (TSV) puts them on your clipboard.
  • Send to automation starts one run of an API or workflow per selected record, with the record's fields as the run's inputs. Each run is charged like any other run.
  • Delete selected rows removes those records. The runs stay in your run history.

Documents a harvest captured, such as PDFs, and files your workflows save are kept as files. Download them from their row, or find them all on the Files page.

Choose what is kept

Each function of an API decides whether its calls are kept. Open the API's Functions tab and set What happens to the data for each function:

  • Save the data: every call adds its rows to the dataset, so they appear in Outputs, search and exports.
  • Return only: the caller gets the rows in the response and nothing is kept.

A function that reads pages starts on Save the data. A function that calls the site's own data endpoints starts on Return only. Running a whole recorded workflow, rather than one function, always saves.

To clear a dataset, select it in Outputs and click Remove. This deletes all of its extracted data and removes it from Outputs. The API or harvest itself is kept, and its next run adds new data.

How long data is kept

Runs, and the data they extracted, are kept for your plan's run history. Storage is the space for files kept in your organization, such as documents a harvest captured and files on the Files page.

PlanRun historyStorage
Free 90 days 1 GB
Starter 90 days 2 GB
Pro 180 days 5 GB
Growth 365 days 50 GB
Scale 730 days 200 GB
Enterprise 730 days 1,000 GB

Data on Writ Desktop is kept on your computer, not on Writ's servers.

Use your own bucket

To keep file contents in your own storage, connect an S3-compatible bucket.

  1. Open Settings → Storage

    Click Add provider.

  2. Pick the provider

    In Provider type, pick AWS S3, DigitalOcean Spaces, Cloudflare R2 or MinIO. Leave Endpoint blank for AWS S3.

  3. Enter the bucket and keys

    Fill in Bucket, Region, Access key and Secret access key, then save. The secret is encrypted and never shown again.

From your code or your AI assistant

Every dataset has the same endpoints, whether it comes from an API or a harvest. Use an API key from Developers → API Keys with read access to workflows. In Outputs, Get data via the API shows a ready-to-paste call for the dataset you have open, with your current filters.

GET https://api.usewrit.app/api/v1/datasets wt_ key
List your datasets
curl https://api.usewrit.app/api/v1/datasets \
  -H "Authorization: Bearer $WRIT_API_KEY"
200 OK
{
  "datasets": [
    { "id": 731, "name": "Book prices", "source_type": "workflow", "run_count": 48, "last_updated": "2026-10-31T13:00:04+00:00" },
    { "id": 9310, "name": "books.toscrape.com", "source_type": "crawl", "run_count": 26, "last_updated": "2026-10-30T22:41:17+00:00" }
  ]
}

source_type is crawl for a harvest and workflow for an API. For a harvest, the dataset id is the data_workflow_id of the harvest.

Read records

GET https://api.usewrit.app/api/v1/datasets/{id}/records wt_ key
curl -G https://api.usewrit.app/api/v1/datasets/731/records \
  -H "Authorization: Bearer $WRIT_API_KEY" \
  -d filter=title:sonnet \
  -d sort_by=price -d sort_dir=asc \
  -d limit=50
200 OK (trimmed)
{
  "dataset": { "id": 731, "name": "Book prices", "source_type": "workflow" },
  "columns": ["title", "price", "in_stock"],
  "records": [
    {
      "run_id": 77341,
      "run_at": "2026-10-31T13:00:04+00:00",
      "status": "success",
      "success": true,
      "duration_ms": 2140,
      "record_index": 0,
      "fields": { "title": "Shakespeare's Sonnets", "price": 20.66, "in_stock": true }
    }
  ],
  "pagination": { "limit": 50, "offset": 0, "total": 1, "scanned_runs": 48, "truncated": false }
}

Query

q string
Text to match across all fields.
filter string
A column filter as column:text. Repeat it for several columns.
sort_by string
A column, or run_at, status, duration_ms.
sort_dir string default desc
asc or desc.
limit integer default 50
Rows per page, up to 500. Page with offset.
format string default json
csv, markdown or html return the same page in that format.

Other data endpoints

EndpointWhat it returns
GET /api/v1/datasets/{id}The columns, with each column's type and values, the row count and the run count.
GET /api/v1/datasets/{id}/search?q=A full-text search of one dataset.
GET /api/v1/datasets/search?q=A full-text search across every dataset you own.
GET /api/v1/datasets/{id}/export?format=The whole dataset, with filters and sort applied, as csv (default), json, markdown or html.
GET /api/v1/workflows/{id}/dataAn API's data, with the same query fields as records. /data/facets describes its columns; /data/export downloads it.
curl -G https://api.usewrit.app/api/v1/datasets/731/export \
  -H "Authorization: Bearer $WRIT_API_KEY" \
  -d format=csv \
  -o book-prices.csv

Files

/api/v1/files lists, uploads and downloads the files in your organization. It follows the same shape as the OpenAI files API: POST with a multipart file, GET to list, GET /api/v1/files/{id}/content for the bytes.

List and download files
curl "https://api.usewrit.app/api/v1/files?limit=20" \
  -H "Authorization: Bearer $WRIT_API_KEY"

# Download one file's bytes
curl -L "https://api.usewrit.app/api/v1/files/FILE_ID/content" \
  -H "Authorization: Bearer $WRIT_API_KEY" \
  -o report.pdf

From your AI assistant

Your assistant can answer questions from data you already collected, without running anything again:

ToolWhat it does
writ_workflow_dataReads an API's data as a table, filtered with q or limited to one run.
writ_search_dataSearches everything your APIs collected for a term.
writ_export_dataExports an API's full table as CSV or JSON.
writ_workflow_runsRun history: status, timing, errors, and whether each run ran in the cloud or on your computer.

A harvest's data is read with writ_crawl_status and writ_saved_crawl_data; see Harvest a site.

Next