Skip to main content
POST
Fetch a page with a browser

Authorizations

Authorization
string
header
required

A Cool Computers API key, user access token, or claimed agent access token in the Authorization header. Follow https://www.cool.computer/auth.md for agent registration and https://www.cool.computer/authentication.md for direct user credentials.

Path Parameters

id
string
required

Stable public computer identifier.

Minimum string length: 1
Example:

"cmp_123"

action
enum<string>
required

What to return.

Available options:
content,
markdown,
links,
screenshot,
pdf

Body

application/json
url
string<uri>
required

Response

The fetched page in the requested form: HTML for content, Markdown for markdown, a JSON array of the page's link URLs for links, PNG for screenshot, PDF for pdf.

The response is of type string.