1
---
2
name: arize-link
3
description: Generates deep links to the Arize UI for traces, spans, sessions, datasets, labeling queues, evaluators, and annotation configs. Produces clickable URLs for sharing Arize resources with team members. Use when the user wants to link to or open a trace, span, session, dataset, evaluator, or annotation config in the Arize UI.
4
metadata:
5
author: arize
6
version: "1.0"
7
---
8
9
# Arize Link
10
11
Generate deep links to the Arize UI for traces, spans, sessions, datasets, labeling queues, evaluators, and annotation configs.
12
13
## When to Use
14
15
- User wants a link to a trace, span, session, dataset, labeling queue, evaluator, or annotation config
16
- You have IDs from exported data or logs and need to link back to the UI
17
- User asks to "open" or "view" any of the above in Arize
18
19
## Required Inputs
20
21
Collect from the user or context (exported trace data, parsed URLs):
22
23
| Always required | Resource-specific |
24
|---|---|
25
| `org_id` (base64) | `project_id` + `trace_id` [+ `span_id`] — trace/span |
26
| `space_id` (base64) | `project_id` + `session_id` — session |
27
| | `dataset_id` — dataset |
28
| | `queue_id` — specific queue (omit for list) |
29
| | `evaluator_id` [+ `version`] — evaluator |
30
31
**All path IDs must be base64-encoded** (characters: `A-Za-z0-9+/=`). A raw numeric ID produces a valid-looking URL that 404s. If the user provides a number, ask them to copy the ID directly from their Arize browser URL (`https://app.arize.com/organizations/{org_id}/spaces/{space_id}/…`). If you have a raw internal ID (e.g. `Organization:1:abC1`), base64-encode it before inserting into the URL.
32
33
## URL Templates
34
35
Base URL: `https://app.arize.com` (override for on-prem)
36
37
**Trace** (add `&selectedSpanId={span_id}` to highlight a specific span):
38
```
39
{base_url}/organizations/{org_id}/spaces/{space_id}/projects/{project_id}?selectedTraceId={trace_id}&queryFilterA=&selectedTab=llmTracing&timeZoneA=America%2FLos_Angeles&startA={start_ms}&endA={end_ms}&envA=tracing&modelType=generative_llm
40
```
41
42
**Session:**
43
```
44
{base_url}/organizations/{org_id}/spaces/{space_id}/projects/{project_id}?selectedSessionId={session_id}&queryFilterA=&selectedTab=llmTracing&timeZoneA=America%2FLos_Angeles&startA={start_ms}&endA={end_ms}&envA=tracing&modelType=generative_llm
45
```
46
47
**Dataset** (`selectedTab`: `examples` or `experiments`):
48
```
49
{base_url}/organizations/{org_id}/spaces/{space_id}/datasets/{dataset_id}?selectedTab=examples
50
```
51
52
**Queue list / specific queue:**
53
```
54
{base_url}/organizations/{org_id}/spaces/{space_id}/queues
55
{base_url}/organizations/{org_id}/spaces/{space_id}/queues/{queue_id}
56
```
57
58
**Evaluator** (omit `?version=…` for latest):
59
```
60
{base_url}/organizations/{org_id}/spaces/{space_id}/evaluators/{evaluator_id}
61
{base_url}/organizations/{org_id}/spaces/{space_id}/evaluators/{evaluator_id}?version={version_url_encoded}
62
```
63
The `version` value must be URL-encoded (e.g., trailing `=` → `%3D`).
64
65
**Annotation configs:**
66
```
67
{base_url}/organizations/{org_id}/spaces/{space_id}/annotation-configs
68
```
69
70
## Time Range
71
72
CRITICAL: `startA` and `endA` (epoch milliseconds) are **required** for trace/span/session links — omitting them defaults to the last 7 days and will show "no recent data" if the trace falls outside that window.
73
74
**Priority order:**
75
1. **User-provided URL** — extract and reuse `startA`/`endA` directly.
76
2. **Span `start_time`** — pad ±1 day (or ±1 hour for a tighter window).
77
3. **Fallback** — last 90 days (`now - 90d` to `now`).
78
79
Prefer tight windows; 90-day windows load slowly.
80
81
## Instructions
82
83
1. Gather IDs from user, exported data, or URL context.
84
2. Verify all path IDs are base64-encoded.
85
3. Determine `startA`/`endA` using the priority order above.
86
4. Substitute into the appropriate template and present as a clickable markdown link.
87
88
## Troubleshooting
89
90
| Problem | Solution |
91
|---|---|
92
| "No data" / empty view | Trace outside time window — widen `startA`/`endA` (±1h → ±1d → 90d). |
93
| 404 | ID wrong or not base64. Re-check `org_id`, `space_id`, `project_id` from the browser URL. |
94
| Span not highlighted | `span_id` may belong to a different trace. Verify against exported span data. |
95
| `org_id` unknown | `ax` CLI doesn't expose it. Ask user to copy from `https://app.arize.com/organizations/{org_id}/spaces/{space_id}/…`. |
96
97
## Related Skills
98
99
- **arize-trace**: Export spans to get `trace_id`, `span_id`, and `start_time`.
100
101
## Examples
102
103
See references/EXAMPLES.md for a complete set of concrete URLs for every link type.
104