Get the list of workspaces for your Anaplan user ID. The results show a list of all models that your user has access to. A non-Workspace Administrator user can only retrieve their own models.
Note and record the id value related to the appropriate model and the currentWorkspaceId
for the Workspace related to your model.
Method and endpoint
https://api.anaplan.com/2/0/models
Parameters
Parameter | Description |
AnaplanAuthToken:{token} | Your Anaplan authentication token value. |
cURL example
curl -X GET \
https://api.anaplan.com/2/0/models \
-H 'Authorization: AnaplanAuthToken {anaplan_auth_token}'
Response
{
"meta": {
"schema": "https://api.anaplan.com/2/0/objects/model",
"paging": {
"currentPageSize": 1,
"totalSize": 1,
"offset": 0
}
},
"status": {
"code": 200,
"message": "Success"
},
"models": [{
"id": "FC12345678912343455667",
"activeState": "UNLOCKED",
"name": "FP&A",
"currentWorkspaceId": "8a8b8c8d8e8f8g8i",
"currentWorkspaceName": "Financial Planning",
"modelUrl": "https://rt.anaplan.com/anaplan/rt?selectedWorkspaceId\8a8b8c8d8e8f8g8i\u0026selectedModelId\FC12345678912343455667",
"categoryValues": []
}]
}
For more detail on this endpoint, see the full Reference API documentation.