Returns one cursor page of a database’s immutable releases, ordered by release id, each with its record and residue counts, its aliases, and the release-owned capability contract naming the search policies and evidence it can serve. A release id always identifies the same searched content. A release whose capability cannot currently be resolved is reported as unavailable with a warning rather than dropped from the page.
curl --request GET \
--url https://api.rafflesia.ai/v1/homology/databases/{database_id}/releases \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rafflesia.ai/v1/homology/databases/{database_id}/releases"
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/databases/{database_id}/releases', 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/databases/{database_id}/releases",
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/databases/{database_id}/releases"
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/databases/{database_id}/releases")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rafflesia.ai/v1/homology/databases/{database_id}/releases")
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": [
{
"aliases": [
"<string>"
],
"corpus_snapshot_id": "<string>",
"created_at": "<string>",
"database_id": "<string>",
"homology_search_capability": {
"evidence": [
"<string>"
],
"query_kinds": [
"<string>"
],
"search_policy_ids": [
"<string>"
],
"default_search_policy_id": "<string>",
"filter_schema": {
"database_release_id": "<string>",
"fields": [
{
"name": "<string>",
"operators": [
"<string>"
]
}
],
"id": "<string>",
"limits": {
"maximum_bytes": 123,
"maximum_depth": 123,
"maximum_field_bytes": 123,
"maximum_nodes": 123,
"maximum_scalar_bytes": 123,
"maximum_values": 123
},
"metadata_manifest_sha256": "<string>",
"metadata_release_id": "<string>",
"missing_field_semantics": "strong_kleene",
"object": "<string>",
"search_policy_ids": [
"<string>"
]
},
"unavailable_reason": "<string>"
},
"id": "<string>",
"object": "<string>",
"record_count": 123,
"residue_count": 123,
"status": "<string>",
"compiler_version": "<string>",
"manifest_sha256": "<string>"
}
],
"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
Query Parameters
1 <= x <= 100Response
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.
"https://example.com/schemas/EnvelopeHomologyDatabaseReleaseList.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
curl --request GET \
--url https://api.rafflesia.ai/v1/homology/databases/{database_id}/releases \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rafflesia.ai/v1/homology/databases/{database_id}/releases"
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/databases/{database_id}/releases', 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/databases/{database_id}/releases",
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/databases/{database_id}/releases"
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/databases/{database_id}/releases")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rafflesia.ai/v1/homology/databases/{database_id}/releases")
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": [
{
"aliases": [
"<string>"
],
"corpus_snapshot_id": "<string>",
"created_at": "<string>",
"database_id": "<string>",
"homology_search_capability": {
"evidence": [
"<string>"
],
"query_kinds": [
"<string>"
],
"search_policy_ids": [
"<string>"
],
"default_search_policy_id": "<string>",
"filter_schema": {
"database_release_id": "<string>",
"fields": [
{
"name": "<string>",
"operators": [
"<string>"
]
}
],
"id": "<string>",
"limits": {
"maximum_bytes": 123,
"maximum_depth": 123,
"maximum_field_bytes": 123,
"maximum_nodes": 123,
"maximum_scalar_bytes": 123,
"maximum_values": 123
},
"metadata_manifest_sha256": "<string>",
"metadata_release_id": "<string>",
"missing_field_semantics": "strong_kleene",
"object": "<string>",
"search_policy_ids": [
"<string>"
]
},
"unavailable_reason": "<string>"
},
"id": "<string>",
"object": "<string>",
"record_count": 123,
"residue_count": 123,
"status": "<string>",
"compiler_version": "<string>",
"manifest_sha256": "<string>"
}
],
"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"
}