---
title: "Create Automation Result Dataset"
method: POST
path: "/api/v1/automations/{automation_id}/result-datasets"
tags: ["automations"]
---

# Create Automation Result Dataset

`POST /api/v1/automations/{automation_id}/result-datasets`

Create an append-only, queryable dataset exclusively owned by an Automation.

The empty Parquet is materialized immediately so an owning App can safely
query the entity before the first run. Repeating the same request is
idempotent; an incompatible schema for the same table name is rejected.

## Path parameters

- `automation_id` string, uuid, required

## Request body

- AutomationResultDatasetCreate — Create or recover one append-only dataset owned by an Automation.
  - `name` string, required
  - `description` string
  - `table_name` string, required
  - `schema_info` ResultDatasetColumn[], required
    - `name` string, required
    - `type` 'String' | 'Float64' | 'Int64' | 'Boolean' | 'Date' | 'Datetime', required

## Response `201`

Successful Response

- DatabaseRead
  - `id` string, uuid, required
  - `company_id` string, uuid, required
  - `project_id` string, uuid, nullable
  - `integration_id` string, uuid, nullable
  - `user_id` string, uuid, required
  - `name` string, required
  - `description` string, required
  - `table_name` string, required
  - `storage_path` string, nullable, required
  - `schema_info` object[], required
  - `key_columns` string[]
  - `source_step_id` string, uuid, nullable
  - `source_user_file_id` string, uuid, nullable
  - `source_automation_id` string, uuid, nullable
  - `source_sheet_name` string, nullable
  - `source_kind` string
  - `is_shared` boolean, required
  - `is_suppressed` boolean, required
  - `refresh_status` string, required
  - `refresh_error` string, nullable
  - `last_refreshed_at` string, date-time, nullable, required
  - `name_is_user_overridden` boolean
  - `row_count` integer, required
  - `size_bytes` integer, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `doc_status` string
  - `doc_status_updated_at` string, date-time, nullable
  - `doc_last_error` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/netter/apis/dmi-backend.md) · [All operations](https://skmtc.net/netter/apis/dmi-backend/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/netter/dmi-backend/versions/a59877bf911b/schema)
