Plans
50 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1
List plans in a space#
/plansTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
pageSize | Query | number | – |
page | Query | number | – |
is_archived | Query | boolean | – |
owner_id | Query | any | – |
status | Query | any | – |
plan_type | Query | any | – |
search | Query | any | – |
exclude_plan_ids | Query | any | – |
organization_id | Query | any | – |
space_id | Query | any | – |
Antworten
- 200Space-scoped or organization-scoped plan list.
- 403organization_id does not match current user organization.
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans" \
-H "Authorization: Bearer $XISUITE_TOKEN"Create a new plan#
/plansTokenRequest-Body
| Name | Typ | Beschreibung |
|---|---|---|
space_idPflicht | string | – |
spaceId | string | Legacy camelCase space field accepted for compatibility. |
organizationId | string | Legacy camelCase organization field accepted for compatibility; auth context wins. |
organization_id | string | Legacy snake_case organization field accepted for compatibility; auth context wins. |
namePflicht | string | – |
description | string | – |
plan_type | string | Werte: |
start_date | string | – |
end_date | string | – |
budget | number | – |
currency | string | |
owner_id | string | – |
settings | object | – |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/plans" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"space_id":"…","name":"…"}'Get plan details#
/plans/{planId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/{planId}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Update plan#
/plans/{planId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
id | string | Legacy body field accepted for compatibility; route param wins. |
organizationId | string | Legacy camelCase organization field accepted for compatibility; auth context wins. |
organization_id | string | Legacy snake_case organization field accepted for compatibility; auth context wins. |
name | string | – |
description | string | – |
plan_type | string | Werte: |
status | string | Werte: |
start_date | string | – |
end_date | string | – |
budget | number | – |
currency | string | – |
owner_id | string | – |
filter_id | string | – |
progress | number | – |
sort_order | number | – |
settings | object | – |
is_archived | boolean | – |
Antworten
- 200OK
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/plans/{planId}" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id":"…","organizationId":"…","organization_id":"…"}'Delete plan (must be archived first)#
/plans/{planId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/plans/{planId}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Archive plan#
/plans/{planId}/archiveTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/plans/{planId}/archive" \
-H "Authorization: Bearer $XISUITE_TOKEN"Unarchive plan#
/plans/{planId}/archiveTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/plans/{planId}/archive" \
-H "Authorization: Bearer $XISUITE_TOKEN"List plan baselines#
/plans/{planId}/baselinesTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/{planId}/baselines" \
-H "Authorization: Bearer $XISUITE_TOKEN"Create a plan baseline snapshot#
/plans/{planId}/baselinesTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
plan_id | string | Legacy body field accepted for compatibility; route param wins. |
namePflicht | string | – |
is_active | boolean | Legacy body field accepted for compatibility; Nest creates the baseline active. |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/plans/{planId}/baselines" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"…"}'Delete a baseline#
/plans/{planId}/baselines/{baselineId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
baselineIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/plans/{planId}/baselines/{baselineId}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Activate a baseline#
/plans/{planId}/baselines/{baselineId}/activateTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
baselineIdPflicht | Pfad | string | – |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/plans/{planId}/baselines/{baselineId}/activate" \
-H "Authorization: Bearer $XISUITE_TOKEN"Get Earned Value Management metrics#
/plans/{planId}/baselines/evmTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/{planId}/baselines/evm" \
-H "Authorization: Bearer $XISUITE_TOKEN"List comments for a plan#
/plans/{planId}/commentsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/{planId}/comments" \
-H "Authorization: Bearer $XISUITE_TOKEN"Add a comment to a plan#
/plans/{planId}/commentsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
contentPflicht | string | Comment content — supports HTML (max 10000 chars) |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/plans/{planId}/comments" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"content":"…"}'Update a plan comment (author only)#
/plans/{planId}/comments/{commentId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
commentIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
contentPflicht | string | Updated comment content — supports HTML (max 10000 chars) |
Antworten
- 200OK
curl -X PUT "https://xapi.ambertech.cloud/api/v1/plans/{planId}/comments/{commentId}" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"content":"…"}'Delete a plan comment (author only)#
/plans/{planId}/comments/{commentId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
commentIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/plans/{planId}/comments/{commentId}" \
-H "Authorization: Bearer $XISUITE_TOKEN"List Gantt dependencies#
/plans/{planId}/dependenciesTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/{planId}/dependencies" \
-H "Authorization: Bearer $XISUITE_TOKEN"Add a dependency between plan items#
/plans/{planId}/dependenciesTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
plan_id | string | Legacy body field accepted for compatibility; route param wins. |
predecessor_idPflicht | string | Predecessor task ID |
successor_idPflicht | string | Successor task ID |
dependency_type | string | Werte: |
lag_days | number | Lag in days (negative = lead) |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/plans/{planId}/dependencies" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"predecessor_id":"…","successor_id":"…"}'Remove a dependency#
/plans/{planId}/dependencies/{depId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
depIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/plans/{planId}/dependencies/{depId}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Get Gantt view data#
/plans/{planId}/ganttTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/{planId}/gantt" \
-H "Authorization: Bearer $XISUITE_TOKEN"Generate AI plan preview from prompt#
/plans/{planId}/generateTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
promptPflicht | string | Natural language prompt describing the project plan (10-50000 chars) |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/plans/{planId}/generate" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"prompt":"…"}'Materialize AI-generated plan (execute generation)#
/plans/{planId}/generate/executeTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
generation_idPflicht | string | ID of the plan_ai_generations record to execute |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/plans/{planId}/generate/execute" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"generation_id":"…"}'List all items in a plan#
/plans/{planId}/itemsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/{planId}/items" \
-H "Authorization: Bearer $XISUITE_TOKEN"Add item to plan#
/plans/{planId}/itemsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
plan_id | string | Legacy body field accepted for compatibility; route param wins. |
namePflicht | string | – |
description | string | – |
item_type | string | Werte: |
parent_id | string | – |
start_date | string | – |
end_date | string | – |
duration_days | number | Duration in days |
priority | string | Werte: |
assigned_to | string | – |
estimated_hours | number | – |
estimated_cost | number | – |
color | string | – |
sort_order | number | – |
progress | number | Progress percentage 0-100 |
linked_task_id | string | Link existing task instead of creating new |
task_type_id | string | Task type ID from task_hierarchy_configurations |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/plans/{planId}/items" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"…"}'Get a single plan item#
/plans/{planId}/items/{itemId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
itemIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/{planId}/items/{itemId}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Update a plan item#
/plans/{planId}/items/{itemId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
itemIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
id | string | Legacy body field accepted for compatibility; route param wins. |
plan_id | string | Legacy body field accepted for compatibility; route param wins. |
name | string | – |
description | string | – |
item_type | string | Werte: |
start_date | string | – |
end_date | string | – |
duration_days | number | – |
priority | string | Werte: |
assigned_to | string | – |
estimated_hours | number | – |
actual_hours | number | – |
estimated_cost | number | – |
actual_cost | number | – |
color | string | – |
sort_order | number | – |
is_critical_path | boolean | – |
progress | number | – |
status | string | – |
parent_id | object | Parent task ID; send null to unset parent |
task_type_id | string | Task type ID from task_hierarchy_configurations |
linked_task_id | string | Accepted for compatibility; ignored on update (used on create only) |
Antworten
- 200OK
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/plans/{planId}/items/{itemId}" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id":"…","plan_id":"…","name":"…"}'Remove item from plan#
/plans/{planId}/items/{itemId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
itemIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/plans/{planId}/items/{itemId}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Move plan item to new parent#
/plans/{planId}/items/{itemId}/moveTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
itemIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
task_id | string | Legacy body field accepted for compatibility; route param wins. |
new_parent_idPflicht | object | New parent item ID; pass null to move to root level |
sort_order | number | New sort order position |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/plans/{planId}/items/{itemId}/move" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"new_parent_id":{}}'Bulk reorder plan items#
/plans/{planId}/items/reorderTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
itemsPflicht | ReorderItemEntry[] | – |
items[].id | string | Legacy alias for task_id. task.id, not plan_tasks.id. |
items[].task_idPflicht | string | task.id (not plan_tasks.id) |
items[].sort_orderPflicht | number | – |
items[].parent_task_id | object | New parent task ID (optional reparent) |
items[].parent_id | object | Legacy alias for parent_task_id. |
Antworten
- 200OK
curl -X PUT "https://xapi.ambertech.cloud/api/v1/plans/{planId}/items/reorder" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"items":[]}'List plan permissions#
/plans/{planId}/permissionsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/{planId}/permissions" \
-H "Authorization: Bearer $XISUITE_TOKEN"Grant permission on a plan#
/plans/{planId}/permissionsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
plan_id | string | Legacy body field accepted for compatibility; route param wins. |
user_idPflicht | string | – |
permission_level | string | Werte: |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/plans/{planId}/permissions" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"user_id":"…"}'Update plan permission level#
/plans/{planId}/permissions/{permissionId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
permissionIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
id | string | Legacy body field accepted for compatibility; route param wins. |
permission_levelPflicht | string | Werte: |
Antworten
- 200OK
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/plans/{planId}/permissions/{permissionId}" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"permission_level":"view"}'Revoke plan permission#
/plans/{planId}/permissions/{permissionId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
permissionIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/plans/{planId}/permissions/{permissionId}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Set manual RAG health for a plan#
/plans/{planId}/ragTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
rag_statusPflicht | string | Werte: |
Antworten
- 201Manual RAG override persisted.
- 400Invalid RAG payload.
- 403User cannot edit this plan.
curl -X POST "https://xapi.ambertech.cloud/api/v1/plans/{planId}/rag" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"rag_status":"green"}'Clear manual RAG health for a plan#
/plans/{planId}/ragTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 200Manual RAG override cleared and computed RAG returned.
- 403User cannot edit this plan.
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/plans/{planId}/rag" \
-H "Authorization: Bearer $XISUITE_TOKEN"Refresh filter-driven plan#
/plans/{planId}/refreshTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/plans/{planId}/refresh" \
-H "Authorization: Bearer $XISUITE_TOKEN"List plan risks#
/plans/{planId}/risksTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
risk_type | Query | string | – |
is_blocker | Query | string | Filter by blocker flag. Pass true to return only blockers, false to exclude them. |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/{planId}/risks" \
-H "Authorization: Bearer $XISUITE_TOKEN"Add risk to plan#
/plans/{planId}/risksTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
plan_id | string | Legacy body field accepted for compatibility; route param wins. |
namePflicht | string | – |
description | string | – |
risk_type | string | Werte: |
category | string | Category (e.g. Technical, Schedule, Budget) |
probability | number | Probability 1-5 |
impact | number | Impact 1-5 |
expected_value | number | – |
status | string | Werte: |
mitigation_strategy | string | – |
contingency_plan | string | – |
owner_id | string | – |
task_id | string | Associated task ID |
response_date | string | – |
is_blocker | boolean | When true, the risk is a blocker (rendered under Blockers on portfolio letters and badged on the plan risk register). |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/plans/{planId}/risks" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"…"}'Update a risk#
/plans/{planId}/risks/{riskId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
riskIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
id | string | Legacy body field accepted for compatibility; route param wins. |
plan_id | string | Legacy body field accepted for compatibility; route param wins. |
name | string | – |
description | string | – |
risk_type | string | Werte: |
category | string | – |
probability | number | – |
impact | number | – |
expected_value | number | – |
status | string | Werte: |
mitigation_strategy | string | – |
contingency_plan | string | – |
owner_id | string | – |
task_id | string | – |
response_date | string | – |
is_blocker | boolean | Toggle the blocker flag on an existing plan risk. |
Antworten
- 200OK
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/plans/{planId}/risks/{riskId}" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id":"…","plan_id":"…","name":"…"}'Delete a risk#
/plans/{planId}/risks/{riskId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
riskIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/plans/{planId}/risks/{riskId}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Risk matrix view#
/plans/{planId}/risks/matrixTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/{planId}/risks/matrix" \
-H "Authorization: Bearer $XISUITE_TOKEN"Risk register (5x5 matrix)#
/plans/{planId}/risks/registerTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/{planId}/risks/register" \
-H "Authorization: Bearer $XISUITE_TOKEN"List plan stakeholders#
/plans/{planId}/stakeholdersTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/{planId}/stakeholders" \
-H "Authorization: Bearer $XISUITE_TOKEN"Add stakeholder to plan#
/plans/{planId}/stakeholdersTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
plan_id | string | Legacy body field accepted for compatibility; route param wins. |
namePflicht | string | – |
role | string | – |
email | string | – |
user_id | string | – |
organization_name | string | – |
power_level | number | Power/influence level 1-10 |
interest_level | number | Interest level 1-10 |
attitude | string | Werte: |
engagement_strategy | string | – |
notes | string | – |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/plans/{planId}/stakeholders" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"…"}'Update a stakeholder#
/plans/{planId}/stakeholders/{stakeholderId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
stakeholderIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
id | string | Legacy body field accepted for compatibility; route param wins. |
plan_id | string | Legacy body field accepted for compatibility; route param wins. |
name | string | – |
role | string | – |
email | string | – |
user_id | string | – |
organization_name | string | – |
power_level | number | – |
interest_level | number | – |
attitude | string | Werte: |
engagement_strategy | string | – |
notes | string | – |
Antworten
- 200OK
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/plans/{planId}/stakeholders/{stakeholderId}" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id":"…","plan_id":"…","name":"…"}'Delete a stakeholder#
/plans/{planId}/stakeholders/{stakeholderId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
stakeholderIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/plans/{planId}/stakeholders/{stakeholderId}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Stakeholder power/interest matrix#
/plans/{planId}/stakeholders/matrixTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/{planId}/stakeholders/matrix" \
-H "Authorization: Bearer $XISUITE_TOKEN"Get WBS tree view#
/plans/{planId}/wbsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/{planId}/wbs" \
-H "Authorization: Bearer $XISUITE_TOKEN"Get one accessible plan by UUID or plan key#
/plans/mine/{planIdOrKey}TokenResolves a plan by UUID or org-scoped plan key and returns a whitelisted detail (metadata + item/risk/stakeholder counts — no items, no baseline, no financials) only when the caller can view it (org admin/owner, member space with view_plans, or a per-plan permission grant). Cross-org, non-member, permission-denied, ambiguous-key, and nonexistent all return an IDENTICAL 404 (anti-probing). Archived plans are returned flagged. Backs the MCP plan.get tool.
Parameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
planIdOrKeyPflicht | Pfad | string | Plan UUID or plan key |
Antworten
- 200Accessible plan returned
- 401Not authenticated
- 404Plan not found or not accessible
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/mine/{planIdOrKey}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Search plans the current user can access#
/plans/mine/searchTokenName search over plans the authenticated caller can read in their active organization — member spaces with view_plans (or org admin/owner) plus per-plan permission grants. Never cross-org, never a non-member space plan without an explicit grant. Archived plans are excluded unless includeArchived=true. An absent query lists all accessible plans. Backs the MCP plan.search tool.
Parameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
q | Query | string | – |
spaceIdOrKey | Query | string | – |
status | Query | string | – |
ownerId | Query | string | – |
includeArchived | Query | boolean | – |
limit | Query | number | – |
cursor | Query | string | – |
Antworten
- 200Accessible plans returned
- 401Not authenticated
curl -X GET "https://xapi.ambertech.cloud/api/v1/plans/mine/search" \
-H "Authorization: Bearer $XISUITE_TOKEN"