docs-api-reference-servers-get-a-release.md
GET
/
servers
/
{qualifiedName}
/
releases
/
{id}
Try it
JavaScript
JavaScript
import Smithery from '@smithery/api';
const client = new Smithery({
apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted
});
const release = await client.servers.releases.get('id', { qualifiedName: 'qualifiedName' });
console.log(release.id);
curl --request GET \
--url https://api.smithery.ai/servers/{qualifiedName}/releases/{id} \
--header 'Authorization: Bearer <token>'
import requests
url = "https://api.smithery.ai/servers/{qualifiedName}/releases/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.smithery.ai/servers/{qualifiedName}/releases/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.smithery.ai/servers/{qualifiedName}/releases/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.smithery.ai/servers/{qualifiedName}/releases/{id}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.smithery.ai/servers/{qualifiedName}/releases/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body
200
404
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"type": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"commit": "<string>",
"commitMessage": "<string>",
"branch": "<string>",
"upstreamUrl": "<string>",
"logs": [
{
"stage": "deploy",
"level": "<string>",
"message": "<string>",
"timestamp": "<string>",
"error": {
"message": "<string>"
}
}
],
"mcpUrl": "<string>"
}
{
"error": "Server not found"
}
[
](#authorization-authorization)
Authorization
string
header
required
Smithery API key as Bearer token
[
](#parameter-qualified-name)
qualifiedName
string
required
The server's qualified name (e.g. 'namespace/server' or 'namespace' for namespace-only servers). Use %2F to encode the slash.
[
](#parameter-id)
id
string
required
200
application/json
Release info
[
](#response-id)
id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
[
](#response-status)
status
string
required
Current status: QUEUED, WORKING, SUCCESS, FAILURE, FAILURE_SCAN, AUTH_REQUIRED, AUTH_TIMEOUT, CANCELLED, or INTERNAL_ERROR.
[
](#response-type)
type
string
required
Release type: hosted_shttp (Smithery-hosted), external_shttp (external URL), or stdio (local binary).
[
](#response-created-at)
createdAt
string
required
ISO 8601 timestamp of when the release was created.
[
](#response-updated-at)
updatedAt
string
required
ISO 8601 timestamp of the last status change.
[
](#response-commit-one-of-0)
commit
string | null
Git commit SHA that triggered this release.
[
](#response-commit-message-one-of-0)
commitMessage
string | null
Git commit message associated with this release.
[
](#response-branch-one-of-0)
branch
string | null
Git branch this release was built from.
[
](#response-upstream-url-one-of-0)
upstreamUrl
string | null
Upstream MCP server URL. Present only for external releases.
[
](#response-logs)
logs
object[]
Pipeline log entries. Only included when fetching a single release.
Show child attributes
[
](#response-mcp-url)
mcpUrl
string<uri>
The MCP endpoint URL for connecting to this server.
Was this page helpful?
YesNo
⌘I
JavaScript
JavaScript
import Smithery from '@smithery/api';
const client = new Smithery({
apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted
});
const release = await client.servers.releases.get('id', { qualifiedName: 'qualifiedName' });
console.log(release.id);
curl --request GET \
--url https://api.smithery.ai/servers/{qualifiedName}/releases/{id} \
--header 'Authorization: Bearer <token>'
import requests
url = "https://api.smithery.ai/servers/{qualifiedName}/releases/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.smithery.ai/servers/{qualifiedName}/releases/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.smithery.ai/servers/{qualifiedName}/releases/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.smithery.ai/servers/{qualifiedName}/releases/{id}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.smithery.ai/servers/{qualifiedName}/releases/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body
200
404
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"type": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"commit": "<string>",
"commitMessage": "<string>",
"branch": "<string>",
"upstreamUrl": "<string>",
"logs": [
{
"stage": "deploy",
"level": "<string>",
"message": "<string>",
"timestamp": "<string>",
"error": {
"message": "<string>"
}
}
],
"mcpUrl": "<string>"
}
{
"error": "Server not found"
}