Get Project List
curl --request POST \
--url https://realtimelca-prod.hasura.app/v1/graphql \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"operationName": "GetProjectList",
"variables": {
"orderBy": [
{
"favorite": "desc_nulls_last"
},
{
"updatedAt": "desc_nulls_last"
}
],
"whereBuildingType": {},
"whereCalculation": {},
"whereFavorite": {},
"whereLocation": {},
"whereName": {},
"whereProjectStatus": {},
"whereRole": {}
},
"query": "query GetProjectList($orderBy: [project_order_by!], $whereBuildingType: buildingType_bool_exp, $whereCalculation: projectCalculation_bool_exp, $whereFavorite: Boolean_comparison_exp, $whereLocation: projectLocation_bool_exp, $whereName: String_comparison_exp, $whereProjectStatus: projectStatus_bool_exp, $whereRole: String_comparison_exp) { project(order_by: $orderBy, where: {deletedBy: {_is_null: true}, buildingType: $whereBuildingType, calculation: $whereCalculation, favorite: $whereFavorite, location: $whereLocation, name: $whereName, projectStatus: $whereProjectStatus, role: $whereRole}) { ...projectList __typename } } fragment projectList on project { ...projectBase area buildingType { id label __typename } calculation { calculationType { id label __typename } __typename } createdAt favorite location { city country postalCode id street streetNumber __typename } memberships { role userId __typename } models { id name __typename } projectStatus { id label __typename } specialConditionConfig { enabled __typename } updatedAt __typename } fragment projectBase on project { id name role speckleStreamId __typename }"
}
'Overview
Get Project List
Retrieves a list of building projects available to the authenticated user via the Hasura GraphQL endpoint. Supports filtering by building type, calculation, favorite, location, name, project status, and role, plus configurable ordering. The request body must contain the GetProjectList GraphQL operation.
POST
/
v1
/
graphql
Get Project List
curl --request POST \
--url https://realtimelca-prod.hasura.app/v1/graphql \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"operationName": "GetProjectList",
"variables": {
"orderBy": [
{
"favorite": "desc_nulls_last"
},
{
"updatedAt": "desc_nulls_last"
}
],
"whereBuildingType": {},
"whereCalculation": {},
"whereFavorite": {},
"whereLocation": {},
"whereName": {},
"whereProjectStatus": {},
"whereRole": {}
},
"query": "query GetProjectList($orderBy: [project_order_by!], $whereBuildingType: buildingType_bool_exp, $whereCalculation: projectCalculation_bool_exp, $whereFavorite: Boolean_comparison_exp, $whereLocation: projectLocation_bool_exp, $whereName: String_comparison_exp, $whereProjectStatus: projectStatus_bool_exp, $whereRole: String_comparison_exp) { project(order_by: $orderBy, where: {deletedBy: {_is_null: true}, buildingType: $whereBuildingType, calculation: $whereCalculation, favorite: $whereFavorite, location: $whereLocation, name: $whereName, projectStatus: $whereProjectStatus, role: $whereRole}) { ...projectList __typename } } fragment projectList on project { ...projectBase area buildingType { id label __typename } calculation { calculationType { id label __typename } __typename } createdAt favorite location { city country postalCode id street streetNumber __typename } memberships { role userId __typename } models { id name __typename } projectStatus { id label __typename } specialConditionConfig { enabled __typename } updatedAt __typename } fragment projectBase on project { id name role speckleStreamId __typename }"
}
'Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
default
Response schema not yet documented in the upstream Postman spec.
⌘I

