get_algorithm

read-onlyidempotent

Get one algorithm's details, including its input schema.

Returns the algorithm's name, description, owner, latest_version, and input_schema — the JSON-schema (OpenAPI) contract describing what the input dict for schedule_run must contain. Read input_schema before calling schedule_run so you construct a valid input. If the algorithm runs over a sample, pass it through schedule_run's sample_id parameter (using a sample_id from list_samples) rather than embedding it in input.

Parameters

algorithm_name
string
required

The algorithm name from list_algorithms.

Response

description
string
required
input_schema
object | null
required

JSON Schema of the input schedule_run expects, passed through from the algorithm. Null if no version exists.

latest_version
string | null
required

The version schedule_run runs. Null if none exists.

name
string
required

Pass this to get_algorithm and schedule_run.

owner
string
required
usage_hint
string
optional

How to fill input, for algorithms that need it.