Get WBS Structure

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://developers.smartpm.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"SmartPM Public API MCP server": {
  "url": "https://developers.smartpm.com/mcp"
}
Close
GET /public/v1/projects/{projectId}/wbs

Headers

  • X-COMPANY-ID string Required

    The company's unique ID

Path parameters

  • projectId integer(int64) Required

Responses

  • 500 */*

    Internal Server Error

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • id integer(int32) Required

      The ID of the WBS element

    • parentWBSId integer(int32) Required

      The parent WBS ID

    • sequenceNumber integer(int32) Required

      The sequence number of the WBS element

    • code string Required

      The code of the WBS element

    • name string Required

      The name of the WBS element

GET /public/v1/projects/{projectId}/wbs
curl \
 --request GET 'https://live.smartpmtech.com/public/v1/projects/{projectId}/wbs' \
 --header "X-API-KEY: $API_KEY" \
 --header "X-COMPANY-ID: string"
Response examples (500)
{}
Response examples (200)
[
  {
    "id": 1,
    "parentWBSId": 0,
    "sequenceNumber": 10,
    "code": "WBS-001",
    "name": "Foundation Work"
  }
]