Skip to content

docs: Fix server API key doc for /props (move it to /health) - #14352

Merged
ngxson merged 1 commit into
ggml-org:masterfrom
pnb:fix-apikey-doc
Jun 24, 2025
Merged

ngxson merged 1 commit into
ggml-org:masterfrom
pnb:fix-apikey-doc

Conversation

@pnb

@pnb pnb commented Jun 23, 2025

Copy link
Copy Markdown
Contributor

I noticed that the llama-server README alleges that /props has "no API key check". However, it does. For example:

./llama-server -m Qwen3-0.6B-Q8_0.gguf --api-key abc123
curl http://localhost:8080/props

Result:

{"error":{"code":401,"message":"Invalid API Key","type":"authentication_error"}}

c.f. adding -H 'Authorization: Bearer abc123' to curl which then works.

Conversely, the /health endpoint does not require an API key, which is not noted in the docs, but which was helpful (for me) to know. So I moved that sentence of the docs in this PR.

@ngxson
ngxson merged commit 1b809ce into ggml-org:master Jun 24, 2025
gabe-l-hart added a commit to gabe-l-hart/llama.cpp that referenced this pull request Jun 27, 2025
* mamba2-sync: (22 commits)
recurrent : call balloc split_reset() in init_batch() (ggml-org#14414)
ggml : add ggml_set_rows (ggml-org#14274)
convert : fix broken sentencepiece vocab (ggml-org#14416)
mamba : fix mismatched new and delete size for llm_build_mamba
model : gemma3n text-only (ggml-org#14400)
cmake: regen vulkan shaders when shaders-gen sources change (ggml-org#14398)
llama : return mistral-v7-tekken as default template only (ggml-org#14390)
metal : add special-case mat-vec mul for ne00 == 4 (ggml-org#14385)
metal : batch rows copy in a single threadgroup (ggml-org#14384)
docs: update s390x documentation + add faq (ggml-org#14389)
musa: enable fp16 mma (all) and cublas on qy2 (ggml-org#13842)
ggml-cpu: enable IBM NNPA Vector Intrinsics (ggml-org#14317)
ggml : do not output unprintable characters on GGUF load failure (ggml-org#14381)
sycl: GGML_SYCL_DISABLE_OPT on by default for all Intel Devices (ggml-org#13973)
opencl: ref count `ggml_backend_opencl_context` and refactor profiling (ggml-org#14254)
batch : fix check for empty sequences in memory (ggml-org#14364)
cmake : use LLAMA_BUILD_NUMBER when defining LLAMA_INSTALL_VERSION (ggml-org#14362)
server : move no API key doc to /health (ggml-org#14352)
main : honor --verbose-prompt on interactive prompts (ggml-org#14350)
jinja : Add Mistral-Small-3.2-24B-Instruct-2506.jinja (ggml-org#14349)
...
qnixsynapse pushed a commit to janhq/llama.cpp that referenced this pull request Jul 2, 2025
qnixsynapse pushed a commit to janhq/llama.cpp that referenced this pull request Jul 6, 2025
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
zommiommy pushed a commit to zommiommy/llama.cpp that referenced this pull request Aug 18, 2026
frostyautumnleaf pushed a commit to frostyautumnleaf/llama.cpp that referenced this pull request Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants