Skip to main content
GET
/
v3
/
fql-expressions
List available FQL functions
curl --request GET \
  --url https://{host}/v3/fql-expressions \
  --header 'Authorization: Bearer <token>'
{
  "api_version": "3.0",
  "kind": "NORMAL",
  "data": {
    "functions": [
      {
        "name": "count",
        "category": "aggregate",
        "grouping": "aggregation",
        "description": "Returns the number of non-null rows of a column or row expression",
        "parameters": [
          {
            "name": "expr",
            "type": "any",
            "is_required": true,
            "kind": "positional"
          }
        ],
        "return_type": "number"
      },
      {
        "name": "if",
        "category": "row",
        "grouping": "logical",
        "description": "Evaluates condition and returns one of two values",
        "parameters": [
          {
            "name": "expr1",
            "type": "boolean",
            "is_required": true,
            "kind": "positional"
          },
          {
            "name": "expr2",
            "type": "any",
            "is_required": true,
            "kind": "positional"
          },
          {
            "name": "expr3",
            "type": "any",
            "is_required": true,
            "kind": "positional"
          }
        ],
        "return_type": "any"
      },
      {
        "name": "quantile",
        "category": "aggregate",
        "grouping": "aggregation",
        "description": "Returns the value at a given quantile level",
        "parameters": [
          {
            "name": "expr",
            "type": "number",
            "is_required": true,
            "kind": "positional"
          },
          {
            "name": "level",
            "type": "number",
            "is_required": false,
            "default": 0.5,
            "kind": "keyword"
          }
        ],
        "return_type": "number"
      },
      {
        "name": "attribute",
        "category": "row",
        "grouping": "attribute",
        "description": "References a Gen AI span or session attribute by name",
        "parameters": [
          {
            "name": "scope",
            "type": "string",
            "is_required": true,
            "allowed_values": [
              "span"
            ],
            "kind": "keyword"
          },
          {
            "name": "name",
            "type": "string",
            "is_required": true,
            "kind": "keyword"
          },
          {
            "name": "value",
            "type": "string",
            "is_required": false,
            "kind": "keyword"
          }
        ],
        "return_type": "any"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://handbook.fiddler.ai/llms.txt

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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

List of available FQL functions retrieved successfully.

Response object for standard API responses.

api_version
enum<string>
default:3.0

API version.

Available options:
2.0,
3.0
kind
enum<string>
default:NORMAL

Type of response, indicating a normal response.

Available options:
NORMAL
data
object

Response containing the list of available FQL functions for GenAI custom metrics. The top-level structure is extensible — future versions may add additional keys (e.g., keywords, fields) without breaking existing consumers.