Skip to main content
POST
/
organizations
/
{organizationName}
/
projects
/
{projectName}
/
packages
/
{packageName}
{
  "name": "<string>",
  "latestVersion": "<string>",
  "description": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "replicationCount": 1,
  "resourceIdentifier": "<string>"
}

Path Parameters

organizationName
string
required

The unique identifier of the organization

projectName
string
required

The unique identifier of the project

packageName
string
required

The unique identifier of the package

Body

multipart/form-data
package
object

Represents a Malloy data model package containing models, queries, and related resources

version
object

Represents a specific version of a package with metadata and lifecycle information

packageFile
file
md5Hash
string

Response

Package created successfully

Represents a Malloy data model package containing models, queries, and related resources

name
string

The unique name of the package within its project

latestVersion
string

The version identifier of the most recent published version

description
string

Human-readable description of the package's purpose and contents

createdAt
string<date-time>

ISO 8601 timestamp indicating when the package was first created

updatedAt
string<date-time>

ISO 8601 timestamp indicating when the package was last modified

replicationCount
integer
default:1

Number of replicas for high availability and performance

Required range: 1 <= x <= 10
resourceIdentifier
string

Unique resource identifier for the package, used for API references and permissions

I