sdk.algorithm.get()

elements.sdk.api.algorithm

Retrieve the metadata of a particular Algorithm.

Parameters

  • algorithm_ids (List[str]) - list of Algorithm IDs to be retrieved
  • [Optional] pagination (Pagination) - Pagination object only with page size field set

Returns

List[Algorithm]

Example(s)

# Retrieves details for the list of provided algorithm_ids
await sdk.algorithm.get(algorithm_ids=["6a9c41bc-0daf-44b9-8ba6-0d5701c72721"])

# Output (List[Algorithm])
[id: "6a9c41bc-0daf-44b9-8ba6-0d5701c72721"
name: "awesome-algo"
display_name: "Awesome Algo"
author: "[email protected]"
]