Skip to main content
GET
/
sessions
/
{id}
/
compatible-metrics
List metrics annotated with compatibility for a session
curl --request GET \
  --url https://api.galtea.ai/sessions/{id}/compatible-metrics \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "metric_123",
    "name": "Accuracy",
    "isCompatible": true,
    "source": "FULL_PROMPT",
    "description": "Measures the accuracy of responses",
    "incompatibilityReason": "Missing required parameters: product_capabilities, retrieval_context"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.galtea.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authorization. Pass your API key in the Authorization header as a Bearer token. Both new (gsk_*) and legacy (gsk-) API keys are accepted, e.g. Authorization: Bearer gsk_... or Authorization: Bearer gsk-....

Path Parameters

id
string
required

Session ID to evaluate compatibility against

Query Parameters

limit
integer

Maximum number of metrics to return (default 100)

Response

List of metrics with compatibility annotations

id
string
required
Example:

"metric_123"

name
string
required
Example:

"Accuracy"

isCompatible
boolean
required

Whether the metric can be satisfied by the resolved product metadata and conversation endpoint connection output mapping.

source
enum<string> | null
Available options:
SELF_HOSTED,
FULL_PROMPT,
PARTIAL_PROMPT,
HUMAN_EVALUATION,
GEVAL,
DEEPEVAL,
DETERMINISTIC
Example:

"FULL_PROMPT"

description
string | null
Example:

"Measures the accuracy of responses"

incompatibilityReason
string | null

Human-readable explanation of why the metric is incompatible. Non-null iff isCompatible === false.

Example:

"Missing required parameters: product_capabilities, retrieval_context"