---
url: 'https://adk.nht.io/api/@nhtio/adk/batteries/media/functions/parsePipeRaw.md'
---

# Function: parsePipeRaw()

```ts
function parsePipeRaw(input: string): RawSegment[];
```

Defined in: [src/batteries/media/pipe.ts:343](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/media/pipe.ts#L343)

Parse a pipe expression into raw, position-bearing segments.

## Parameters

| Parameter | Type     | Description          |
| --------- | -------- | -------------------- |
| `input`   | `string` | The pipe expression. |

## Returns

[`RawSegment`](../interfaces/RawSegment.md)\[]

The raw segments.

## Remarks

Purely syntactic — verbs are fold-matched against the full verb table for canonicalization
but unknown verbs are NOT an error here (the validator reports them with did-you-mean and the
deployment's narrowed verb list). Pair with `validateSegments` for the validated path.
