Predict (sync)
Call the chain deployment associated with a specified environment.
POST
Call the chain deployment associated with a specified environment.
Authorizations
Pass your Baseten API key. Clients automatically send Authorization: Bearer <key>. Direct callers can also use Authorization: Api-Key <key>; both schemes are accepted.
Path Parameters
The name of the environment (e.g. production, staging).
Body
application/json
JSON input matching the chain's run_remote method signature.
Response
Successful synchronous chain execution.
JSON-serializable output. The shape is defined by the chain.
Call the chain deployment associated with a specified environment.