add_competitor
Add a competitor to a workspace by providing its homepage URL. Automatically handles duplicate URLs and prevents conflicts during active discovery.
Instructions
POST /v1/workspaces/:id/competitors. Add a competitor by homepage URL. Idempotent on duplicate URLs. Returns 409 with active_competitor_id when another discovery is running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Competitor homepage URL | |
| workspace_id | Yes | Workspace id from list_workspaces or create_workspace | |
| monitor_types | No | Limit discovery to these surface types |