> This page is for version 2025-09-18 (default).
> For other versions, use one of these documentation indexes:
> - 2025-09-18 (default): https://apidocs.polytomic.com/2025-09-18/llms.txt
> - 2024-02-08: https://apidocs.polytomic.com/2024-02-08/llms.txt
> - 2023-04-25: https://apidocs.polytomic.com/2023-04-25/llms.txt
> - 2022-12-12: https://apidocs.polytomic.com/2022-12-12/llms.txt
> - 2021-05-23: https://apidocs.polytomic.com/2021-05-23/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.polytomic.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.polytomic.com/_mcp/server.

# List Bulk Sync Execution Status

GET https://app.polytomic.com/api/bulk/syncs/status

Returns a concise per-schema status for one or more bulk syncs.

This endpoint is a summary view, not an execution-history view. Each schema is
represented at most once with its most recent execution status, and running
executions are preferred over older terminal ones.

Use this endpoint when you want a dashboard-style answer to "what is each sync
doing now?" If you need the full execution history or a single execution's
details, use [`GET /api/bulk/syncs/{id}/executions`](../../../../api-reference/bulk-sync/executions/list) or
[`GET /api/bulk/syncs/{id}/executions/{exec_id}`](../../../../api-reference/bulk-sync/executions/get) instead.

Setting `all=true` or `active=true` ignores any explicit `sync_id` filters and
expands the request to the caller's organization scope.

Reference: https://apidocs.polytomic.com/api-reference/bulk-sync/executions/list-status

## Authentication

- `Authorization` header (bearer token, required) — Bearer user API key
- `Authorization` header (basic auth, required) — Basic organization-scoped API key

## Request

### Query parameters

- `all` (boolean, optional) — When true, return status for every sync in the caller's organization. Overrides any sync_id values.
- `active` (boolean, optional) — When true, return status only for active syncs in the caller's organization. Overrides any sync_id values.
- `sync_id` (list of string, optional) — Return status for the specified bulk sync. Repeat the parameter to target multiple syncs. Ignored if all or active is true.

## Response

### 200

OK

- `data` (list of BulkSyncExecutionStatus, optional, nullable) — Execution status for each requested bulk sync

## Errors

### 404 Not Found Error

Not Found

- `key` (string, optional) — Machine-readable error key, when the error has one
- `message` (string, optional) — Error message
- `metadata` (map from string to any, optional) — Structured details about the error, when available
- `status` (integer, optional) — HTTP status code

## Types

### BulkSyncExecutionStatus

- `nextExecutionTime` (datetime, optional, nullable) — Next scheduled execution time, if the sync has a schedule configured
- `schemas` (list of BulkSyncSchemaExecutionStatus, optional, nullable) — Most recent execution status for each enabled schema in the sync
- `status` (enum, optional) — Sync execution status across all schemas
  - Allowed values: `created`, `scheduled`, `running`, `exporting`, `canceling`, `canceled`, `completed`, `failed`, `processing`, `errors`, `interrupted`, `completed_with_cancellations`
- `sync_id` (string, optional) — Unique identifier of the bulk sync

### BulkSyncSchemaExecutionStatus

- `completed_at` (datetime, optional, nullable) — Timestamp when the most recent execution finished. Null while the execution is still running.
- `error_count` (long, optional) — Number of errors emitted during the most recent execution
- `execution_id` (string, optional) — ID of the most recent execution for the schema
- `record_count` (long, optional) — Number of records processed in the most recent execution
- `schema` (string, optional) — Schema (table or object) identifier
- `started_at` (datetime, optional, nullable) — Timestamp when the most recent execution started
- `status` (enum, optional) — Current status of the schema's most recent execution
  - Allowed values: `created`, `scheduled`, `running`, `exporting`, `canceled`, `completed`, `failed`, `interrupted`, `processing`
- `status_message` (string, optional) — Human-readable detail for the current status (e.g. an error message when status is failed)
- `warning_count` (long, optional) — Number of warnings emitted during the most recent execution

## Examples

**Response**

```json
{
  "data": [
    {
      "nextExecutionTime": "2024-01-15T09:30:00Z",
      "schemas": [
        {
          "completed_at": "2023-04-25T12:00:00Z",
          "error_count": 0,
          "execution_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
          "record_count": 1000,
          "schema": "contact",
          "started_at": "2023-04-25T12:00:00Z",
          "status": "created",
          "status_message": "string",
          "warning_count": 0
        }
      ],
      "status": "created",
      "sync_id": "248df4b7-aa70-47b8-a036-33ac447e668d"
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://app.polytomic.com/api/bulk/syncs/status"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://app.polytomic.com/api/bulk/syncs/status';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://app.polytomic.com/api/bulk/syncs/status"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://app.polytomic.com/api/bulk/syncs/status")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://app.polytomic.com/api/bulk/syncs/status")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://app.polytomic.com/api/bulk/syncs/status', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://app.polytomic.com/api/bulk/syncs/status");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://app.polytomic.com/api/bulk/syncs/status")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```