---
title: "Read a workspace dataset's source again"
method: POST
path: "/v1/data-library/datasets/{key}/sync"
tags: ["Data Library"]
---

# Read a workspace dataset's source again

`POST /v1/data-library/datasets/{key}/sync`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/data-library/datasets/{key}/sync`
- Auth: HTTP bearer

Reads the source of the workspace's own dataset through its connector and stores what it finds. A failing read is reported in `error` with a 200 response and recorded on the dataset (`last_status`, `last_error`); the stored records stay. A `manual` dataset has no source and returns `stored: 0`. A dataset of the shared library is not reachable here and answers 404. Requires the `write` scope.

## Path parameters

- `key` string, required

## Response `201`

Outcome of the read.

- object
  - `data` DataLibrarySyncResult, required
    - `dataset` string: Dataset key.
    - `stored` integer: Records stored by this read.
    - `rejected` integer: Extracted records dropped because their quote does not occur in the source or does not print the value.
    - `error` string, nullable: Why the read failed; null on success.

## Other responses

- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `429`: Daily rate limit exceeded.

## Changes

- **2026-10-28** `0a485a46163e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/data-library/datasets/:key/sync/post.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
