BagsBags Docs

Build metadata

Returns the build SHA, build time, and NODE_ENV. Useful for support and for verifying which build is serving traffic.

GET
/api/version
AuthorizationBearer <token>

BAGS API key from the merchant dashboard. Live keys (bag_live_…) operate against real chains; test keys (bag_test_…) are limited to test networks.

In: header

Response Body

application/json

curl -X GET "https://example.com/api/version"
{
  "version": "string",
  "fullSha": "string",
  "buildTime": "string",
  "nodeEnv": "string"
}