Get detailed metadata for a single SAE feature
curl --request GET \
--url https://biohub.ai/esm/protein/api/v1alpha1/features/{feature_index}import requests
url = "https://biohub.ai/esm/protein/api/v1alpha1/features/{feature_index}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://biohub.ai/esm/protein/api/v1alpha1/features/{feature_index}', 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://biohub.ai/esm/protein/api/v1alpha1/features/{feature_index}",
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://biohub.ai/esm/protein/api/v1alpha1/features/{feature_index}"
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://biohub.ai/esm/protein/api/v1alpha1/features/{feature_index}")
.asString();require 'uri'
require 'net/http'
url = URI("https://biohub.ai/esm/protein/api/v1alpha1/features/{feature_index}")
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{
"feature_index": 123,
"label": "<string>",
"summary": "<string>",
"description": "<string>",
"uniref90_frequency": 123,
"uniref90_idf": 123,
"uniref90_max_activation": 123,
"threshold": 123,
"activation_pattern": "<string>",
"category": "<string>",
"exemplar_protein_families": "<string>",
"top_100_uniref_ids": [],
"top_swissprot_activations": [],
"decoder_nearest_neighbors": []
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Features
Get detailed metadata for a single SAE feature
Return all available metadata for one SAE feature: longform description, top activating UniRef90 and SwissProt proteins, decoder nearest neighbors, and activation statistics.
GET
/
esm
/
protein
/
api
/
v1alpha1
/
features
/
{feature_index}
Get detailed metadata for a single SAE feature
curl --request GET \
--url https://biohub.ai/esm/protein/api/v1alpha1/features/{feature_index}import requests
url = "https://biohub.ai/esm/protein/api/v1alpha1/features/{feature_index}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://biohub.ai/esm/protein/api/v1alpha1/features/{feature_index}', 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://biohub.ai/esm/protein/api/v1alpha1/features/{feature_index}",
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://biohub.ai/esm/protein/api/v1alpha1/features/{feature_index}"
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://biohub.ai/esm/protein/api/v1alpha1/features/{feature_index}")
.asString();require 'uri'
require 'net/http'
url = URI("https://biohub.ai/esm/protein/api/v1alpha1/features/{feature_index}")
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{
"feature_index": 123,
"label": "<string>",
"summary": "<string>",
"description": "<string>",
"uniref90_frequency": 123,
"uniref90_idf": 123,
"uniref90_max_activation": 123,
"threshold": 123,
"activation_pattern": "<string>",
"category": "<string>",
"exemplar_protein_families": "<string>",
"top_100_uniref_ids": [],
"top_swissprot_activations": [],
"decoder_nearest_neighbors": []
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Path Parameters
Required range:
x >= 0Response
Successful Response
Detailed SAE feature metadata — loaded on demand from parquet.
Field names match the parquet columns (with feature_id → feature_index).
summary is the short blurb; description is the longform write-up.
Note: the list endpoint's description field currently returns the
parquet's summary column for backward compatibility — do not conflate.
Show child attributes
Show child attributes
Show child attributes
Show child attributes