Skip to main content

Fetch Evaluation Ids

GET 

https://cloud.agenta.ai/api/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.

Request

Query Parameters

    app_id App Idrequired
    resource_type Resource Typerequired
    resource_ids string[]

Responses

Successful Response

Schema

  • Array [

  • string

  • ]

curl -L 'https://cloud.agenta.ai/api/evaluations/by_resource' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
Request Collapse all
Base URL
https://cloud.agenta.ai/api
Auth
Parameters
— queryrequired
— queryrequired
— query
ResponseClear

Click the Send API Request button above and see the response here!