← Back

API Reference

Package resolution and distribution API — v2

Authentication

All requests require an X-Relay-Token header. Tokens are tenant-scoped and rotatable from the dashboard.

Endpoints

GET/api/v2/resolve

Resolve a package name and version constraint to a concrete artifact.

GET/api/v2/fetch

Download an artifact by its content hash.

GET/api/v2/manifest

Retrieve the full manifest for a package version.

POST/api/v2/publish

Publish a new artifact (enterprise tenants only).

Response Format

JSON. Errors follow RFC 7807 Problem Details.