Skip to main content
PATCH
Update an eval prompt set

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

promptSetId
string<uuid>
required

The unique identifier of the eval prompt set.

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json
description
string | null

New description for the prompt set. Pass null to clear. Max 1024 characters.

Maximum string length: 1024
name
string

New human-readable name for the prompt set. 255 characters or fewer.

Required string length: 1 - 255
prompts
object[]

When prompts is supplied, it fully replaces the existing list — existing prompts omitted from the list are deleted, entries without an id are created, and entries with a matching id are updated in place.

When supplied, the existing list of prompts is replaced entirely. Existing prompts omitted from the list are deleted, entries without an id are created, and entries with a matching id are updated in place.

Maximum array length: 25

Response

Prompt set updated successfully.

prompt_set
object
required