> ## Documentation Index
> Fetch the complete documentation index at: https://tyk.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List recent sync runs of a connection



## OpenAPI

````yaml /swagger/5.16/ai-studio-swagger.yml get /tyk-connections/{id}/sync-runs
openapi: 3.0.1
info:
  title: Midsommar API
  description: This is the API for the Midsommar user and group management system.
  termsOfService: http://swagger.io/terms/
  contact:
    name: API Support
    url: http://www.swagger.io/support
    email: support@swagger.io
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
servers:
  - url: //localhost:8080/api/v1
security: []
paths:
  /tyk-connections/{id}/sync-runs:
    get:
      tags:
        - TykMCP
      summary: List recent sync runs of a connection
      parameters:
        - name: id
          in: path
          description: Connection ID
          required: true
          schema:
            type: integer
        - name: limit
          in: query
          description: max rows
          schema:
            type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/models.MCPSyncRun'
components:
  schemas:
    models.MCPSyncRun:
      type: object
      properties:
        connection_id:
          type: integer
        credentials_checked:
          type: integer
        credentials_drifted:
          type: integer
        error:
          type: string
        finished_at:
          type: string
        id:
          type: integer
        node_id:
          type: string
        policies_missing:
          type: integer
        policies_seen:
          type: integer
        policies_updated:
          type: integer
        proxies_added:
          type: integer
        proxies_missing:
          type: integer
        proxies_resumed:
          type: integer
        proxies_seen:
          type: integer
        proxies_updated:
          type: integer
        started_at:
          type: string
        status:
          type: string
        trigger:
          type: string
          description: schedule | manual

````