---
title: "Erp Run Workspace Agent"
method: POST
path: "/api/erp/workspace-agents/{agent_key}/run"
tags: ["ERP"]
---

# Erp Run Workspace Agent

`POST /api/erp/workspace-agents/{agent_key}/run`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/erp/workspace-agents/{agent_key}/run`
- Auth: none declared

## Path parameters

- `agent_key` string, required

## Headers

- `x-api-key` string, nullable
- `authorization` string, nullable

## Request body

- WorkspaceAgentRunPayload
  - `agent_key` string, nullable
  - `workspace_key` string, nullable
  - `message` string, nullable
  - `action` string, nullable
  - `mode` string
  - `connectors` string[]
  - `skills` string[]
  - `delegate_agent_keys` string[]
  - `delegated_agents` string[]
  - `inputs` object
  - `approved` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-02** `497967424011`: 1 info
  - endpoint added
- **2026-08-29** `7a7c8e2b5afc`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/qomplement/apis/qomplement-api/changes/api/erp/workspace-agents/:agent_key/run/post.md)

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
