mocop
Browse · Docs · Guide · Analyze

harvis.dev API

API by harvis.dev · rest

Everything an account can control, over HTTP. This document is generated from lib/api/contract.ts, which is also what the dashboard's server actions call — so what the harvis CLI can do and what the web app can do are the same list by construction. Do not edit this file by hand; run bun run api:generate.

Endpoint: https://harvis.dev/

Verification: observed. Source: crawl.

Capabilities (23)

  • Check that a credential works.
  • The account's API keys. Revoked keys are not listed.
  • Create an API key.
  • Revoke an API key. Anything using it stops working immediately.
  • The account a credential belongs to.
  • List the account's sites newest first.
  • Create a site from a folder of files.
  • Create a site by downloading a single page from a known artifact URL.
  • One site.
  • Rename a site change its web address or both.
  • Delete a site its files and its form submissions.
  • Replace every file of a site with the uploaded set.
  • Issue a new deploy token for a site. The old one stops working immediately.
  • Replace every file of a site from a zip archive sent as the raw request body.
  • Every file a site is serving.
  • Add or overwrite individual files leaving the rest of the site alone.
  • One page of a site's form submissions newest first.
  • Delete every submission for a site or every one of a single form.
  • Export a site's form submissions as CSV.
  • Mark every unread submission as read.
  • How many submissions a site holds how many are unread and which forms exist.
  • One submission.
  • Delete one submission.
About · Contact · Privacy