Get a Relay model
get_modelFetch a model's route, request schema, example input, pricing, and availability before calling run_model with a matching input.
Instructions
Returns one model's route, request_schema (what run_model's input must follow), request_example, pricing and availability. With a credential the answer is your account's view (what its tier and grants can run), public otherwise. Then call run_model with an input shaped like request_example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Exact model name from search_models, e.g. google/gemini-nano-banana-2.1. |