<!--
{
  "availability" : [
    "iOS: 9.3.0 -",
    "iPadOS: 9.3.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "swift: 4.2.0 -",
    "tvOS: 9.2.0 -",
    "visionOS: -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKOperation/operationID-8auuc",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "s:So11CKOperationC8CloudKitE11operationIDSSvp"
  },
  "title" : "operationID"
}
-->

# operationID

A unique identifier for a long-lived operation.

```
var operationID: CKOperation.ID { get }
```

## Discussion

Pass this property’s value to the [`longLivedOperation(for:)`](/documentation/CloudKit/CKContainer/longLivedOperation(for:)) method to fetch the corresponding long-lived operation. For more information, see [`Long-Lived Operations`](/documentation/CloudKit/CKOperation#Long-Lived-Operations).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)