---
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` (the document declares no server; this is the origin it was published from)
- 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-service/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.
  - `path` string, required
  - `start_row` integer, required
  - `limit` integer, required
  - `total_rows` integer, required
  - `columns` QueryTableColumn[], required
    - `name` string, required
    - `data_type` string, required
  - `rows` object[], required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `410`: Gone
- `413`: Request Entity Too Large
- `422`: Unprocessable Entity
- `424`: Failed Dependency
- `429`: Too Many Requests
- `500`: Internal Server Error
- `501`: Not Implemented
- `503`: Service Unavailable
- `504`: Gateway Timeout

---

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