# Save object selections

AI agent getting started? Read [Agents: start here](https://docs.openeng.io/agents/start-here.md) first.

Keep a named selection and reopen it on a branch or baseline.

Source: https://docs.openeng.io/guides/object-sets/

An object set keeps a named selection for a review or investigation. Share its Explore link with colleagues to give them the relevant context. It stores references to records rather than copies, so you can revisit those records on a chosen branch. Sharing the link does not change anyone’s access permissions.

An **object set** is a named collection of object addresses: references identified by project and object ID. It can span projects in your organisation.
Save up to 200 selected addresses. It stores membership, not copies of objects or a branch or baseline.
Choose the branch or baseline when opening it.

## Save and share from Explore

1. Open **Explore** for your project and branch. Search for records and use **Add to graph**, or **Add all results to graph**, to put the objects you want on the canvas.
2. Open **Save options** and choose **Save object set as…**.
3. Enter a **Set name** and choose **Save object set**.
4. Copy the resulting Explore address from your browser and share it with your colleagues.

The set saves the objects on the canvas, not their values or the graph layout.

## Reopen or update a set

Follow a shared Explore link, or choose **Save options → Open object set…**, paste its ID or Explore link, and choose **Open object set**. Opening a set replaces the objects on your canvas. Their values come from the branch or baseline you are viewing.

After changing the objects on the canvas, choose **Save** to update the open set. Only its creator or an organisation administrator can update it. Choose **Save object set as…** to keep a separate copy.

## Use the CLI

Use the CLI with your returned project, object and set identifiers:

```sh
openeng objects-sdk createObjectSet --selector '{"projectId":"<project-id>","ref":"main"}' --input '{"name":"Review","members":[{"projectId":"<project-id>","objectId":"<object-id>"}]}'
openeng objects-sdk readObjectSet --selector '{"projectId":"<project-id>","ref":"main"}' --input '{"setId":"<set-id>"}'
openeng link explore --project <project-id> --ref main --object-set <set-id>
openeng objects-sdk updateObjectSet --selector '{"projectId":"<project-id>","ref":"main"}' --input '{"setId":"<set-id>","revision":1,"members":[{"projectId":"<project-id>","objectId":"<replacement-object-id>"}]}'
```

1. Keep the `setId` returned when you create the set.
2. To replace it, read its latest revision.
3. Use that revision in place of the example's `1`, and supply the new members you can read. Members outside your access remain saved.
4. Replace the set as its creator or an organisation administrator; readers can open it.

A read shows a count of members in readable projects that are missing on this branch or baseline, never their identifiers.
For members outside your access, it shows only a notice that some are withheld, with no identifiers or count.
