Skip to Content
ReferenceMiniUp Public API and Runtime Contracts
On this page

MiniUp Public API and Runtime Contracts

MiniUp’s public contracts are the URLs, headers, formats, and runtime values intentionally provided for customers to build applications. Copy resource-specific URLs from the product instead of guessing paths.

Public application contracts

ContractUsage
MiniUp Site URLOpen and share a published Site; commonly https://my-site.miniup.app
Table base URLCommonly https://my-site.miniup.app/api/data/my-site/my-table
Table schema URLTable base URL plus /schema
Table record URLTable base URL plus /RECORD_ID
x-miniup-write-keyTable write/read credential where specified by that Table
x-miniup-api-keyServer Table key or Function API key, scoped to the corresponding resource
Function endpointCopy the standalone endpoint from the Function editor
/api/functions/my-api/...Browser call from the linked MiniUp Site to a Site Members Function
env.MINIUP_USERTrusted member identity inside a Site Members Function
Function SecretsNamed values read through the Function’s env argument
Dataset access/grant URLsCopy the stable or browser usage URL from the dataset’s instructions
Agent discoveryPublic Agent API and current pricing

Make a public request

  1. Create the resource and copy its public URL.
  2. Verify allowed methods, access, and any required public credential header.
  3. Use the request/response example for that resource type.
  4. Check HTTP status before treating a response as successful.

For example, a member frontend calls /api/functions/my-api/bootstrap only after you have implemented and published that path. /bootstrap is an app design pattern, not an automatic MiniUp endpoint.

Understand common statuses

  • 400: invalid input; inspect the request format and field values.
  • 401: required authentication or credential is missing or invalid.
  • 403: access or operation is forbidden for this caller.
  • 404: resource or application path is not found.
  • 405: method is not allowed.
  • 429: request allowance or rate limit reached; inspect current usage.
  • 5xx: operation failed; inspect the relevant product error and retry only when appropriate.

An app’s own Function may return additional statuses. Use the response body and product context rather than assuming every error has one cause.

public API · runtime contract · endpoints · headers · MINIUP_USER · error status