My App
API ReferenceHallucination Config

Get Hallucination Config

Get your workspace's custom hallucination detection settings.

View your configured labels, descriptions, and domain context. If you haven't customized these, use the /default endpoint to see what's being used.

GET
/v1/hallucination-configs

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/hallucination-configs"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
  "labels": [
    {
      "name": "string",
      "description": "string"
    }
  ],
  "domain_context": "string",
  "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}