Pages the stable ranked results of a completed homology search. Each result carries typed measurements and provenance.
GET
/
v1
/
homology
/
{homology_search_id}
/
results
List immutable homology results
curl --request GET \
--url https://api.rafflesia.ai/v1/homology/{homology_search_id}/results \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rafflesia.ai/v1/homology/{homology_search_id}/results"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rafflesia.ai/v1/homology/{homology_search_id}/results', 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.rafflesia.ai/v1/homology/{homology_search_id}/results",
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.rafflesia.ai/v1/homology/{homology_search_id}/results"
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.rafflesia.ai/v1/homology/{homology_search_id}/results")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rafflesia.ai/v1/homology/{homology_search_id}/results")
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{
"ok": true,
"provenance": {
"created_at": "<string>",
"operation": "<string>",
"request_id": "<string>",
"server_version": "<string>",
"cache_hit": true,
"database_snapshots": [
{
"name": "<string>",
"version": "<string>",
"digest": "<string>",
"kind": "<string>"
}
],
"generated_object_ids": [
"<string>"
],
"input_hash": "<string>",
"parameters_hash": "<string>",
"tool_versions": [
{
"name": "<string>",
"version": "<string>",
"path": "<string>"
}
]
},
"warnings": [
{
"code": "<string>",
"message": "<string>",
"details": {}
}
],
"$schema": "<string>",
"data": {
"data": [
{
"evidence": {
"kind": "<string>",
"maxsim": {
"bidirectional": 123,
"query_to_target": 123,
"target_to_query": 123
},
"object": "<string>",
"affine": {
"normalized_score": 123,
"raw_score": 123
},
"alignment": {
"aligned_residue_count": 123,
"cigar": "<string>",
"cigar_dialect": "<string>",
"coordinate_system": "<string>",
"gap_opening_count": 123,
"gap_residue_count": 123,
"identical_residue_count": 123,
"query_coverage_ratio": 123,
"query_end": 123,
"query_length": 123,
"query_start": 123,
"target_coverage_ratio": 123,
"target_end": 123,
"target_length": 123,
"target_start": 123
},
"significance": {
"calibration_id": "<string>",
"calibration_sample_count": 123,
"calibration_bin": "<string>",
"expected_false_hits": 123,
"family_wise_exceedance_probability": 123,
"minimum_resolvable_probability": 123,
"pair_tail_probability": 123,
"q_value": 123
}
},
"id": "<string>",
"object": "<string>",
"rank": 123,
"target": {
"database_release_id": "<string>",
"kind": "<string>",
"record_id": "<string>",
"target_ordinal": 123
}
}
],
"has_more": true,
"object": "<string>",
"url": "<string>",
"next_cursor": "<string>"
},
"error": {
"code": "<string>",
"doc_url": "<string>",
"message": "<string>",
"details": {},
"param": "<string>"
},
"evidence": {
"warnings_count": 123,
"duration_ms": 123,
"input_refs": [
"<string>"
],
"object_refs": [
"<string>"
],
"output_refs": [
"<string>"
],
"row_count": 123
}
}{
"$schema": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}Authorizations
A Rafflesia API key, sent as Authorization: Bearer <key>.
Path Parameters
Response
OK
Whether the operation succeeded.
Execution provenance.
Show child attributes
Show child attributes
Non-fatal warnings.
Show child attributes
Show child attributes
A URL to the JSON Schema for this object.
Example:
"https://example.com/schemas/EnvelopeHomologySearchResultList.json"
Operation result data.
Show child attributes
Show child attributes
Structured error information.
Show child attributes
Show child attributes
Mechanical evidence summary for agent inspection and chaining.
Show child attributes
Show child attributes
⌘I
List immutable homology results
curl --request GET \
--url https://api.rafflesia.ai/v1/homology/{homology_search_id}/results \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rafflesia.ai/v1/homology/{homology_search_id}/results"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rafflesia.ai/v1/homology/{homology_search_id}/results', 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.rafflesia.ai/v1/homology/{homology_search_id}/results",
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.rafflesia.ai/v1/homology/{homology_search_id}/results"
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.rafflesia.ai/v1/homology/{homology_search_id}/results")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rafflesia.ai/v1/homology/{homology_search_id}/results")
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{
"ok": true,
"provenance": {
"created_at": "<string>",
"operation": "<string>",
"request_id": "<string>",
"server_version": "<string>",
"cache_hit": true,
"database_snapshots": [
{
"name": "<string>",
"version": "<string>",
"digest": "<string>",
"kind": "<string>"
}
],
"generated_object_ids": [
"<string>"
],
"input_hash": "<string>",
"parameters_hash": "<string>",
"tool_versions": [
{
"name": "<string>",
"version": "<string>",
"path": "<string>"
}
]
},
"warnings": [
{
"code": "<string>",
"message": "<string>",
"details": {}
}
],
"$schema": "<string>",
"data": {
"data": [
{
"evidence": {
"kind": "<string>",
"maxsim": {
"bidirectional": 123,
"query_to_target": 123,
"target_to_query": 123
},
"object": "<string>",
"affine": {
"normalized_score": 123,
"raw_score": 123
},
"alignment": {
"aligned_residue_count": 123,
"cigar": "<string>",
"cigar_dialect": "<string>",
"coordinate_system": "<string>",
"gap_opening_count": 123,
"gap_residue_count": 123,
"identical_residue_count": 123,
"query_coverage_ratio": 123,
"query_end": 123,
"query_length": 123,
"query_start": 123,
"target_coverage_ratio": 123,
"target_end": 123,
"target_length": 123,
"target_start": 123
},
"significance": {
"calibration_id": "<string>",
"calibration_sample_count": 123,
"calibration_bin": "<string>",
"expected_false_hits": 123,
"family_wise_exceedance_probability": 123,
"minimum_resolvable_probability": 123,
"pair_tail_probability": 123,
"q_value": 123
}
},
"id": "<string>",
"object": "<string>",
"rank": 123,
"target": {
"database_release_id": "<string>",
"kind": "<string>",
"record_id": "<string>",
"target_ordinal": 123
}
}
],
"has_more": true,
"object": "<string>",
"url": "<string>",
"next_cursor": "<string>"
},
"error": {
"code": "<string>",
"doc_url": "<string>",
"message": "<string>",
"details": {},
"param": "<string>"
},
"evidence": {
"warnings_count": 123,
"duration_ms": 123,
"input_refs": [
"<string>"
],
"object_refs": [
"<string>"
],
"output_refs": [
"<string>"
],
"row_count": 123
}
}{
"$schema": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}