My App
API ReferenceConversations

Get Conversation Evaluations

Get hallucination analysis results for a conversation.

See which messages were flagged and why. Use embed=(annotations) to include the detailed annotations with text spans for highlighting in your UI or further analysis.

GET
/v1/conversations/{conversation_id}/evaluations

Path Parameters

conversation_id*string
Formatuuid

Query Parameters

embed?|

Embed resources: (annotations)

Header Parameters

x-workspace-id?|

Workspace UUID to operate within. Required for session auth and user-scoped API keys. Optional for workspace-scoped API keys (uses key's workspace if omitted).

Response Body

application/json

application/json

curl -X GET "https://loading/v1/conversations/497f6eca-6276-4993-bfeb-53cbbbba6f08/evaluations"
{
  "items": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "message_id": "d7d9d9fd-478f-40e6-b651-49b7f19878a2",
      "status": "string",
      "model": "string",
      "input_tokens": 0,
      "output_tokens": 0,
      "config_version": "string",
      "error_message": "string",
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "annotations": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "text": "string",
          "label": "string",
          "explanation": "string",
          "message_part_index": 0,
          "start_offset": 0,
          "end_offset": 0,
          "created_at": "2019-08-24T14:15:22Z"
        }
      ]
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}