GET
/
sdk
/
v1
/
evaluations
curl --request GET \
  --url https://api.promptfoundry.ai/sdk/v1/evaluations
[
  {
    "id": "<string>",
    "promptId": "<string>",
    "appendedMessages": [
      {
        "content": "<string>",
        "role": "assistant",
        "toolCallId": "<string>",
        "toolCalls": [
          {
            "toolCallId": "<string>",
            "type": "function",
            "function": {
              "arguments": "<string>",
              "name": "<string>"
            }
          }
        ]
      }
    ],
    "variables": {}
  }
]

Response

200 - application/json
id
string
required
promptId
string
required
appendedMessages
object[]
required

The messages to append to the completion messages when running the evaluation.

variables
object
required

The template variables added to the prompt when executing the prompt.