Get Experiment Url On Dashboard By Name
curl --request GET \
--url 'https://api.example.com/ai/dashboard_url_by_name/{experiment_name}?HAIQU_API_KEY='import requests
url = "https://api.example.com/ai/dashboard_url_by_name/{experiment_name}?HAIQU_API_KEY="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/ai/dashboard_url_by_name/{experiment_name}?HAIQU_API_KEY=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/ai/dashboard_url_by_name/{experiment_name}?HAIQU_API_KEY=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/ai/dashboard_url_by_name/{experiment_name}?HAIQU_API_KEY="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/ai/dashboard_url_by_name/{experiment_name}?HAIQU_API_KEY=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/ai/dashboard_url_by_name/{experiment_name}?HAIQU_API_KEY=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"url": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}API Reference
Get Experiment Url On Dashboard By Name
Return the Haiqu dashboard URL for one caller-owned experiment.
Use this tool when the caller wants a browser URL rather than the full experiment object. Name matching is exact within the authenticated user scope.
When to Use:
- Call this when the user wants to open the experiment in the Haiqu dashboard rather than continue strictly inside MCP.
- Call this when only a URL is needed and the full experiment object would be unnecessary noise.
Constraints:
- Name matching is exact and scoped to the authenticated user.
- The response is a small URL wrapper, not a full experiment payload.
Args: experiment_name: Exact experiment name to resolve. user: Authenticated user resolved from the API key. db: Active database session.
Returns: A small response object containing only the dashboard URL.
Raises:
HTTPException: Raised with 404 when no caller-owned experiment with
the requested name exists.
GET
/
ai
/
dashboard_url_by_name
/
{experiment_name}
Get Experiment Url On Dashboard By Name
curl --request GET \
--url 'https://api.example.com/ai/dashboard_url_by_name/{experiment_name}?HAIQU_API_KEY='import requests
url = "https://api.example.com/ai/dashboard_url_by_name/{experiment_name}?HAIQU_API_KEY="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/ai/dashboard_url_by_name/{experiment_name}?HAIQU_API_KEY=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/ai/dashboard_url_by_name/{experiment_name}?HAIQU_API_KEY=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/ai/dashboard_url_by_name/{experiment_name}?HAIQU_API_KEY="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/ai/dashboard_url_by_name/{experiment_name}?HAIQU_API_KEY=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/ai/dashboard_url_by_name/{experiment_name}?HAIQU_API_KEY=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"url": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}