Saltar al contenido
NotHolyDocs

Playground

Chat completions

POST /v1/chat/completions en formato OpenAI, con o sin streaming.

POSThttps://api.notholy.com/v1/chat/completions

Se queda solo en esta pestaña del navegador y solo se envía a api.notholy.com.

Pega una clave de API para enviar esta solicitud.
Respuesta
Envía una solicitud para ver aquí la respuesta tal cual.

La misma solicitud con curl

curl
curl -X POST https://api.notholy.com/v1/chat/completions \
  -H "Authorization: Bearer $NOTHOLY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "notholy-specter",
  "messages": [
    {
      "role": "user",
      "content": "List three checks for an SSRF fix."
    }
  ],
  "max_tokens": 400
}'