---
title: "GET /integrations/sync-logs/"
method: GET
path: "/integrations/sync-logs/"
tags: ["integrations"]
---

# GET /integrations/sync-logs/

`GET /integrations/sync-logs/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/integrations/sync-logs/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Read-only viewset for sync logs.

## Query parameters

- `page` integer
- `limit` integer
- `page_number` integer
- `page_size` integer
- `connection_id` string, uuid

## Response `200`

OK

- SyncLogListResponse
  - `status` boolean
  - `result` SyncLogListResult, required
    - `metadata` PaginationMetadata, required
      - `total_count` integer, required
      - `current_page` integer, required
      - `page_size` integer, required
      - `total_pages` integer, required
      - `next_page` integer, nullable
    - `sync_logs` SyncLog[], required
      - `id` string, uuid
      - `connection` string, uuid
      - `status` 'success' | 'partial' | 'failed' | 'rate_limited' | 'no_new_data'
      - `started_at` string, date-time
      - `completed_at` string, date-time, nullable
      - `traces_fetched` integer
      - `traces_created` integer
      - `traces_updated` integer
      - `spans_synced` integer
      - `scores_synced` integer
      - `error_message` string, nullable
      - `error_details` object
      - `sync_from` string, date-time, nullable
      - `sync_to` string, date-time, nullable

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
