REST API
The REST interface is fully supported and works with any language that can send HTTPS requests.
Request template
4 lines
curl -X POST https://api.nascentist.ai/v1/complete \
-H "Authorization: Bearer nsc_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"def greet(name):","max_tokens":120}'Recommended integration checklist
- Send requests only from trusted backend services.
- Set timeouts and retry only transient failures.
- Log response IDs and usage for observability.
- Respect rate-limit headers and 429 backoff hints.