---
title: "POST /module/{source}/{key}"
method: POST
path: "/module/{source}/{key}"
---

# POST /module/{source}/{key}

`POST /module/{source}/{key}`

## Query parameters

- `action` string[]
- `function` string
- `instance` string
- `instance-tag` string[]
- `log` '*'
- `module-tag` string[]

## Response `200`

Function was called or instance was launched without pinning
module.  Content is program output.

- object
  - `module` string
  - `tags` string[]

## Other responses

- `201` — WebAssembly module was pinned (possibly in addition to other actions). If function was called, content is program output.

## Changes

> 4 revisions in range; 1 could not be searched.

- **2024-10-14** `73b3e4cff40b` — 1 warning, 1 info
  - removed the optional property `id` from the response with the `200` status
  - added the optional property `module` to the response with the `200` status
- **2024-10-13** `01aa92b21d6a` — 1 warning, 2 info
  - removed the optional property `module` from the response with the `200` status
  - added the optional property `id` to the response with the `200` status
  - added the success response with the status `204`

[Change history](https://skmtc.dev/gate-computer/apis/gate-api/changes/module/:source/:key/post.md)

---

[API](https://skmtc.dev/gate-computer/apis/gate-api.md) · [All operations](https://skmtc.dev/gate-computer/apis/gate-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gate-computer/gate-api/revisions/ed5375211e84/schema)
