Chains Inference API
π Inference by environment
Use this endpoint to call the deployment associated with the specified environment.
Parameters
Chain ID
string
requiredThe ID of the chain you want to call.
Environment Name
string
requiredThe name of the chainβs environment you want to call.
Authorization
string
requiredYour Baseten API key, formatted with prefix Api-Key
(e.g. {"Authorization": "Api-Key abcd1234.abcd1234"}
).
Body
Chain input
json
requiredJSON-serializable chain input. The input schema corresponds to the
signature of the entrypointβs run_remote
method. I.e. The top-level keys
are the argument names. The values are the corresponding JSON representation of
the types.