---
title: "Create Action"
method: POST
path: "/api/actions"
tags: ["actions"]
---

# Create Action

`POST /api/actions`

Enable a GitHub workflow as a team action (generates template script).

## Request body

- ConfigureActionRequest — Request to enable a GitHub Actions workflow as a team action.
  - `repo_full_name` string, required
  - `workflow_id` integer, required
  - `workflow_name` string, required
  - `workflow_path` string, nullable
  - `approval_mode` string
  - `default_ref` string
  - `workflow_inputs` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/deeptrace/apis/fastapi.md) · [All operations](https://skmtc.net/deeptrace/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrace/fastapi/versions/2e2a6de8aeda/schema)
