> For the complete documentation index, see [llms.txt](https://docs.silk.us/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.silk.us/api-reference/endpoints/replication/replication-sessions.md).

# Replication sessions

A replication session replicates a volume group from this system to a peer, according to a recovery point objective (RPO) and retention settings. Replication is asynchronous and snapshot-based.

Use these endpoints to set up disaster recovery or data mobility for a volume group, change a session's state, update its RPO or retention policies, or manage its tags.

## GET /replication/sessions

> List replication sessions

```json
{"openapi":"3.0.3","info":{"title":"Silk RESTful API","version":"9.5.20"},"tags":[{"name":"Replication sessions","description":"A replication session replicates a volume group from this system to a peer, according to a recovery point objective (RPO) and retention settings. Replication is asynchronous and snapshot-based.\n\nUse these endpoints to set up disaster recovery or data mobility for a volume group, change a session's state, update its RPO or retention policies, or manage its tags."}],"servers":[{"url":"https://{host-address}/api/v2","description":"Your Silk Data Pod (SDP)","variables":{"host-address":{"default":"sdp.example.com","description":"Management address of your SDP."}}}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"HTTP Basic authentication. The server responds only to HTTPS requests. Access to object URLs, operations, and fields depends on the user's role (for example `admin` or `viewer`)."}},"parameters":{"limit":{"name":"__limit","in":"query","schema":{"type":"integer"},"description":"Caps the number of returned entities. Requires a sort parameter when paging."},"offset":{"name":"__offset","in":"query","schema":{"type":"integer"},"description":"Returns results starting from this offset. Requires a sort parameter when paging."},"sort":{"name":"__sort","in":"query","schema":{"type":"string"},"description":"Comma-separated object properties to sort by."},"sort_order":{"name":"__sort_order","in":"query","schema":{"type":"string","enum":["asc","desc"]},"description":"Sort direction."},"tag_key":{"name":"tag_key","in":"query","schema":{"type":"string"},"description":"Return only objects with this tag key."},"tag_value":{"name":"tag_value","in":"query","schema":{"type":"string"},"description":"Return only objects with this tag value."}},"schemas":{"Collection":{"type":"object","properties":{"hits":{"type":"array","items":{},"description":"The matching objects."},"limit":{"type":"integer","description":"Page size."},"offset":{"type":"integer","description":"Offset of the first returned object."},"total":{"type":"integer","description":"Total number of matching objects."}}},"ReplicationSessions":{"type":"object","properties":{"common_snapshots_count":{"type":"integer","description":"Number of snapshots present on both sides."},"current_role":{"type":"string","description":"Role of this SDP for the session, e.g. `source` or `target`."},"current_snapshot":{"type":"string","nullable":true,"description":"Identifier of the snapshot currently being replicated."},"current_snapshot_progress":{"type":"integer","description":"Progress of the in-flight snapshot."},"estimated_remaining_time":{"type":"integer","nullable":true,"description":"Estimated seconds remaining on the in-flight transfer."},"external_retention_policy":{"$ref":"#/components/schemas/Ref","description":"Reference to the retention policy applied to snapshots on the peer. Shape: `{ \"ref\": \"/retention_policies/{id}\" }`."},"id":{"type":"integer","description":"Unique identifier."},"latest_replicated_snapshot":{"$ref":"#/components/schemas/Ref","description":"Reference to the most recently replicated snapshot. Shape: `{ \"ref\": \"/snapshots/{id}\" }`."},"local_volume_group":{"$ref":"#/components/schemas/Ref","description":"Reference to the local volume group being replicated. Shape: `{ \"ref\": \"/volume_groups/{id}\" }`."},"name":{"type":"string","description":"Local session name."},"next_snapshot":{"type":"string","nullable":true,"description":"Identifier of the next snapshot queued for replication."},"primary":{"type":"boolean","description":"Whether this side is the primary."},"remote_replication_session_id":{"type":"integer","description":"ID of the matching session on the peer SDP."},"remote_replication_session_name":{"type":"string","description":"Name of the matching session on the peer SDP."},"replication_peer_k2array":{"$ref":"#/components/schemas/Ref","description":"Reference to the peer array. Shape: `{ \"ref\": \"/replication/peer_k2arrays/{id}\" }`."},"replication_peer_volume_group":{"$ref":"#/components/schemas/Ref","description":"Reference to the peer volume group. Shape: `{ \"ref\": \"/replication/peer_volume_groups/{id}\" }`."},"replication_rpo_history":{"$ref":"#/components/schemas/Ref","description":"Reference to the RPO history collection for the session. Shape: `{ \"ref\": \"/replication/rpo_history/{id}\" }`."},"restored_snapshot":{"type":"string","nullable":true,"description":"Snapshot the session was last restored from."},"retention_policy":{"$ref":"#/components/schemas/Ref","description":"Reference to the local retention policy. Shape: `{ \"ref\": \"/retention_policies/{id}\" }`."},"rpo":{"type":"integer","description":"Target RPO in seconds."},"state":{"type":"string","description":"Current session state, e.g. `in_sync`."},"stopped":{"type":"boolean","description":"`true` if the session is stopped."},"suspend_reason":{"type":"string","description":"Free-form reason text when suspended."},"suspend_reason_code":{"type":"string","description":"Machine-readable suspend reason, e.g. `none`."},"target_exposure":{"type":"string","description":"Target-side exposure mode, e.g. `unmapped`."},"type":{"type":"string"}}},"Ref":{"type":"object","description":"Reference to another object by its canonical URL.","properties":{"ref":{"type":"string"}},"required":["ref"]},"Error":{"type":"object","properties":{"message":{"type":"string","description":"Readable description of the error."}}}},"responses":{"Error":{"description":"Error. See the **Errors** page for status codes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/replication/sessions":{"get":{"tags":["Replication sessions"],"summary":"List replication sessions","operationId":"listReplicationSessions","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/sort"},{"$ref":"#/components/parameters/sort_order"},{"$ref":"#/components/parameters/tag_key"},{"$ref":"#/components/parameters/tag_value"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Collection"},{"type":"object","properties":{"hits":{"type":"array","items":{"$ref":"#/components/schemas/ReplicationSessions"}}}}]}}}},"default":{"$ref":"#/components/responses/Error"}}}}}}
```

## POST /replication/sessions

> Create replication session

```json
{"openapi":"3.0.3","info":{"title":"Silk RESTful API","version":"9.5.20"},"tags":[{"name":"Replication sessions","description":"A replication session replicates a volume group from this system to a peer, according to a recovery point objective (RPO) and retention settings. Replication is asynchronous and snapshot-based.\n\nUse these endpoints to set up disaster recovery or data mobility for a volume group, change a session's state, update its RPO or retention policies, or manage its tags."}],"servers":[{"url":"https://{host-address}/api/v2","description":"Your Silk Data Pod (SDP)","variables":{"host-address":{"default":"sdp.example.com","description":"Management address of your SDP."}}}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"HTTP Basic authentication. The server responds only to HTTPS requests. Access to object URLs, operations, and fields depends on the user's role (for example `admin` or `viewer`)."}},"schemas":{"ReplicationSessions":{"type":"object","properties":{"common_snapshots_count":{"type":"integer","description":"Number of snapshots present on both sides."},"current_role":{"type":"string","description":"Role of this SDP for the session, e.g. `source` or `target`."},"current_snapshot":{"type":"string","nullable":true,"description":"Identifier of the snapshot currently being replicated."},"current_snapshot_progress":{"type":"integer","description":"Progress of the in-flight snapshot."},"estimated_remaining_time":{"type":"integer","nullable":true,"description":"Estimated seconds remaining on the in-flight transfer."},"external_retention_policy":{"$ref":"#/components/schemas/Ref","description":"Reference to the retention policy applied to snapshots on the peer. Shape: `{ \"ref\": \"/retention_policies/{id}\" }`."},"id":{"type":"integer","description":"Unique identifier."},"latest_replicated_snapshot":{"$ref":"#/components/schemas/Ref","description":"Reference to the most recently replicated snapshot. Shape: `{ \"ref\": \"/snapshots/{id}\" }`."},"local_volume_group":{"$ref":"#/components/schemas/Ref","description":"Reference to the local volume group being replicated. Shape: `{ \"ref\": \"/volume_groups/{id}\" }`."},"name":{"type":"string","description":"Local session name."},"next_snapshot":{"type":"string","nullable":true,"description":"Identifier of the next snapshot queued for replication."},"primary":{"type":"boolean","description":"Whether this side is the primary."},"remote_replication_session_id":{"type":"integer","description":"ID of the matching session on the peer SDP."},"remote_replication_session_name":{"type":"string","description":"Name of the matching session on the peer SDP."},"replication_peer_k2array":{"$ref":"#/components/schemas/Ref","description":"Reference to the peer array. Shape: `{ \"ref\": \"/replication/peer_k2arrays/{id}\" }`."},"replication_peer_volume_group":{"$ref":"#/components/schemas/Ref","description":"Reference to the peer volume group. Shape: `{ \"ref\": \"/replication/peer_volume_groups/{id}\" }`."},"replication_rpo_history":{"$ref":"#/components/schemas/Ref","description":"Reference to the RPO history collection for the session. Shape: `{ \"ref\": \"/replication/rpo_history/{id}\" }`."},"restored_snapshot":{"type":"string","nullable":true,"description":"Snapshot the session was last restored from."},"retention_policy":{"$ref":"#/components/schemas/Ref","description":"Reference to the local retention policy. Shape: `{ \"ref\": \"/retention_policies/{id}\" }`."},"rpo":{"type":"integer","description":"Target RPO in seconds."},"state":{"type":"string","description":"Current session state, e.g. `in_sync`."},"stopped":{"type":"boolean","description":"`true` if the session is stopped."},"suspend_reason":{"type":"string","description":"Free-form reason text when suspended."},"suspend_reason_code":{"type":"string","description":"Machine-readable suspend reason, e.g. `none`."},"target_exposure":{"type":"string","description":"Target-side exposure mode, e.g. `unmapped`."},"type":{"type":"string"}}},"Ref":{"type":"object","description":"Reference to another object by its canonical URL.","properties":{"ref":{"type":"string"}},"required":["ref"]},"Error":{"type":"object","properties":{"message":{"type":"string","description":"Readable description of the error."}}}},"responses":{"Error":{"description":"Error. See the **Errors** page for status codes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/replication/sessions":{"post":{"tags":["Replication sessions"],"summary":"Create replication session","operationId":"createReplicationSessions","responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplicationSessions"}}}},"default":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Create replication session","properties":{"replication_peer_k2array":{"allOf":[{"$ref":"#/components/schemas/Ref"}],"description":"Reference to the peer array. Shape: `{ \"ref\": \"/replication/peer_k2arrays/{id}\" }`."},"local_volume_group":{"allOf":[{"$ref":"#/components/schemas/Ref"}],"description":"Reference to the local volume group being replicated. Shape: `{ \"ref\": \"/volume_groups/{id}\" }`."},"rpo":{"type":"integer","description":"Target RPO in seconds."},"retention_policy":{"allOf":[{"$ref":"#/components/schemas/Ref"}],"description":"Reference to the local retention policy. Shape: `{ \"ref\": \"/retention_policies/{id}\" }`."},"external_retention_policy":{"allOf":[{"$ref":"#/components/schemas/Ref"}],"description":"Reference to the retention policy applied to snapshots on the peer. Shape: `{ \"ref\": \"/retention_policies/{id}\" }`."},"name":{"type":"string","description":"Local session name."},"replication_peer_volume_group_name":{"type":"string","description":"Override the name given to the peer volume group record."},"remote_replication_session_name":{"$ref":"#/components/schemas/ReplicationSessions/properties/remote_replication_session_name"},"auto_configure_peer_volumes":{"type":"boolean","description":"Automatically create matching peer volume records."},"target_exposure":{"$ref":"#/components/schemas/ReplicationSessions/properties/target_exposure"}},"required":["replication_peer_k2array","local_volume_group","rpo","retention_policy","external_retention_policy","name"]}}}}}}}}
```

## GET /replication/sessions/{id}

> Get a replication session

```json
{"openapi":"3.0.3","info":{"title":"Silk RESTful API","version":"9.5.20"},"tags":[{"name":"Replication sessions","description":"A replication session replicates a volume group from this system to a peer, according to a recovery point objective (RPO) and retention settings. Replication is asynchronous and snapshot-based.\n\nUse these endpoints to set up disaster recovery or data mobility for a volume group, change a session's state, update its RPO or retention policies, or manage its tags."}],"servers":[{"url":"https://{host-address}/api/v2","description":"Your Silk Data Pod (SDP)","variables":{"host-address":{"default":"sdp.example.com","description":"Management address of your SDP."}}}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"HTTP Basic authentication. The server responds only to HTTPS requests. Access to object URLs, operations, and fields depends on the user's role (for example `admin` or `viewer`)."}},"schemas":{"ReplicationSessions":{"type":"object","properties":{"common_snapshots_count":{"type":"integer","description":"Number of snapshots present on both sides."},"current_role":{"type":"string","description":"Role of this SDP for the session, e.g. `source` or `target`."},"current_snapshot":{"type":"string","nullable":true,"description":"Identifier of the snapshot currently being replicated."},"current_snapshot_progress":{"type":"integer","description":"Progress of the in-flight snapshot."},"estimated_remaining_time":{"type":"integer","nullable":true,"description":"Estimated seconds remaining on the in-flight transfer."},"external_retention_policy":{"$ref":"#/components/schemas/Ref","description":"Reference to the retention policy applied to snapshots on the peer. Shape: `{ \"ref\": \"/retention_policies/{id}\" }`."},"id":{"type":"integer","description":"Unique identifier."},"latest_replicated_snapshot":{"$ref":"#/components/schemas/Ref","description":"Reference to the most recently replicated snapshot. Shape: `{ \"ref\": \"/snapshots/{id}\" }`."},"local_volume_group":{"$ref":"#/components/schemas/Ref","description":"Reference to the local volume group being replicated. Shape: `{ \"ref\": \"/volume_groups/{id}\" }`."},"name":{"type":"string","description":"Local session name."},"next_snapshot":{"type":"string","nullable":true,"description":"Identifier of the next snapshot queued for replication."},"primary":{"type":"boolean","description":"Whether this side is the primary."},"remote_replication_session_id":{"type":"integer","description":"ID of the matching session on the peer SDP."},"remote_replication_session_name":{"type":"string","description":"Name of the matching session on the peer SDP."},"replication_peer_k2array":{"$ref":"#/components/schemas/Ref","description":"Reference to the peer array. Shape: `{ \"ref\": \"/replication/peer_k2arrays/{id}\" }`."},"replication_peer_volume_group":{"$ref":"#/components/schemas/Ref","description":"Reference to the peer volume group. Shape: `{ \"ref\": \"/replication/peer_volume_groups/{id}\" }`."},"replication_rpo_history":{"$ref":"#/components/schemas/Ref","description":"Reference to the RPO history collection for the session. Shape: `{ \"ref\": \"/replication/rpo_history/{id}\" }`."},"restored_snapshot":{"type":"string","nullable":true,"description":"Snapshot the session was last restored from."},"retention_policy":{"$ref":"#/components/schemas/Ref","description":"Reference to the local retention policy. Shape: `{ \"ref\": \"/retention_policies/{id}\" }`."},"rpo":{"type":"integer","description":"Target RPO in seconds."},"state":{"type":"string","description":"Current session state, e.g. `in_sync`."},"stopped":{"type":"boolean","description":"`true` if the session is stopped."},"suspend_reason":{"type":"string","description":"Free-form reason text when suspended."},"suspend_reason_code":{"type":"string","description":"Machine-readable suspend reason, e.g. `none`."},"target_exposure":{"type":"string","description":"Target-side exposure mode, e.g. `unmapped`."},"type":{"type":"string"}}},"Ref":{"type":"object","description":"Reference to another object by its canonical URL.","properties":{"ref":{"type":"string"}},"required":["ref"]},"Error":{"type":"object","properties":{"message":{"type":"string","description":"Readable description of the error."}}}},"responses":{"Error":{"description":"Error. See the **Errors** page for status codes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/replication/sessions/{id}":{"get":{"tags":["Replication sessions"],"summary":"Get a replication session","operationId":"getReplicationSessions","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplicationSessions"}}}},"default":{"$ref":"#/components/responses/Error"}}}}}}
```

## DELETE /replication/sessions/{id}

> Delete a replication session

```json
{"openapi":"3.0.3","info":{"title":"Silk RESTful API","version":"9.5.20"},"tags":[{"name":"Replication sessions","description":"A replication session replicates a volume group from this system to a peer, according to a recovery point objective (RPO) and retention settings. Replication is asynchronous and snapshot-based.\n\nUse these endpoints to set up disaster recovery or data mobility for a volume group, change a session's state, update its RPO or retention policies, or manage its tags."}],"servers":[{"url":"https://{host-address}/api/v2","description":"Your Silk Data Pod (SDP)","variables":{"host-address":{"default":"sdp.example.com","description":"Management address of your SDP."}}}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"HTTP Basic authentication. The server responds only to HTTPS requests. Access to object URLs, operations, and fields depends on the user's role (for example `admin` or `viewer`)."}},"responses":{"Error":{"description":"Error. See the **Errors** page for status codes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"Error":{"type":"object","properties":{"message":{"type":"string","description":"Readable description of the error."}}}}},"paths":{"/replication/sessions/{id}":{"delete":{"tags":["Replication sessions"],"summary":"Delete a replication session","operationId":"deleteReplicationSessions","responses":{"204":{"description":"No content"},"default":{"$ref":"#/components/responses/Error"}}}}}}
```

## PATCH /replication/sessions/{id}

> Update a replication session

```json
{"openapi":"3.0.3","info":{"title":"Silk RESTful API","version":"9.5.20"},"tags":[{"name":"Replication sessions","description":"A replication session replicates a volume group from this system to a peer, according to a recovery point objective (RPO) and retention settings. Replication is asynchronous and snapshot-based.\n\nUse these endpoints to set up disaster recovery or data mobility for a volume group, change a session's state, update its RPO or retention policies, or manage its tags."}],"servers":[{"url":"https://{host-address}/api/v2","description":"Your Silk Data Pod (SDP)","variables":{"host-address":{"default":"sdp.example.com","description":"Management address of your SDP."}}}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"HTTP Basic authentication. The server responds only to HTTPS requests. Access to object URLs, operations, and fields depends on the user's role (for example `admin` or `viewer`)."}},"schemas":{"ReplicationSessions":{"type":"object","properties":{"common_snapshots_count":{"type":"integer","description":"Number of snapshots present on both sides."},"current_role":{"type":"string","description":"Role of this SDP for the session, e.g. `source` or `target`."},"current_snapshot":{"type":"string","nullable":true,"description":"Identifier of the snapshot currently being replicated."},"current_snapshot_progress":{"type":"integer","description":"Progress of the in-flight snapshot."},"estimated_remaining_time":{"type":"integer","nullable":true,"description":"Estimated seconds remaining on the in-flight transfer."},"external_retention_policy":{"$ref":"#/components/schemas/Ref","description":"Reference to the retention policy applied to snapshots on the peer. Shape: `{ \"ref\": \"/retention_policies/{id}\" }`."},"id":{"type":"integer","description":"Unique identifier."},"latest_replicated_snapshot":{"$ref":"#/components/schemas/Ref","description":"Reference to the most recently replicated snapshot. Shape: `{ \"ref\": \"/snapshots/{id}\" }`."},"local_volume_group":{"$ref":"#/components/schemas/Ref","description":"Reference to the local volume group being replicated. Shape: `{ \"ref\": \"/volume_groups/{id}\" }`."},"name":{"type":"string","description":"Local session name."},"next_snapshot":{"type":"string","nullable":true,"description":"Identifier of the next snapshot queued for replication."},"primary":{"type":"boolean","description":"Whether this side is the primary."},"remote_replication_session_id":{"type":"integer","description":"ID of the matching session on the peer SDP."},"remote_replication_session_name":{"type":"string","description":"Name of the matching session on the peer SDP."},"replication_peer_k2array":{"$ref":"#/components/schemas/Ref","description":"Reference to the peer array. Shape: `{ \"ref\": \"/replication/peer_k2arrays/{id}\" }`."},"replication_peer_volume_group":{"$ref":"#/components/schemas/Ref","description":"Reference to the peer volume group. Shape: `{ \"ref\": \"/replication/peer_volume_groups/{id}\" }`."},"replication_rpo_history":{"$ref":"#/components/schemas/Ref","description":"Reference to the RPO history collection for the session. Shape: `{ \"ref\": \"/replication/rpo_history/{id}\" }`."},"restored_snapshot":{"type":"string","nullable":true,"description":"Snapshot the session was last restored from."},"retention_policy":{"$ref":"#/components/schemas/Ref","description":"Reference to the local retention policy. Shape: `{ \"ref\": \"/retention_policies/{id}\" }`."},"rpo":{"type":"integer","description":"Target RPO in seconds."},"state":{"type":"string","description":"Current session state, e.g. `in_sync`."},"stopped":{"type":"boolean","description":"`true` if the session is stopped."},"suspend_reason":{"type":"string","description":"Free-form reason text when suspended."},"suspend_reason_code":{"type":"string","description":"Machine-readable suspend reason, e.g. `none`."},"target_exposure":{"type":"string","description":"Target-side exposure mode, e.g. `unmapped`."},"type":{"type":"string"}}},"Ref":{"type":"object","description":"Reference to another object by its canonical URL.","properties":{"ref":{"type":"string"}},"required":["ref"]},"UserTag":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"},"is_inheritable":{"type":"boolean"},"is_automatic":{"type":"boolean"}}},"Error":{"type":"object","properties":{"message":{"type":"string","description":"Readable description of the error."}}}},"responses":{"Error":{"description":"Error. See the **Errors** page for status codes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/replication/sessions/{id}":{"patch":{"tags":["Replication sessions"],"summary":"Update a replication session","operationId":"updateReplicationSessions","requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Change session state","properties":{"name":{"type":"string","description":"Local session name."},"state":{"$ref":"#/components/schemas/ReplicationSessions/properties/state"},"snapshot_wwn":{"type":"string"},"offline_initial_sync":{"type":"boolean","description":"**Option 2 — Update session settings:**"}},"required":["name","state"]},{"type":"object","title":"Update session settings","properties":{"name":{"type":"string","description":"Local session name."},"rpo":{"type":"integer","description":"Target RPO in seconds."},"retention_policy":{"allOf":[{"$ref":"#/components/schemas/Ref"}],"description":"Reference to the local retention policy. Shape: `{ \"ref\": \"/retention_policies/{id}\" }`."},"external_retention_policy":{"allOf":[{"$ref":"#/components/schemas/Ref"}],"description":"Reference to the retention policy applied to snapshots on the peer. Shape: `{ \"ref\": \"/retention_policies/{id}\" }`."},"target_exposure":{"$ref":"#/components/schemas/ReplicationSessions/properties/target_exposure"}},"required":["name"]},{"type":"object","title":"Maintain tags","properties":{"action":{"type":"string","enum":["set_object_tags"],"description":"Tag operation to perform."},"chkargs_validation_only":{"type":"boolean","description":"If `true`, validates the request and reports whether it would succeed without applying it."},"user_tags":{"type":"array","items":{"$ref":"#/components/schemas/UserTag"},"description":"Tags to set on the object."}}}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplicationSessions"}}}},"default":{"$ref":"#/components/responses/Error"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.silk.us/api-reference/endpoints/replication/replication-sessions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
