List Audit Targets#
import os
from nemo_microservices import NeMoMicroservices
client = NeMoMicroservices(base_url=os.getenv("AUDITOR_BASE_URL"))
targets = client.beta.audit.targets.list()
print("\n".join([target.model_dump_json(indent=2) for target in targets]))
curl -X GET "${AUDITOR_BASE_URL}/v1beta1/audit/targets" \
-H "Accept: application/json" | jq
Example Output
{
"model": "nvidia/llama-3.1-nemotron-nano-8b-v1",
"type": "nim.NVOpenAIChat",
"id": "audit_target-GprNifhMDhduQSbNiz9pdQ",
"created_at": "2025-11-25T16:30:30.784251Z",
"custom_fields": {},
"description": null,
"entity_id": "audit_target-GprNifhMDhduQSbNiz9pdQ",
"name": "demo-build-nvidia-com-target",
"namespace": "default",
"options": {
"nim": {
"skip_seq_start": "<think>",
"skip_seq_end": "</think>",
"max_tokens": 3200,
"uri": "https://integrate.api.nvidia.com/v1/"
}
},
"ownership": null,
"project": null,
"schema_version": "1.0",
"type_prefix": null,
"updated_at": "2025-11-25T16:30:30.784251Z"
}
{
"model": "nvidia/llama-3.1-nemotron-nano-8b-v1",
"type": "nim.NVOpenAIChat",
"id": "audit_target-QNf7Uqf5U27Pdjej4khXcZ",
"created_at": "2025-11-25T16:30:30.864858Z",
"custom_fields": {},
"description": null,
"entity_id": "audit_target-QNf7Uqf5U27Pdjej4khXcZ",
"name": "demo-nemo-platform-target",
"namespace": "default",
"options": {
"nim": {
"skip_seq_start": "<think>",
"skip_seq_end": "</think>",
"max_tokens": 3200,
"uri": "http://nemo-nim-proxy:8000/v1/"
}
},
"ownership": null,
"project": null,
"schema_version": "1.0",
"type_prefix": null,
"updated_at": "2025-11-25T16:30:30.864858Z"
}
{
"model": "gpt-4o",
"type": "openai.OpenAIGenerator",
"id": "audit_target-3tFHLWMq4whANsqHsbYJmZ",
"created_at": "2025-11-25T16:30:30.944463Z",
"custom_fields": {},
"description": null,
"entity_id": "audit_target-3tFHLWMq4whANsqHsbYJmZ",
"name": "demo-openai-target",
"namespace": "default",
"options": {
"openai": {
"uri": "https://api.openai.com/v1/",
"max_tokens": 1024,
"seed": 42
}
},
"ownership": null,
"project": null,
"schema_version": "1.0",
"type_prefix": null,
"updated_at": "2025-11-25T16:30:30.944463Z"
}
{
"model": "nvidia/nemotron-nano-12b-v2-vl",
"type": "nim.NVOpenAIChat",
"id": "audit_target-HPUmr4s8iQxFFXa1H2oUmi",
"created_at": "2025-11-25T16:30:31.026977Z",
"custom_fields": {},
"description": null,
"entity_id": "audit_target-HPUmr4s8iQxFFXa1H2oUmi",
"name": "demo-basic-target",
"namespace": "default",
"options": {
"nim": {
"skip_seq_start": "<think>",
"skip_seq_end": "</think>",
"max_tokens": 3200,
"uri": "https://integrate.api.nvidia.com/v1/"
}
},
"ownership": null,
"project": null,
"schema_version": "1.0",
"type_prefix": null,
"updated_at": "2025-11-25T16:30:31.026977Z"
}
{
"model": "ignored",
"type": "test.Blank",
"id": "audit_target-PabgVwWedevKEauUeuRQAM",
"created_at": "2025-11-25T16:30:31.104261Z",
"custom_fields": {},
"description": null,
"entity_id": "audit_target-PabgVwWedevKEauUeuRQAM",
"name": "demo-blank-target",
"namespace": "default",
"options": {},
"ownership": null,
"project": null,
"schema_version": "1.0",
"type_prefix": null,
"updated_at": "2025-11-25T16:30:31.104261Z"
}
{
"model": "nvidia/llama-3.1-nemotron-nano-8b-v1",
"type": "nim.NVOpenAIChat",
"id": "audit_target-GCzL9fNybqHqgLFhdmFQXd",
"created_at": "2025-11-25T16:30:31.119592Z",
"custom_fields": {},
"description": null,
"entity_id": "audit_target-GCzL9fNybqHqgLFhdmFQXd",
"name": "demo-local-llm-target",
"namespace": "default",
"options": {
"nim": {
"skip_seq_start": "<think>",
"skip_seq_end": "</think>",
"max_tokens": 3200,
"uri": "http://nim:8000/v1/"
}
},
"ownership": null,
"project": null,
"schema_version": "1.0",
"type_prefix": null,
"updated_at": "2025-11-25T16:30:31.119592Z"
}
[
{
"schema_version": "1.0",
"id": "audit_target-DqvbQ4bDx98snbnntRGb44",
"description": null,
"type_prefix": null,
"namespace": "default",
"project": null,
"created_at": "2025-11-25T18:42:48.627784Z",
"updated_at": "2025-11-25T18:42:48.627784Z",
"custom_fields": {},
"ownership": null,
"name": "demo-build-nvidia-com-target",
"entity_id": "audit_target-DqvbQ4bDx98snbnntRGb44",
"type": "nim.NVOpenAIChat",
"model": "nvidia/llama-3.1-nemotron-nano-8b-v1",
"options": {
"nim": {
"skip_seq_start": "<think>",
"skip_seq_end": "</think>",
"max_tokens": 3200,
"uri": "https://integrate.api.nvidia.com/v1/"
}
}
},
{
"schema_version": "1.0",
"id": "audit_target-8wbL9ivp1bCjLYxsUuFT87",
"description": null,
"type_prefix": null,
"namespace": "default",
"project": null,
"created_at": "2025-11-25T18:42:48.663790Z",
"updated_at": "2025-11-25T18:42:48.663790Z",
"custom_fields": {},
"ownership": null,
"name": "demo-nemo-platform-target",
"entity_id": "audit_target-8wbL9ivp1bCjLYxsUuFT87",
"type": "nim.NVOpenAIChat",
"model": "nvidia/llama-3.1-nemotron-nano-8b-v1",
"options": {
"nim": {
"skip_seq_start": "<think>",
"skip_seq_end": "</think>",
"max_tokens": 3200,
"uri": "http://nemo-nim-proxy:8000/v1/"
}
}
},
{
"schema_version": "1.0",
"id": "audit_target-BFbwsat6rRCQ3uNUMCDDWd",
"description": null,
"type_prefix": null,
"namespace": "default",
"project": null,
"created_at": "2025-11-25T18:42:48.687221Z",
"updated_at": "2025-11-25T18:42:48.687221Z",
"custom_fields": {},
"ownership": null,
"name": "demo-openai-target",
"entity_id": "audit_target-BFbwsat6rRCQ3uNUMCDDWd",
"type": "openai.OpenAIGenerator",
"model": "gpt-4o",
"options": {
"openai": {
"uri": "https://api.openai.com/v1/",
"max_tokens": 1024,
"seed": 42
}
}
},
{
"schema_version": "1.0",
"id": "audit_target-LwsHgQf8hsuyJT6daRszGQ",
"description": null,
"type_prefix": null,
"namespace": "default",
"project": null,
"created_at": "2025-11-25T18:42:48.709999Z",
"updated_at": "2025-11-25T18:42:48.709999Z",
"custom_fields": {},
"ownership": null,
"name": "demo-basic-target",
"entity_id": "audit_target-LwsHgQf8hsuyJT6daRszGQ",
"type": "nim.NVOpenAIChat",
"model": "nvidia/nemotron-nano-12b-v2-vl",
"options": {
"nim": {
"skip_seq_start": "<think>",
"skip_seq_end": "</think>",
"max_tokens": 3200,
"uri": "https://integrate.api.nvidia.com/v1/"
}
}
},
{
"schema_version": "1.0",
"id": "audit_target-6y7DT9yu3MsKoM8y45UV5a",
"description": null,
"type_prefix": null,
"namespace": "default",
"project": null,
"created_at": "2025-11-25T18:42:48.736746Z",
"updated_at": "2025-11-25T18:42:48.736746Z",
"custom_fields": {},
"ownership": null,
"name": "demo-blank-target",
"entity_id": "audit_target-6y7DT9yu3MsKoM8y45UV5a",
"type": "test.Blank",
"model": "ignored",
"options": {}
},
{
"schema_version": "1.0",
"id": "audit_target-DdmT47xPm7f6ux3LgbMwm1",
"description": null,
"type_prefix": null,
"namespace": "default",
"project": null,
"created_at": "2025-11-25T18:42:48.786809Z",
"updated_at": "2025-11-25T18:42:48.786809Z",
"custom_fields": {},
"ownership": null,
"name": "demo-local-llm-target",
"entity_id": "audit_target-DdmT47xPm7f6ux3LgbMwm1",
"type": "nim.NVOpenAIChat",
"model": "nvidia/llama-3.1-nemotron-nano-8b-v1",
"options": {
"nim": {
"skip_seq_start": "<think>",
"skip_seq_end": "</think>",
"max_tokens": 3200,
"uri": "http://nim:8000/v1/"
}
}
}
]