Update API endpoints in managing instances and quick start documentation

This commit is contained in:
2025-10-26 16:35:58 +01:00
parent 59c954811d
commit eac4f834c0
2 changed files with 16 additions and 16 deletions

View File

@@ -132,10 +132,10 @@ You can also manage instances via the REST API:
```bash
# List all instances
curl http://localhost:8080/api/instances
curl http://localhost:8080/api/v1/instances
# Create a new llama.cpp instance
curl -X POST http://localhost:8080/api/instances/my-model \
curl -X POST http://localhost:8080/api/v1/instances/my-model \
-H "Content-Type: application/json" \
-d '{
"backend_type": "llama_cpp",
@@ -145,7 +145,7 @@ curl -X POST http://localhost:8080/api/instances/my-model \
}'
# Start an instance
curl -X POST http://localhost:8080/api/instances/my-model/start
curl -X POST http://localhost:8080/api/v1/instances/my-model/start
```
## OpenAI Compatible API