query parameters. Without them, the Arize UI defaults to the last 7 days and will show a "Your model doesn't have any recent data" error if the trace/span falls outside that window.
startA
Start of the time window as epoch milliseconds
endA
End of the time window as epoch milliseconds
How to Determine the Time Range
Use these sources in priority order:
User-provided URL
If the user shared an Arize URL, extract
startA
and
endA
from it and reuse them. This is the most reliable approach since it preserves the user's original time window.
Exported span data
If you have span data (e.g., from
ax spans export
), use the span's
start_time
field to calculate a range that covers the data:
Convert span start_time to epoch ms, then pad ±1 day
python
-c
"
from datetime import datetime, timedelta
t = datetime.fromisoformat('2026-03-07T05:39:15.822147Z'.replace('Z','+00:00'))
start = int
((
t
-
timedelta
(
days
=
1
))
.timestamp() * 1000)
end = int
((
t
+
timedelta
(
days
=
1
))
.timestamp() * 1000)
print(f'startA={start}&endA={end}')
"
Default fallback
Use the last 90 days. Calculate:
startA
:
(now - 90 days)
as epoch milliseconds
endA
current time as epoch milliseconds
Instructions
Gather the required IDs from the user or from available context (URLs, exported trace data, conversation history).
Determine
startA
and
endA
epoch milliseconds using the priority order above.
Substitute values into the appropriate URL template above.
Present the URL as a clickable markdown link.
Example Output
Given: org_id=
QWNjb3VudE9yZ2FuaXphdGlvbjoxOmFiQzE=
, space_id=
U3BhY2U6MTp4eVo5
, project_id=
TW9kZWw6MTpkZUZn
, trace_id=
0123456789abcdef0123456789abcdef
Trace link:
https://app.arize.com/organizations/QWNjb3VudE9yZ2FuaXphdGlvbjoxOmFiQzE=/spaces/U3BhY2U6MTp4eVo5/projects/TW9kZWw6MTpkZUZn?selectedTraceId=0123456789abcdef0123456789abcdef&queryFilterA=&selectedTab=llmTracing&timeZoneA=America%2FLos_Angeles&startA=1700000000000&endA=1700086400000&envA=tracing&modelType=generative_llm