v3

latestOpenAPI 3.1.02026-08-0755220214.3 KB
projects

Create Eval Prompt

Creates a new conversation evaluation prompt for a project.

post/projects/{id}/conversation_eval_prompts

Path parameters

idstring required

The ID of the project.

Headers

Authorizationstring required

Bearer authentication header of the form Bearer <PHONIC_API_KEY>. Manage your API keys here.

Request body

namestring required

A useful name for referring to this prompt.

promptstring required

Actual evaluation prompt text to evaluate conversations with.

Response

Success response

idstring required

The ID of the created evaluation prompt.