Custom Metrics

Get Custom Metrics By Agent

Get all custom metrics for an agent.

get/v1/custom-metrics-by-agent/{agent_id}

Path parameters

agent_idinteger required

Headers

X-API-Keystring required

API key required to authenticate requests.

Response

Successful Response

total_countinteger required

Total number of metrics across all pages

pageinteger required

Current page number

page_sizeinteger required

Requested number of items per page

items_in_pageinteger required

Actual number of items in current page

total_pagesinteger required

Total number of pages

Changes

Changed in 2 of the 20 revisions of this API.2517

    • added the optional property data/items/created_by to the response with the 200 status

      response-optional-property-added

    • added the optional property data/items/updated_at to the response with the 200 status

      response-optional-property-added

    • added the optional property data/items/updated_by to the response with the 200 status

      response-optional-property-added

    • added the optional property metrics/items/created_by to the response with the 200 status

      response-optional-property-added

    • added the optional property metrics/items/updated_at to the response with the 200 status

      response-optional-property-added

    • added the optional property metrics/items/updated_by to the response with the 200 status

      response-optional-property-added

  • 44d183272ce12511See the full diff
    • the response property metrics/items/description became optional for the status 200

      response-property-became-optional

    • response property metrics/items/description list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • removed the optional property metrics/items/eval_route from the response with the 200 status

      response-optional-property-removed

    • removed the optional property metrics/items/eval_route_auto_selected from the response with the 200 status

      response-optional-property-removed

    • added the new boolean enum value to the metrics/items/response_type response property for the response status 200

      response-property-enum-value-added

    • added the new float enum value to the metrics/items/response_type response property for the response status 200

      response-property-enum-value-added

    • added the new int enum value to the metrics/items/response_type response property for the response status 200

      response-property-enum-value-added

    • added the optional property metrics/items/eval_method to the response with the 200 status

      response-optional-property-added

    • added the optional property metrics/items/eval_modality to the response with the 200 status

      response-optional-property-added

    • added the optional property metrics/items/eval_modality_auto_selected to the response with the 200 status

      response-optional-property-added

    • added the optional property metrics/items/eval_segment to the response with the 200 status

      response-optional-property-added

    • added the optional property metrics/items/metric_type to the response with the 200 status

      response-optional-property-added

    • added the optional property metrics/items/prompt to the response with the 200 status

      response-optional-property-added

    • added the optional property metrics/items/scope to the response with the 200 status

      response-optional-property-added

    • added the optional property metrics/items/settings to the response with the 200 status

      response-optional-property-added

    • added the optional property metrics/items/summary to the response with the 200 status

      response-optional-property-added

    • added the optional property metrics/items/template_id to the response with the 200 status

      response-optional-property-added

    • added the required property data to the response with the 200 status

      response-required-property-added

    This revision also has 18 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog