---
title: "get_artifact_rows"
method: GET
path: "/v1/workspaces/{workspace_id}/artifacts/rows"
tags: ["artifacts"]
---

# get_artifact_rows

`GET /v1/workspaces/{workspace_id}/artifacts/rows`

## Request

- Base URL: `https://ndi-api.nace.ai`
- URL: `https://ndi-api.nace.ai/v1/workspaces/{workspace_id}/artifacts/rows`
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/nace/apis/ndi-platform-api/docs/v1/workspaces/:workspace_id/artifacts/rows/get.ts> (a function with typed inputs; its response is checked against the schema)

One page of a parquet, csv or jsonl artifact's rows, in file order, by exact workspace-relative path.

## Path parameters

- `workspace_id` string, uuid, required: Workspace identifier.

## Query parameters

- `path` string, required: Exact workspace-relative path of a live source, derivative, or query-result artifact.
- `start_row` integer: File row number of the first row in the page, 0-based.
- `limit` integer: Rows per page.
- `ranges` string, nullable: Ascending, non-overlapping inclusive row ranges to read instead of a contiguous window, e.g. '3-3,17-19'. Replaces start_row/limit; the ranges may cover at most as many rows as the page limit allows.

## Response `200`

Successful Response

- ArtifactRowsPage: One page of rows from a tabular workspace artifact. Rows are returned in file order, so ``start_row`` is both the request offset and the file row number of ``rows[0]`` — callers can label each row with its source row number without another lookup.
  - `columns` QueryTableColumn[], required
    - `data_type` string, required
    - `name` string, required
  - `limit` integer, required
  - `path` string, required
  - `rows` object[], required
  - `start_row` integer, required
  - `total_rows` integer, required

## Other responses

- `504`: Gateway Timeout
- `default`: Typed error envelope used by every 4xx and 5xx. ``error.code`` distinguishes the failure; HTTP status is a consequence of the code.

---

[API](https://skmtc.dev/nace/apis/ndi-platform-api.md) - [All operations](https://skmtc.dev/nace/apis/ndi-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nace/apis/ndi-platform-api/revisions/d002a3589a67?raw)
