Scores

Create project score

Changed on

Creates a score against a target trace. The trace is resolved by explicit id (trace.by = "id") or by a filter set (trace.by = "filters", exactly one match required). Annotations use the separate /annotations endpoint.

post/v1/projects/{projectSlug}/scores

Request

  • Base URL
    https://api.latitude.so
  • Auth
    HTTP bearer

Path parameters

projectSlugstring required

Project slug (human-readable identifier)

Project slug (human-readable identifier). The CLI can also read this from the LATITUDE_PROJECT_SLUG environment variable.

Request body

OR

Response

Score created

OR

Changes

    • breaking

      removed the required property //// from the response with the status

    • breaking

      removed the required property //// from the response with the status

    • info

      added the required property //// to the response with the status

    • info

      added the required property //// to the response with the status

    • breaking

      removed subschema #1 subschema #2 from the //// request property oneOf list

    • breaking

      removed subschema #1 subschema #2 from the //// request property oneOf list

    • info

      api operation id scores.create removed and replaced with createScore

    • info

      added subschema #1 subschema #2 to the //// request property oneOf list

    • info

      added subschema #1 subschema #2 to the //// request property oneOf list