---
title: "Get automation rule evaluator by id"
method: GET
path: "/v1/private/automations/evaluators/{id}"
tags: ["Automation rule evaluators"]
---

# Get automation rule evaluator by id

`GET /v1/private/automations/evaluators/{id}`

Get automation rule by id

## Path parameters

- `id` string, uuid, required

## Query parameters

- `project_id` string, uuid

## Response `200`

Automation Rule resource

- AutomationRuleEvaluatorPublic
  - `id` string, uuid
  - `project_id` string, uuid — Primary project ID (legacy field for backwards compatibility)
  - `project_name` string — Primary project name (legacy field for backwards compatibility)
  - `projects` ProjectReferencePublic[] — Projects assigned to this rule (unique, sorted alphabetically by name)
    - `project_id` string, uuid, required — Project ID
    - `project_name` string, required — Project name
  - `name` string, required
  - `sampling_rate` number, float — Fraction of production (SDK-logged) items this rule scores, from 0 to 1. Trace rules ignore this value for experiment, playground and optimization traces and score them in full; span and thread rules only ever evaluate SDK-logged data.
  - `enabled` boolean
  - `trigger_scope` 'production' | 'experiment' | 'both' — Controls whether the rule fires on production traces, experiment traces, or both. Defaults to 'production' if omitted.
  - `created_at` string, date-time
  - `created_by` string
  - `last_updated_at` string, date-time
  - `last_updated_by` string
  - `type` 'llm_as_judge' | 'user_defined_metric_python' | 'trace_thread_llm_as_judge' | 'trace_thread_user_defined_metric_python' | 'span_llm_as_judge' | 'span_user_defined_metric_python', required
  - `action` 'evaluator', required

## Changes

- **2026-07-29** `0bfce600211c` — 1 breaking
  - the `name` response property's minLength was decreased from `1` to `0` for the response status `200`
- **2026-07-23** `2ad1c641e657` — 1 info
  - added the optional property `trigger_scope` to the response with the `200` status

[Change history](https://skmtc.dev/comet-ml/apis/opik-rest-api/changes/v1/private/automations/evaluators/:id/get.md)

---

[API](https://skmtc.dev/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.dev/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/revisions/1a1bcfd67f99/schema)
