---
title: "noket upstream"
description: "Manage local upstream LLM APIs"
---

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

# noket upstream

Manage local upstream LLM APIs

Part of [`noket`](https://docs.noket.dev/reference/cli/).

## Usage

```sh
noket upstream <command> [flags]
```

## Commands

| Command | Description |
| --- | --- |
| [`add`](https://docs.noket.dev/reference/cli/upstream/add/) | Add an upstream; edit it when the name already exists |
| [`edit`](https://docs.noket.dev/reference/cli/upstream/edit/) | Edit an upstream |
| [`list`](https://docs.noket.dev/reference/cli/upstream/list/) | List upstreams and models |
| [`remove`](https://docs.noket.dev/reference/cli/upstream/remove/) | Remove an upstream |
| [`test`](https://docs.noket.dev/reference/cli/upstream/test/) | Request the upstream /v1/models endpoint to check the URL and key |

## Inherited flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-v`, `--verbose` | `bool` | — | enable debug logging |

Source: https://docs.noket.dev/reference/cli/upstream/index.mdx
