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

# Create Action

`POST /api/actions`

## Request

- Base URL: `https://api.deeptrace.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deeptrace.com/api/actions`
- Auth: none declared

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.dev/deeptrace/apis/deeptrace-api.md) - [All operations](https://skmtc.dev/deeptrace/apis/deeptrace-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deeptrace/apis/deeptrace-api/revisions/855e59bb07f0?raw)
