---
title: "GET /api/v1/two-way-sync/{spaceId}/runs/{taskId}"
method: GET
path: "/api/v1/two-way-sync/{spaceId}/runs/{taskId}"
---

# GET /api/v1/two-way-sync/{spaceId}/runs/{taskId}

`GET /api/v1/two-way-sync/{spaceId}/runs/{taskId}`

## Request

- Base URL: `https://falconer.com` (the document declares no server; this is the origin it was published from)
- URL: `https://falconer.com/api/v1/two-way-sync/{spaceId}/runs/{taskId}`
- Auth: none declared

## Path parameters

- `spaceId` integer, required: Space id, from GET /spaces.
- `taskId` string, required

## Headers

- `x-organization-id` string: Required when using OAuth bearer tokens.

## Response `200`

The run status.

- TwoWaySyncRun
  - `taskId` string, required
  - `status` 'running' | 'succeeded' | 'failed' | 'canceled', required
  - `progress` object, nullable, required
    - `current` integer, required
    - `total` integer, required
    - `percent` number, required
    - `message` string
  - `error` string, nullable, required
  - `imported` object, required: Markdown files in the folder, and how many this run has linked so far.
    - `total` integer, required
    - `linked` integer, required

## Other responses

- `400`: Bad request, or a folder that is not the sync root
- `403`: Permission is missing
- `404`: Folder or repository not found

---

[API](https://skmtc.dev/falconer/apis/falconer-public-api.md) · [All operations](https://skmtc.dev/falconer/apis/falconer-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/falconer/apis/falconer-public-api/revisions/7b303b7ddf6a?raw)
