Skip to main content
POST
Search for homologous protein sequences

Authorizations

Authorization
string
header
required

A Rafflesia API key, sent as Authorization: Bearer <key>.

Headers

Idempotency-Key
string

Optional retry identity. Reuse the same key for the same request after an ambiguous failure. When omitted, the server derives an identity from the resolved scientific request.

Maximum string length: 255

Body

application/json
database
string
required

Database id or slug from homology.databases.list. Exactly one of database or database_release_id is required.

Required string length: 1 - 256
sequence
string
required

Raw amino-acid sequence text. ASCII whitespace is ignored, letters are uppercased, and one trailing stop symbol is removed. The normalized sequence may contain at most 100,000 residues.

Required string length: 1 - 110000
database_release_id
string

Exact immutable release id. Exactly one of database or database_release_id is required.

Minimum string length: 1
filter
object

Optional exact metadata predicate applied before candidate generation.

guarantee
enum<string>
default:approximate

Minimum search guarantee. Approximate permits a qualified approximate policy or a stronger exhaustive fallback; exhaustive requires the release's exhaustive reference policy.

Available options:
approximate,
exhaustive
include
enum<string>[]

Scientific result representations to return. Pairwise alignment is included by default. Pass an empty array for candidate measurements only.

Maximum array length: 1
Available options:
alignment
include_attributes
enum<string>[] | null

Optional target attributes to project. The current Tomato catalog can project record_id; unsupported attributes are rejected instead of fabricated.

Maximum array length: 1
Available options:
record_id
limit
integer<int64>
default:25

Maximum number of ranked results to return.

Required range: 1 <= x <= 10000
max_billable_units
integer<int64>

Optional hard ceiling on deterministic billable work. The search fails before exceeding it.

Required range: x >= 1
significance
enum<string>
default:not_requested

Whether database-aware significance is omitted, included when a compatible calibration exists, or required for the request to succeed.

Available options:
not_requested,
if_available,
required

Response

OK

ok
boolean
required

Whether the operation succeeded.

provenance
object
required

Execution provenance.

warnings
object[] | null
required

Non-fatal warnings.

$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://example.com/schemas/EnvelopeHomologyResponse.json"

data
object

Operation result data.

error
object

Structured error information.

evidence
object

Mechanical evidence summary for agent inspection and chaining.