---
title: "Bind an agent to a Workspace"
method: POST
path: "/v1/workspaces/{workspaceID}/members"
---

# Bind an agent to a Workspace

`POST /v1/workspaces/{workspaceID}/members`

## Request

- Base URL: `https://api.plori.ai`
- URL: `https://api.plori.ai/v1/workspaces/{workspaceID}/members`
- Auth: HTTP bearer

Owner-only. The agent must belong to the account. This route does not invite a person.

## Path parameters

- `workspaceID` string, uuid, required

## Request body

- object
  - `agent_id` string, uuid, required

## Response `201`

Agent bound to the Workspace.

- WorkspaceAgentBinding
  - `workspace_id` string, uuid, required
  - `agent_id` string, uuid, required
  - `role` 'canonical_anchor' | 'manager' | 'member', required
  - `detached` boolean, required
  - `revocation_pending` boolean, required

## Other responses

- `400`: Malformed request.
- `401`: Missing or invalid credential.
- `403`: Only the account owner can add agent bindings.
- `404`: No such resource.
- `409`: Agent is unavailable for this Workspace or cannot execute.
- `500`: Internal error with request_id.

---

[API](https://skmtc.dev/plori/apis/plori-rest-api.md) · [All operations](https://skmtc.dev/plori/apis/plori-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/plori/apis/plori-rest-api/revisions/15c4f9260dff?raw)
