MetorialDocs

API Reference

A RESTful API with resource-oriented URLs, JSON-encoded responses, and standard HTTP status codes.

Base URL

Every request goes to a single host, with the resource path appended.

https://api.metorial.com

Authentication

Authenticate with a bearer token. Each key is scoped to one environment within a project, so the same code can target live or test data by swapping the key.

  • Publishable keys (metorial_pk_) read public data and are safe in client-side code.
  • Secret keys (metorial_sk_) have full project access and must stay server-side.
curl "https://api.metorial.com/instances" \
  -H "Authorization: Bearer metorial_sk_..."

Prefer an SDK

The JavaScript and Python SDKs handle authentication, pagination, and retries for you.

Resources

Integrations

Sessions

Configurations

Skills