---
title: "Fetch Evaluation Ids"
method: GET
path: "/evaluations/by_resource"
tags: ["Evaluations"]
---

# Fetch Evaluation Ids

`GET /evaluations/by_resource`

Fetches evaluation ids for a given resource type and id.

Arguments:
    app_id (str): The ID of the app for which to fetch evaluations.
    resource_type (str): The type of resource for which to fetch evaluations.
    resource_ids List[ObjectId]: The IDs of resource for which to fetch evaluations.

Raises:
    HTTPException: If the resource_type is invalid or access is denied.

Returns:
    List[str]: A list of evaluation ids.

## Query parameters

- `resource_type` string, required
- `resource_ids` string[]

## Response `200`

Successful Response

- string[]

## Other responses

- `422` — Validation Error

## Changes

- **2025-06-27** `e3e84db47198` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/evaluations/by_resource/get.md)

---

[API](https://skmtc.dev/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.dev/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/revisions/e3e84db47198/schema)
