---
title: "Add Routing Rule"
method: POST
path: "/api/v1/teams/{team_id}/rules"
tags: ["teams"]
---

# Add Routing Rule

`POST /api/v1/teams/{team_id}/rules`

## Request

- Base URL: `https://agentictrade.io` (the document declares no server; this is the origin it was published from)
- URL: `https://agentictrade.io/api/v1/teams/{team_id}/rules`
- Auth: none declared

Add a routing rule to a team.

## Path parameters

- `team_id` string, required

## Request body

- AddRoutingRuleRequest
  - `name` string, required
  - `keywords` string[], required
  - `target_agent_id` string, required
  - `priority` integer

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agentictrade/apis/agent-commerce-framework.md) · [All operations](https://skmtc.dev/agentictrade/apis/agent-commerce-framework/llms.txt) · [OpenAPI document](https://skmtc.dev/agentictrade/apis/agent-commerce-framework/revisions/65b4b64609bc?raw)
