v1

latestOpenAPI 3.1.02026-07-2618690613.4 KB
AI Eval

Get an eval prompt set

Get a single prompt set with all of its prompts.

get/v1/ai/eval/prompt-sets/{promptSetId}

Path parameters

promptSetIdstring uuid required

The unique identifier of the eval prompt set.

Example:550e8400-e29b-41d4-a716-446655440000

The unique identifier of the eval prompt set.

Response

Prompt set details.

Example response

{
  "prompt_set": {
    "created_at": "2025-01-15T10:00:00.000Z",
    "description": "Regression suite for the orders topic",
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "model_id": "880e8400-e29b-41d4-a716-446655440003",
    "name": "Orders regression",
    "prompts": [
      {
        "created_at": "2025-01-15T10:00:00.000Z",
        "expectation": "The top product by revenue should be Aniseed Syrup.",
        "id": "770e8400-e29b-41d4-a716-446655440002",
        "prompt_text": "What are the top 5 products by revenue?",
        "updated_at": "2025-01-15T10:00:00.000Z"
      }
    ],
    "slug": "orders-regression",
    "updated_at": "2025-01-15T10:00:00.000Z"
  }
}