create() to wait for the
result, or submit() to start a job and retrieve() to check it later.
The SDK examples show both flows with complete code.
Model
The API model isgalileo2-pm, which checks prompt
alignment and requires a prompt. It is also what runs when model is omitted.
GET /v1/models lists it with the checks it runs. Any other model name is
refused before anything is charged: galileo-1.0 and galileo with
400 model_not_available, a name that does not exist with 400 unknown_model.
glitch_types may name only prompt_misalignment; any other value is refused
with 400 unsupported_glitch_type.
Read the result
An evaluation settles atcompleted, partial, or failed.
result.summary describes the overall assessment. result.glitches contains
the findings; an empty list means no findings were reported by the completed checks.
Only read a finding’s type-specific fields after checking its
type.
See error codes for failed or partial evaluations.
Evaluation history
iterate() fetches pages automatically, newest first. Use status to filter results.
The examples below use an initialized client.
This list is scoped to the API key making the request — it will not include
evaluations submitted from the Console or
from a different API key. Each key, and the Console, has its own history.
- Python
- TypeScript