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

# Knowledge

> Read and manage documents, namespaces, and document versions.

Command syntax for Parkes CLI **0.1.3**. These sections are generated from the command inventory and executable help. See [global options and scripting](https://developers.parkes.ai/cli/SCRIPTING.md) for shared behavior.

## parkes knowledge archive

Archive document.

```text theme={null}
Usage: parkes knowledge archive [OPTIONS] <ID>

Arguments:
  <ID>

Options:
      --profile <PROFILE>  [env: PARKES_PROFILE=]
      --org <ORG>          [env: PARKES_ORG=]
      --output <OUTPUT>    [possible values: table, json, jsonl]
      --no-input
      --yes
      --quiet
      --verbose
      --timeout <TIMEOUT>  [default: 30s]
      --color <COLOR>      [default: auto] [possible values: auto, always, never]
  -h, --help               Print help
```

## parkes knowledge backlinks

List incoming document links.

```text theme={null}
Usage: parkes knowledge backlinks [OPTIONS] <ID>

Arguments:
  <ID>

Options:
      --limit <LIMIT>      [default: 50]
      --profile <PROFILE>  [env: PARKES_PROFILE=]
      --cursor <CURSOR>
      --org <ORG>          [env: PARKES_ORG=]
      --all
      --output <OUTPUT>    [possible values: table, json, jsonl]
      --no-input
      --yes
      --quiet
      --verbose
      --timeout <TIMEOUT>  [default: 30s]
      --color <COLOR>      [default: auto] [possible values: auto, always, never]
  -h, --help               Print help
```

## parkes knowledge create

Create document.

```text theme={null}
Usage: parkes knowledge create [OPTIONS] --namespace <NAMESPACE> --path <PATH> --content <CONTENT>

Options:
      --namespace <NAMESPACE>
      --profile <PROFILE>      [env: PARKES_PROFILE=]
      --org <ORG>              [env: PARKES_ORG=]
      --path <PATH>
      --content <CONTENT>
      --output <OUTPUT>        [possible values: table, json, jsonl]
      --no-input
      --yes
      --quiet
      --verbose
      --timeout <TIMEOUT>      [default: 30s]
      --color <COLOR>          [default: auto] [possible values: auto, always, never]
  -h, --help                   Print help
```

## parkes knowledge edit

Edit Markdown in VISUAL or EDITOR with the fetched version.

```text theme={null}
Usage: parkes knowledge edit [OPTIONS] <ID>

Arguments:
  <ID>

Options:
      --profile <PROFILE>  [env: PARKES_PROFILE=]
      --org <ORG>          [env: PARKES_ORG=]
      --output <OUTPUT>    [possible values: table, json, jsonl]
      --no-input
      --yes
      --quiet
      --verbose
      --timeout <TIMEOUT>  [default: 30s]
      --color <COLOR>      [default: auto] [possible values: auto, always, never]
  -h, --help               Print help
```

## parkes knowledge export

Write Markdown content to stdout.

```text theme={null}
Usage: parkes knowledge export [OPTIONS] <ID>

Arguments:
  <ID>

Options:
      --profile <PROFILE>  [env: PARKES_PROFILE=]
      --version <VERSION>
      --org <ORG>          [env: PARKES_ORG=]
      --output <OUTPUT>    [possible values: table, json, jsonl]
      --no-input
      --yes
      --quiet
      --verbose
      --timeout <TIMEOUT>  [default: 30s]
      --color <COLOR>      [default: auto] [possible values: auto, always, never]
  -h, --help               Print help
```

## parkes knowledge get

Get document.

```text theme={null}
Usage: parkes knowledge get [OPTIONS] <ID>

Arguments:
  <ID>

Options:
      --profile <PROFILE>  [env: PARKES_PROFILE=]
      --org <ORG>          [env: PARKES_ORG=]
      --output <OUTPUT>    [possible values: table, json, jsonl]
      --no-input
      --yes
      --quiet
      --verbose
      --timeout <TIMEOUT>  [default: 30s]
      --color <COLOR>      [default: auto] [possible values: auto, always, never]
  -h, --help               Print help
```

## parkes knowledge history

List document history.

```text theme={null}
Usage: parkes knowledge history [OPTIONS] <ID>

Arguments:
  <ID>

Options:
      --limit <LIMIT>      [default: 50]
      --profile <PROFILE>  [env: PARKES_PROFILE=]
      --cursor <CURSOR>
      --org <ORG>          [env: PARKES_ORG=]
      --all
      --output <OUTPUT>    [possible values: table, json, jsonl]
      --no-input
      --yes
      --quiet
      --verbose
      --timeout <TIMEOUT>  [default: 30s]
      --color <COLOR>      [default: auto] [possible values: auto, always, never]
  -h, --help               Print help
```

## parkes knowledge links

List outgoing document links.

```text theme={null}
Usage: parkes knowledge links [OPTIONS] <ID>

Arguments:
  <ID>

Options:
      --limit <LIMIT>      [default: 50]
      --profile <PROFILE>  [env: PARKES_PROFILE=]
      --cursor <CURSOR>
      --org <ORG>          [env: PARKES_ORG=]
      --all
      --output <OUTPUT>    [possible values: table, json, jsonl]
      --no-input
      --yes
      --quiet
      --verbose
      --timeout <TIMEOUT>  [default: 30s]
      --color <COLOR>      [default: auto] [possible values: auto, always, never]
  -h, --help               Print help
```

## parkes knowledge list

List documents.

```text theme={null}
Usage: parkes knowledge list [OPTIONS] --namespace <NAMESPACE>

Options:
      --namespace <NAMESPACE>
      --profile <PROFILE>      [env: PARKES_PROFILE=]
      --org <ORG>              [env: PARKES_ORG=]
      --path <PATH>
      --limit <LIMIT>          [default: 50]
      --output <OUTPUT>        [possible values: table, json, jsonl]
      --cursor <CURSOR>
      --no-input
      --all
      --yes
      --quiet
      --verbose
      --timeout <TIMEOUT>      [default: 30s]
      --color <COLOR>          [default: auto] [possible values: auto, always, never]
  -h, --help                   Print help
```

## parkes knowledge namespaces get

Get namespace.

```text theme={null}
Usage: parkes knowledge namespaces get [OPTIONS] <ID>

Arguments:
  <ID>

Options:
      --profile <PROFILE>  [env: PARKES_PROFILE=]
      --org <ORG>          [env: PARKES_ORG=]
      --output <OUTPUT>    [possible values: table, json, jsonl]
      --no-input
      --yes
      --quiet
      --verbose
      --timeout <TIMEOUT>  [default: 30s]
      --color <COLOR>      [default: auto] [possible values: auto, always, never]
  -h, --help               Print help
```

## parkes knowledge namespaces list

List namespaces.

```text theme={null}
Usage: parkes knowledge namespaces list [OPTIONS]

Options:
      --limit <LIMIT>      [default: 50]
      --profile <PROFILE>  [env: PARKES_PROFILE=]
      --cursor <CURSOR>
      --org <ORG>          [env: PARKES_ORG=]
      --all
      --output <OUTPUT>    [possible values: table, json, jsonl]
      --no-input
      --yes
      --quiet
      --verbose
      --timeout <TIMEOUT>  [default: 30s]
      --color <COLOR>      [default: auto] [possible values: auto, always, never]
  -h, --help               Print help
```

## parkes knowledge patch

Edit document.

```text theme={null}
Usage: parkes knowledge patch [OPTIONS] --file <FILE> --if-version <IF_VERSION> <ID>

Arguments:
  <ID>

Options:
      --file <FILE>
      --profile <PROFILE>        [env: PARKES_PROFILE=]
      --if-version <IF_VERSION>
      --org <ORG>                [env: PARKES_ORG=]
      --output <OUTPUT>          [possible values: table, json, jsonl]
      --no-input
      --yes
      --quiet
      --verbose
      --timeout <TIMEOUT>        [default: 30s]
      --color <COLOR>            [default: auto] [possible values: auto, always, never]
  -h, --help                     Print help
```

## parkes knowledge search

Search knowledge.

```text theme={null}
Usage: parkes knowledge search [OPTIONS] <QUERY>

Arguments:
  <QUERY>

Options:
      --namespace <NAMESPACE>
      --profile <PROFILE>      [env: PARKES_PROFILE=]
      --limit <LIMIT>          [default: 25]
      --org <ORG>              [env: PARKES_ORG=]
      --output <OUTPUT>        [possible values: table, json, jsonl]
      --no-input
      --yes
      --quiet
      --verbose
      --timeout <TIMEOUT>      [default: 30s]
      --color <COLOR>          [default: auto] [possible values: auto, always, never]
  -h, --help                   Print help
```

## parkes knowledge tree

Get knowledge tree.

```text theme={null}
Usage: parkes knowledge tree [OPTIONS] --namespace <NAMESPACE>

Options:
      --namespace <NAMESPACE>
      --profile <PROFILE>      [env: PARKES_PROFILE=]
      --org <ORG>              [env: PARKES_ORG=]
      --path <PATH>
      --limit <LIMIT>          [default: 50]
      --output <OUTPUT>        [possible values: table, json, jsonl]
      --cursor <CURSOR>
      --no-input
      --all
      --yes
      --quiet
      --verbose
      --timeout <TIMEOUT>      [default: 30s]
      --color <COLOR>          [default: auto] [possible values: auto, always, never]
  -h, --help                   Print help
```

## parkes knowledge update

Update document.

```text theme={null}
Usage: parkes knowledge update [OPTIONS] --content <CONTENT> --if-version <IF_VERSION> <ID>

Arguments:
  <ID>

Options:
      --content <CONTENT>
      --profile <PROFILE>        [env: PARKES_PROFILE=]
      --if-version <IF_VERSION>
      --org <ORG>                [env: PARKES_ORG=]
      --output <OUTPUT>          [possible values: table, json, jsonl]
      --no-input
      --yes
      --quiet
      --verbose
      --timeout <TIMEOUT>        [default: 30s]
      --color <COLOR>            [default: auto] [possible values: auto, always, never]
  -h, --help                     Print help
```

## parkes knowledge versions get

Get document version.

```text theme={null}
Usage: parkes knowledge versions get [OPTIONS] <ID> <VERSION>

Arguments:
  <ID>
  <VERSION>

Options:
      --profile <PROFILE>  [env: PARKES_PROFILE=]
      --org <ORG>          [env: PARKES_ORG=]
      --output <OUTPUT>    [possible values: table, json, jsonl]
      --no-input
      --yes
      --quiet
      --verbose
      --timeout <TIMEOUT>  [default: 30s]
      --color <COLOR>      [default: auto] [possible values: auto, always, never]
  -h, --help               Print help
```


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