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

# URL Operations

## url.authority

Return the authority of the expression.

## url.file

Parse a URL and extract the file.

## url.fragment

Parse a URL and extract fragment identifier.

## url.host

Parse a URL and extract the host.

## url.path

Parse a URL and extract the path.

## url.protocol

Parse a URL and extract the protocol.

## url.query

Parse a URL and extract the query string. If a key is specified, then the value of that key is returned. Otherwise, the entire query string is returned.

<Accordion title="Parameters">
  <ParamField body="key" type="str | StringValue | None" required={false} />
</Accordion>

## url.userinfo

Parse a URL and extract the userinfo.
