Skip to main content

Fetch List Evaluations

GET 

https://cloud.agenta.ai/api/evaluations

Fetches a list of evaluations, optionally filtered by an app ID.

Args: app_id (Optional[str]): An optional app ID to filter the evaluations.

Returns: List[Evaluation]: A list of evaluations.

Request

Query Parameters

    app_id App Idrequired

Responses

Successful Response
Schema
  • Array [

  • id Id (string)required
    app_id App Id (string)required
    project_id Project Id (string)required
    variant_ids string[]required
    variant_names string[]required
    variant_revision_ids string[]required
    revisions string[]required
    testset_idobject
    anyOf
    string
    testset_nameobject
    anyOf
    string
    statusobjectrequired
    type Type (string)required
    valueobject
    anyOf
    errorobject
    anyOf
    message Message (string)required
    stacktraceobject
    anyOf
    string
    aggregated_resultsobject[]required
  • Array [

  • evaluator_configobject

    required

    anyOf
    id Id (string)required
    name Name (string)required
    project_id Project Id (string)required
    evaluator_key Evaluator Key (string)required
    settings_valuesobject
    anyOf
    created_at Created At (string)required
    updated_at Updated At (string)required
    resultobjectrequired
    type Type (string)required
    valueobject
    anyOf
    errorobject
    anyOf
    message Message (string)required
    stacktraceobject
    anyOf

    string

  • ]

  • average_costobject
    anyOf
    type Type (string)required
    valueobject
    anyOf
    errorobject
    anyOf
    message Message (string)required
    stacktraceobject
    anyOf

    string

    total_costobject
    anyOf
    type Type (string)required
    valueobject
    anyOf
    errorobject
    anyOf
    message Message (string)required
    stacktraceobject
    anyOf

    string

    average_latencyobject
    anyOf
    type Type (string)required
    valueobject
    anyOf
    errorobject
    anyOf
    message Message (string)required
    stacktraceobject
    anyOf

    string

    created_at date-timerequired
    updated_at date-timerequired
  • ]

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

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