List a workspace's API endpoints
list_endpointsLists HTTP endpoints deployed for a workspace's current version; optionally include archived path versions to identify what prevents deleting a main endpoint.
Instructions
Lists the HTTP endpoints currently deployed for a workspace's current version. includeArchived:true adds pathVersions to each: every version of that path on its domain, including the disabled copies each commit archives (ids, labels, isMain) — what blocks deleting a main endpoint. Domain owner only (null otherwise).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspaceId": "<workspaceId>"
},
"name": "list_endpoints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | ||
| includeArchived | No | Also list every version of each path (archived copies). |