Install
Create a client
Request methods
The clients add the Sully authentication headers and parse successful JSON responses. The public guides use these methods:
TypeScript returns parsed JSON. Python requires
cast_to; use httpx.Response
when you want to read the response with .json():
template on every request. See the
template example and schema.
For multipart requests, pass a FormData body in TypeScript. In Python, pass
form fields with body, the upload with files, and a multipart content type:
client.post() method for
Text to JSON, with automatic retries disabled.