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

# EndpointSegmentSortInput

> Assignment of a segment to an endpoint at one place in its content: the root card or a related card.



**Kind**: `input`

## Fields

**`apiVersionId`**: `SortEnumType`

Raw id of the endpoint's API version (a UUID).

---

**`appliedToRoot`**: `SortEnumType`

True when the segment filters the endpoint's root cards; false when it filters cards reached through a relation.

---

**`contentPath`**: `SortEnumType`

Where in the content the segment applies: the root card definition id (e.g. `product`), or for related cards `<root card definition id>/<relation name>/<target card definition id>`, repeated per level (e.g. `product/variants/variant`). The relation name is its alias, or its id when there's no alias. `queueSegmentChangesForEndpoint` takes the same format in `path`.

---

**`endpoint`**: `EndpointSortInput`

---

**`endpointId`**: `SortEnumType`

Raw id of the endpoint (a UUID).

---

**`segment`**: `SegmentSortInput`

---

**`segmentDefinitionId`**: `SortEnumType`

Raw id of the segment definition.

---

**`segmentId`**: `SortEnumType`

---

**`tenantId`**: `SortEnumType`



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.