---
id: daily-arize-link
name: "arize-link"
url: https://skills.yangsir.net/skill/daily-arize-link
author: github
domain: ai-system-observability-sre
tags: ["arize", "observability", "deep-link", "tracing", "llm"]
install_count: 1100
rating: 4.30 (20 reviews)
github: https://github.com/github/awesome-copilot
---

# arize-link

> 生成 Arize UI 的深度链接，支持 traces、spans、sessions、datasets 等资源的快速跳转和查看

**Stats**: 1,100 installs · 4.3/5 (20 reviews)

## Before / After 对比

### Arize 深度链接快速生成

**Before**:

用户需要根据日志或导出数据中的 Arize 资源 ID（如 trace_id、session_id）手动构建深度链接以在 Arize UI 中查看。这通常涉及查找正确的 URL 模板、手动拼接 `org_id`、`project_id` 等参数，并特别注意将所有路径 ID 进行 Base64 编码。如果 ID 是原始数字，用户需先从浏览器复制已编码的 ID 或手动转换，耗时且易错，可能导致 404 页面。

**After**:

使用 arize-link 技能，用户只需提供资源类型和相关 ID，技能即可自动生成正确的 Arize UI 深度链接。它根据资源类型选择合适的 URL 模板，并确保所有必要参数（包括 Base64 编码的 ID）被正确填充。这极大地简化了从数据或日志跳转到 Arize UI 的过程，避免了手动构建 URL 的繁琐和编码错误，确保链接的准确性和可用性。

| Metric | Before | After | Change |
|---|---|---|---|
| 链接生成时间 | 180秒 | 10秒 | -94.44% |
| 链接构建错误率 | 20% | 1% | -95% |

## Readme

# arize-link

# Arize Link

Generate deep links to the Arize UI for traces, spans, sessions, datasets, labeling queues, evaluators, and annotation configs.

## When to Use

- User wants a link to a trace, span, session, dataset, labeling queue, evaluator, or annotation config

- You have IDs from exported data or logs and need to link back to the UI

- User asks to "open" or "view" any of the above in Arize

## Required Inputs

Collect from the user or context (exported trace data, parsed URLs):

Always required
Resource-specific

`org_id` (base64)
`project_id` + `trace_id` [+ `span_id`] — trace/span

`space_id` (base64)
`project_id` + `session_id` — session

`dataset_id` — dataset

`queue_id` — specific queue (omit for list)

`evaluator_id` [+ `version`] — evaluator

**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.

## URL Templates

Base URL: `https://app.arize.com` (override for on-prem)

**Trace** (add `&selectedSpanId={span_id}` to highlight a specific span):

```
{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

```

**Session:**

```
{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

```

**Dataset** (`selectedTab`: `examples` or `experiments`):

```
{base_url}/organizations/{org_id}/spaces/{space_id}/datasets/{dataset_id}?selectedTab=examples

```

**Queue list / specific queue:**

```
{base_url}/organizations/{org_id}/spaces/{space_id}/queues
{base_url}/organizations/{org_id}/spaces/{space_id}/queues/{queue_id}

```

**Evaluator** (omit `?version=…` for latest):

```
{base_url}/organizations/{org_id}/spaces/{space_id}/evaluators/{evaluator_id}
{base_url}/organizations/{org_id}/spaces/{space_id}/evaluators/{evaluator_id}?version={version_url_encoded}

```

The `version` value must be URL-encoded (e.g., trailing `=` → `%3D`).

**Annotation configs:**

```
{base_url}/organizations/{org_id}/spaces/{space_id}/annotation-configs

```

## Time Range

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.

**Priority order:**

- **User-provided URL** — extract and reuse `startA`/`endA` directly.

- **Span `start_time`** — pad ±1 day (or ±1 hour for a tighter window).

- **Fallback** — last 90 days (`now - 90d` to `now`).

Prefer tight windows; 90-day windows load slowly.

## Instructions

- Gather IDs from user, exported data, or URL context.

- Verify all path IDs are base64-encoded.

- Determine `startA`/`endA` using the priority order above.

- Substitute into the appropriate template and present as a clickable markdown link.

## Troubleshooting

Problem
Solution

"No data" / empty view
Trace outside time window — widen `startA`/`endA` (±1h → ±1d → 90d).

404
ID wrong or not base64. Re-check `org_id`, `space_id`, `project_id` from the browser URL.

Span not highlighted
`span_id` may belong to a different trace. Verify against exported span data.

`org_id` unknown
`ax` CLI doesn't expose it. Ask user to copy from `https://app.arize.com/organizations/{org_id}/spaces/{space_id}/…`.

## Related Skills

- **arize-trace**: Export spans to get `trace_id`, `span_id`, and `start_time`.

## Examples

See references/EXAMPLES.md for a complete set of concrete URLs for every link type.
Weekly Installs525Repository[github/awesome-copilot](https://github.com/github/awesome-copilot)GitHub Stars29.6KFirst Seen12 days agoSecurity Audits[Gen Agent Trust HubPass](/github/awesome-copilot/arize-link/security/agent-trust-hub)[SocketPass](/github/awesome-copilot/arize-link/security/socket)[SnykPass](/github/awesome-copilot/arize-link/security/snyk)Installed onopencode482codex480gemini-cli479github-copilot479deepagents476amp476

---
*Source: https://skills.yangsir.net/skill/daily-arize-link*
*Markdown mirror: https://skills.yangsir.net/api/skill/daily-arize-link/markdown*