Tools
Screenshots
Renders a webpage in a headless browser and queues the capture as a job:
The response confirms the request rather than the capture:
Screenshots are in the puppeteer rate class and are not available on the
free plan — asking for one there answers 403 with
"puppeteer is not part of the free plan. Upgrade to use it." See
rate limits.
Binary encoding
Converts UTF-8 text to a binary digit string and back.
Decoding ignores whitespace and requires the input to be 0 and 1 only, in
groups of exactly 8.
Checking the result
These two endpoints answer with a flag named error rather than success, and
a decode failure comes back inside the body:
Read data.error rather than relying on the status code alone — this is the one
area where a 200 does not mean success.
The SDK’s aegis.binary namespace is a deprecated alias for these two
methods. Use aegis.tools instead.
Omitting ?text entirely is a 422 validation error, not the 400 the
handler would return for an empty value. See errors.