---
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
  - `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

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
