---
title: "Get Evaluation Config"
method: GET
path: "/v1/agent-configurations/{id}/evaluation-config"
tags: ["Agent Environment", "agent-configurations"]
---

# Get Evaluation Config

`GET /v1/agent-configurations/{id}/evaluation-config`

Get agent configuration for Diamond evaluation.

Returns agent_url, agent_api_key, and agent_model_name needed for evaluation.
Requires agent:read permission (all team members) or
agent:read_all permission (super admin).

## Path parameters

- `id` string, uuid, required

## Response `200`

Successful Response

- AgentEvaluationConfig — Configuration for Diamond evaluation (resolved from agent). URL requirements depend on access level: - Black Box: agent_url is ALWAYS required (it's where the opaque agent lives) - Grey/White Box: agent_url is only required for non-standard hubs (custom LLM endpoints) For standard hubs (OpenAI, Anthropic, etc.) in grey/white box mode, the SDK uses default endpoints so no URL is needed. ``protocol`` is included in workflow params so the Diamond worker can normalize ``agent_url`` (e.g. ``.../v1/`` for chat_completions) even when the stored workflow predates registry fixes.
  - `hub` string — Hub type for routing to correct SDK client
  - `protocol` 'chat_completions' | 'a2a' — Communication protocol for agent endpoints.
  - `agent_url` string, nullable — Agent/LLM endpoint URL. Required for black box agents and custom hub grey/white box agents.
  - `agent_api_key` string, required
  - `agent_model_name` string, required
  - `agent_name` string, nullable — Human-readable name of the agent (for reports and display)
  - `rate_limit_requests_per_minute` integer — Rate limit for API requests per minute

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/vijilai/apis/vijil-console-api-combined.md) · [All operations](https://skmtc.net/vijilai/apis/vijil-console-api-combined/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vijilai/vijil-console-api-combined/versions/a8b2ee2b2d06/schema)
