---
title: "Trigger CKAN dataset sync"
method: POST
path: "/workspaces/{workspace_id}/documents/dataset/sync"
tags: ["Workspace Documents"]
---

# Trigger CKAN dataset sync

`POST /workspaces/{workspace_id}/documents/dataset/sync`

## Path parameters

- `workspace_id` string, required

## Request body

- ApiSyncRequest
  - `fullSync` boolean, required

## Response `200`

response

- union
  - object
    - `ok` boolean
    - `data` ApiSyncResponse
      - `workspaceId` string
  - Error
    - `error` boolean
    - `message` string[]

---

[API](https://skmtc.dev/aws-samples/apis/gaia-rest-api.md) · [All operations](https://skmtc.dev/aws-samples/apis/gaia-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aws-samples/gaia-rest-api/revisions/c61f71119116/schema)
