Packages
List environment packages Copy pageRetrieves a list of all Malloy packages within the specified environment. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata.
GET /environments/{environmentName}/packages
Authorization Bearer <token>
cURL
JavaScript
Go
Python
Java
C#
Rustcurl --request GET \ --url 'https://example.com/environments/string/packages' \ --header 'Authorization: Bearer <token>'
200 401 500 501 503
[ { "resource": "string", "name": "string", "description": "string", "location": "string", "explores": [ "string" ], "exploresWarnings": [ "string" ], "warnings": [ { "model": "string", "target": "string", "message": "string", "severity": "error" } ], "queryableSources": "declared", "manifestLocation": "string", "scope": "version", "materialization": { "schedule": "string", "freshness": { "window": "string", "fallback": "live" } }, "manifestBindingStatus": "unbound", "manifestEntryCount": 0, "boundManifestUri": "string", "buildPlan": { "graphs": [ { "connectionName": "string", "nodes": [ [ { "sourceID": "string", "dependsOn": [ "string" ] } ] ] } ], "sources": { "property1": { "name": "string", "sourceID": "string", "connectionName": "string", "dialect": "string", "sourceEntityId": "string", "sql": "string", "refresh": "string", "freshness": { "window": "string", "fallback": "live" }, "columns": [ { "name": "string", "type": "string" } ], "annotationFields": { "property1": "string", "property2": "string" }, "modelPath": "string" }, "property2": { "name": "string", "sourceID": "string", "connectionName": "string", "dialect": "string", "sourceEntityId": "string", "sql": "string", "refresh": "string", "freshness": { "window": "string", "fallback": "live" }, "columns": [ { "name": "string", "type": "string" } ], "annotationFields": { "property1": "string", "property2": "string" }, "modelPath": "string" } } } } ]