---
updatedAt: 2026-03-31T06:02:31.000Z
agentTools:
  siteIndex: https://docs.jfrog.com/llms.txt
  projectIndex: https://docs.jfrog.com/artifactory/llms.txt
---

# Get Repository Replication Configuration

Returns the replication configuration for the given repository key, if found. Supported by local and remote repositories

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "JFrog Artifactory Repository Replication API",
    "description": "REST API for managing repository replication in JFrog Artifactory",
    "version": "1.0.0",
    "contact": {
      "name": "JFrog Support"
    }
  },
  "servers": [
    {
      "url": "https://{jfrog_url}/artifactory/api",
      "description": "JFrog Platform",
      "variables": {
        "jfrog_url": {
          "default": "myserver.jfrog.io",
          "description": "Your JFrog Platform hostname (e.g., mycompany.jfrog.io)"
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Repository Replication",
      "description": "Repository replication management operations"
    }
  ],
  "paths": {
    "/replications/{repoKey}": {
      "get": {
        "tags": [
          "Repository Replication"
        ],
        "summary": "Get Repository Replication Configuration",
        "description": "Returns the replication configuration for the given repository key, if found. Supported by local and remote repositories",
        "operationId": "getRepositoryReplicationConfiguration",
        "parameters": [
          {
            "name": "repoKey",
            "in": "path",
            "description": "Repository key",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved replication configuration",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ReplicationConfigRequest"
                    },
                    {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ReplicationConfigRequest"
                      }
                    }
                  ]
                },
                "examples": {
                  "single": {
                    "summary": "Single replication configuration",
                    "value": {
                      "url": "http://localhost:8081/artifactory/remote-repo",
                      "socketTimeoutMillis": 15000,
                      "username": "admin",
                      "password": "password",
                      "enableEventReplication": false,
                      "enabled": true,
                      "cronExp": "0 0 12 * * ?",
                      "syncDeletes": true,
                      "syncProperties": true,
                      "syncStatistics": false,
                      "repoKey": "libs-release-local",
                      "replicationKey": "generic-local_http__5d00703ade",
                      "includePathPrefixPattern": "/path/to/repo",
                      "excludePathPrefixPattern": "/path/to/repo",
                      "checkBinaryExistenceInFilestore": false
                    }
                  },
                  "multiple": {
                    "summary": "Multiple replication configurations (Enterprise)",
                    "value": [
                      {
                        "url": "http://localhost:8081/artifactory/remote-repo",
                        "socketTimeoutMillis": 15000,
                        "username": "admin",
                        "password": "password",
                        "enableEventReplication": false,
                        "enabled": true,
                        "cronExp": "0 0 12 * * ?",
                        "syncDeletes": true,
                        "syncProperties": true,
                        "syncStatistics": false,
                        "repoKey": "libs-release-local",
                        "replicationKey": "generic-local_http__5d00703ade",
                        "includePathPrefixPattern": "/path/to/repo",
                        "excludePathPrefixPattern": "/path/to/repo",
                        "checkBinaryExistenceInFilestore": false
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request - Repository not found or invalid key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Bad Credentials - Authentication failed. A valid token is required.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Permission Denied - The user does not have admin permissions.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found - The specified repository does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "description": "Standard JFrog error envelope",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "integer"
                },
                "message": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "ReplicationConfigRequest": {
        "type": "object",
        "description": "Replication configuration for creating/updating replications. Note that repoKey and replicationKey are returned in responses but not required in requests.",
        "properties": {
          "url": {
            "type": "string",
            "description": "URL of the remote repository (required for local replication)"
          },
          "socketTimeoutMillis": {
            "type": "integer",
            "format": "int32",
            "description": "Socket timeout in milliseconds"
          },
          "username": {
            "type": "string",
            "description": "Username for authentication"
          },
          "password": {
            "type": "string",
            "description": "Password for authentication"
          },
          "enableEventReplication": {
            "type": "boolean",
            "description": "Enable event-based replication (refers to both push and pull replication)"
          },
          "enabled": {
            "type": "boolean",
            "description": "Whether replication is enabled"
          },
          "cronExp": {
            "type": "string",
            "description": "Cron expression for scheduled replication"
          },
          "syncDeletes": {
            "type": "boolean",
            "description": "Whether to sync deletions (default false)"
          },
          "syncProperties": {
            "type": "boolean",
            "description": "Whether to sync properties (default true)"
          },
          "syncStatistics": {
            "type": "boolean",
            "description": "Whether to sync statistics"
          },
          "repoKey": {
            "type": "string",
            "description": "Repository key (returned in response, not required in request)",
            "readOnly": true
          },
          "replicationKey": {
            "type": "string",
            "description": "Replication key (returned in response, not required in request)",
            "readOnly": true
          },
          "includePathPrefixPattern": {
            "type": "string",
            "description": "Include path prefix pattern (added in Artifactory 7.24.4)"
          },
          "excludePathPrefixPattern": {
            "type": "string",
            "description": "Exclude path prefix pattern (added in Artifactory 7.24.4)"
          },
          "proxy": {
            "type": "string",
            "description": "Proxy ID"
          },
          "disableProxy": {
            "type": "boolean",
            "description": "When true, disables proxy usage for this replication"
          },
          "checkBinaryExistenceInFilestore": {
            "type": "boolean",
            "description": "When true, enables distributed checksum storage. Requires Enterprise+ license."
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "JWT token authentication"
      },
      "basicAuth": {
        "type": "http",
        "scheme": "basic",
        "description": "Basic authentication"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    },
    {
      "basicAuth": []
    }
  ],
  "x-readme": {
    "explorer-enabled": false
  }
}
```