List trace funnels

Lists the caller's org's funnels, each with its steps and who last touched it.

GET /v1/o11y/trace-funnels/list

Addresshttps://api.hanzo.ai/v1/o11y/trace-funnels/list
MethodGET
OperationListTraceFunnels
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the caller's org's funnels, each with its steps and who last touched it.

Callers need the viewer role; the runtime's own gate enforces it.

Request

GET /v1/o11y/trace-funnels/list takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200o11y.O11yFunnelsOutok
202Approvalheld for approval
defaultproblem-detailsrefused

200 body — 72 fields.

FieldInTypeAlwaysDescription
databodyo11y.GettableFunnel[]—Data are the funnels.
data[].created_atbodyinteger (int64)—
data[].created_bybodystring—
data[].descriptionbodystring—
data[].funnelbodyo11y.StorableFunnel—
data[].funnel.createdAtbodystring (date-time)—
data[].funnel.createdBybodystring—
data[].funnel.descriptionbodystring—
data[].funnel.funnel_namebodystring—
data[].funnel.idbodyany—
data[].funnel.org_idbodyany—
data[].funnel.stepsbodyo11y.FunnelStep[]—
data[].funnel.steps[].descriptionbodystring—step description
data[].funnel.steps[].filtersbodyo11y.FilterSet—
data[].funnel.steps[].filters.itemsbodyo11y.FilterItem[]—
data[].funnel.steps[].filters.items[].keybodyo11y.AttributeKey—
data[].funnel.steps[].filters.items[].key.dataTypebodystring—
data[].funnel.steps[].filters.items[].key.isColumnbodyboolean—
data[].funnel.steps[].filters.items[].key.isJSONbodyboolean—
data[].funnel.steps[].filters.items[].key.keybodystring—
data[].funnel.steps[].filters.items[].key.typebodystring—
data[].funnel.steps[].filters.items[].opbodystring—
data[].funnel.steps[].filters.items[].valuebodyany—
data[].funnel.steps[].filters.opbodystring—
data[].funnel.steps[].has_errorsbodyboolean—
data[].funnel.steps[].idbodyany—
data[].funnel.steps[].latency_pointerbodystring—
data[].funnel.steps[].latency_typebodystring—
data[].funnel.steps[].namebodystring—step name
data[].funnel.steps[].service_namebodystring—
data[].funnel.steps[].span_namebodystring—
data[].funnel.steps[].step_orderbodyinteger (int64)—
data[].funnel.tagsbodystring—
data[].funnel.updatedAtbodystring (date-time)—
data[].funnel.updatedBybodystring—
data[].funnel.userbodyo11y.User—
data[].funnel.user.createdAtbodystring (date-time)—
data[].funnel.user.displayNamebodystring—
data[].funnel.user.emailbodyany—
data[].funnel.user.idbodyany—
data[].funnel.user.isRootbodyboolean—
data[].funnel.user.orgIdbodyany—
data[].funnel.user.statusbodyany—
data[].funnel.user.updatedAtbodystring (date-time)—
data[].funnel_idbodystring—
data[].funnel_namebodystring—
data[].org_idbodystring—
data[].stepsbodyo11y.FunnelStep[]—
data[].steps[].descriptionbodystring—step description
data[].steps[].filtersbodyo11y.FilterSet—
data[].steps[].filters.itemsbodyo11y.FilterItem[]—
data[].steps[].filters.items[].keybodyo11y.AttributeKey—
data[].steps[].filters.items[].key.dataTypebodystring—
data[].steps[].filters.items[].key.isColumnbodyboolean—
data[].steps[].filters.items[].key.isJSONbodyboolean—
data[].steps[].filters.items[].key.keybodystring—
data[].steps[].filters.items[].key.typebodystring—
data[].steps[].filters.items[].opbodystring—
data[].steps[].filters.items[].valuebodyany—
data[].steps[].filters.opbodystring—
data[].steps[].has_errorsbodyboolean—
data[].steps[].idbodyany—
data[].steps[].latency_pointerbodystring—
data[].steps[].latency_typebodystring—
data[].steps[].namebodystring—step name
data[].steps[].service_namebodystring—
data[].steps[].span_namebodystring—
data[].steps[].step_orderbodyinteger (int64)—
data[].updated_atbodyinteger (int64)—
data[].updated_bybodystring—
data[].user_emailbodystring—
statusbodystring—Status is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y trace-funnels list
import { Configuration, O11yApi } from 'hanzoai';

const api = new O11yApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.listTraceFunnels();
from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import O11yApi

client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = O11yApi(client).list_trace_funnels()
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.O11yAPI.ListTraceFunnels(context.Background()).Execute()
if err != nil {
	return err
}
use hanzo_client::apis::{configuration::Configuration, o11y_api};

let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();

let result = o11y_api::list_trace_funnels(&cfg, Default::default()).await?;
import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.O11yApi;

ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));

var result = new O11yApi(client).listTraceFunnels();
curl https://api.hanzo.ai/v1/o11y/trace-funnels/list \
  -H "Authorization: Bearer $HANZO_API_KEY"

Tool o11y, op ListTraceFunnels — POST the JSON-RPC envelope to https://api.hanzo.ai/v1/mcp.

curl -X POST https://api.hanzo.ai/v1/mcp \
  -H "Authorization: Bearer $HANZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
       "jsonrpc": "2.0",
       "id": 1,
       "method": "tools/call",
       "params": {
         "name": "o11y",
         "arguments": {
           "op": "ListTraceFunnels",
           "input": {}
         }
       }
     }'

O11y API · All Hanzo APIs · Interactive reference

Was this page useful?