Sign in to the console with Google. Create a key, copy it once and set the NGILA_API_KEY environment variable on your server.
Create API key ↗curl https://api.ngila.ai/v1/systemone \
-H "Authorization: Bearer $NGILA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ngila-judge",
"state": "The book is red.",
"questions": {
"red": {
"type": "noul",
"instructions": "Is the book red?"
}
}
}'Read the probability of yes from answers.red.noul. This sample returned 0.98065 in a live run.
Inspect your first answer
Check the HTTP status before reading JSON. Find the named answer under answers, then inspect usage.input_tokens. In the console, Usage groups those input tokens by API or Playground.
The minimum you need for a request
Send one state value with the evidence and one named question for each decision your code needs. Choice selects a label, Score applies an ordered rubric, Noul estimates a yes probability, Box locates an image region, and Span extracts matching passages.
Build with a coding agent
Give your agent the Ngila integration skill and describe the decisions you want the deployed application to make.
Continue with question types or set up the client libraries.