Update api-reference.md

correção de um erro
This commit is contained in:
forggiamiguel-dev 2026-09-29 20:35:16 -03:00 committed by GitHub
parent b3511efe14
commit db3ed514c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,13 +1,3 @@
## Conventions
**Base URL:** `http://<your-server>/api`
**Responses:**
- Success responses include `{ "success": true }` and an HTTP 2xx status
- Error responses return the appropriate HTTP status (400, 404, 409, 500) with an error message
- Long-running operations (downloads, benchmarks, embeddings) return 201 or 202 with a job/benchmark ID for polling
**Async pattern:** Submit a job → receive an ID → poll a status endpoint until complete.
# Documentação da API