---
title: "executeComponent"
method: POST
path: "/w/{workspace}/apps_u/execute_component/{path}"
tags: ["app"]
---

# executeComponent

`POST /w/{workspace}/apps_u/execute_component/{path}`

## Path parameters

- `workspace` string, required
- `path` string, required

## Request body

- object
  - `component` string, required
  - `path` string
  - `version` integer
  - `args` unknown, required
  - `raw_code` object
    - `content` string, required
    - `language` string, required
    - `path` string
    - `lock` string
    - `cache_ttl` integer
    - `tag` string
  - `id` integer
  - `force_viewer_static_fields` object
  - `force_viewer_one_of_fields` object
  - `force_viewer_allow_user_resources` string[]
  - `force_viewer_sensitive_inputs` string[]
  - `force_viewer_delete_after_secs` integer
  - `run_query_params` object — Runnable query parameters
  - `temp_script_refs` object, nullable — Map of relative-import script path -> temp storage hash. Only honored for inline-script (raw_code) execution so app dev resolves those imports from not-yet-deployed local content.

## Response `200`

job uuid

---

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