LaikaTest icon

LaikaTest

Fetch prompts and push scores to LaikaTest

Push Scores

AI-generated

Summary

Push evaluation scores to LaikaTest by specifying experiment context and score metrics.

Inputs

  • Experiment ID (required) — Experiment ID from Get Experimental Prompt
  • Bucket ID (required) — Bucket ID from Get Experimental Prompt
  • Prompt Version ID (required) — Prompt Version ID from Get Experimental Prompt
  • User ID — User identifier (at least one of User ID or Session ID must be provided)
  • Session ID — Session identifier (at least one of User ID or Session ID must be provided)
  • Scores (required) — List of score metrics to push, each with a name, data type (Integer, Float, Boolean, or String), and value

Output shape

a single JSON object confirming the success status and containing response data

Requires at least one identifier (User ID or Session ID) and at least one score. Returns a JSON object with success boolean, HTTP status code (200), and data from the API response.

Examples

Example 1: Pushing scores for a specific experiment variant

Provide Experiment ID, Bucket ID, Prompt Version ID obtained from a prior Get Experimental Prompt operation, specify either User ID or Session ID, and list one or more score metrics with typed values to send performance data.

Links

Discussion