# Autodesk APS GraphQLDocumentation - AEC DataModel and DataExchange APIs ## overview.md # AEC Data Model API ## About AEC Data Model ## Common uses ## Next steps # Terms of service > The AEC Data Model API, is a GraphQL-based API that provides the ability to directly interact with granular AEC data in the cloud without the need of building custom plug-ins for the desktop authoring tools like Revit, Civil 3D, Plant3D and other AEC connected design applications. --- ## aec-onboarding.md # Onboarding to AEC Data Model ## Activate your ACC Account to extract data to AEC Data Model ### Offboarding > This topic outlines the requirements to get started with onboarding. If you have an Autodesk Docs subscription, you can enable your ACC account to extract data to AEC Data Model at no additional cost. Access to this functionality is being rolled out and will be available in the account settings in the coming days for you to enable. --- ## about-graphql.md # About GraphQL ## Examples ### Example 1 - Query ### Example 2 - Mutation > GraphQL is an open-source query language for APIs that was developed by Facebook as an alternative to REST API. It was released to the public in 2015 and hosted by the Linux Foundation at GraphQL.org. ## Code Examples ``` query HeroNameAndFriends { hero { name friends { name } } } ``` ``` {"data":{"hero":{"name":"R2-D2","friends":[{"name":"Luke Skywalker"},{"name":"Han Solo"},{"name":"Leia Organa"}]}}} ``` ``` mutation CreateReviewForEpisode($ep: Episode!, $review: ReviewInput!) { createReview(episode: $ep, review: $review) { stars commentary } } Variables: { "ep":"JEDI", "review":{ "stars":5, "commentary":"This is a great movie!" } } ``` ``` {"data":{"createReview":{"stars":5,"commentary":"This is a great movie!"}}} ``` ``` query HeroNameAndFriends { hero { name friends { name } } } ``` ``` {"data":{"hero":{"name":"R2-D2","friends":[{"name":"Luke Skywalker"},{"name":"Han Solo"},{"name":"Leia Organa"}]}}} ``` ``` mutation CreateReviewForEpisode($ep: Episode!, $review: ReviewInput!) { createReview(episode: $ep, review: $review) { stars commentary } } Variables: { "ep":"JEDI", "review":{ "stars":5, "commentary":"This is a great movie!" } } ``` ``` {"data":{"createReview":{"stars":5,"commentary":"This is a great movie!"}}} ``` --- ## region-support.md # Regions Support > AEC Data Models are hosted on the Autodesk Construction Cloud (ACC) platform across multiple regions. The table below lists the currently supported regions. --- ## construct.md # API Constructs > This section defines important data constructs that you will come across in AEC Data Model API: --- ## capability.md # API Capabilities > Using the AEC Data Model API, you can perform the following actions: --- ## usage.md # Using the AEC Data Model API ## Endpoint ## Obtain a 3-Legged access token to authenticate queries ## Executing GraphQL queries ### Request ### Response ## Specifying the Content Type Header > To access the AEC Data Model API, follow these steps: ## Code Examples ``` data:read data:create data:write ``` ``` curl -v 'https://developer.api.autodesk.com/aec/graphql' \ -X 'POST' \ -H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a' \ -H 'Content-Type: application/graphql' \ -d '{ hubs { results { name } } }' ``` ``` {"data":{"hubs":{"results":[{"name":"Autodesk-Forge"},{"name":"ME-FLC"},{"name":"ACC-Cloud-Team"},{"name":"PIM-ME-Release"}]}}} ``` ``` axios({ method: 'POST', url: '<GraphQL endpoint>', data: { query: `{ hubs { results { name } } }` } }) ``` ``` curl -v 'https://developer.api.autodesk.com/aec/graphql' \ -X 'POST' \ -H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a' \ -H 'Content-Type: application/graphql' \ -d '{ hubs { results { name } } }' ``` ``` {"data":{"hubs":{"results":[{"name":"Autodesk-Forge"},{"name":"ME-FLC"},{"name":"ACC-Cloud-Team"},{"name":"PIM-ME-Release"}]}}} ``` ``` axios({ method: 'POST', url: '<GraphQL endpoint>', data: { query: `{ hubs { results { name } } }` } }) ``` --- ## stdfiltering.md # Standard Filtering Capabilities # Supported Filtering Options # Compound Filtering Options # Matching Multiple Values # Standard Filtering Equivalent of RSQL # Sample Queries # Special Considerations for ElementGroup Filters ## fileUrn: ## name: > The AEC Data Model API provides a set of standard filtering options to enable filtering expressions as a core capability. They provide a simpler method for applying commonly-used filters, and can be used either as an alternative to or combined with Advanced Filtering Capabilities RSQL. These standard filtering options are available for ElementGroup and Element queries. ## Code Examples ``` { ..., "filter": { "nameWithComparator": {"name": "Pipes", "comparator": "CONTAINS"} ... } ``` ``` { ..., "filter": { "name": "2.5\" x 5\" rectangular (Orange)" "properties": [ { "name": "Family Name", "value": "Rectangular Mullion" } { "id": "autodesk.revit.parameter:parameter.elementContext-1.0.0", "value": "Instance" } ] "references": { "name": "Type", "referencedId": "YWVjZX5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ351LW5jRFM3Z1E2R2hwQjNyZ1pYS2VRX2UzPLIz" } "createdBy": "first.last@autodesk.com" }, ... } ``` ``` { ..., "filter": { "fileUrn": ["urn:adsk.wipstg:dm.lineage:u-ncDS7gX3ZhpB3rgZXKeQ", "urn:adsk.wipstg:dm.lineage:R8YVGN61QDaLElL0YSfkKg"] ... } ``` ``` { ..., "filter": { "fileUrn": "urn:adsk.wipstg:dm.lineage:u-ncDS7gX3ZhpB3rgZXKeQ", "createdBy": "first.last@autodesk.com" ... } ``` ``` { ..., "filter": { "name": "Snowdon Towers East.rvt", "createdBy": "first.last@autodesk.com" ... } ``` ``` { ..., "filter": { "name": ["Snowdon Towers East.rvt", "Snowdon Towers West.rvt"] ... } ``` ``` { ..., "filter": { "nameWithComparator": {"name": "Pipes", "comparator": "CONTAINS"} ... } ``` ``` { ..., "filter": { "name": "2.5\" x 5\" rectangular (Orange)" "properties": [ { "name": "Family Name", "value": "Rectangular Mullion" } { "id": "autodesk.revit.parameter:parameter.elementContext-1.0.0", "value": "Instance" } ] "references": { "name": "Type", "referencedId": "YWVjZX5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ351LW5jRFM3Z1E2R2hwQjNyZ1pYS2VRX2UzPLIz" } "createdBy": "first.last@autodesk.com" }, ... } ``` ``` { ..., "filter": { "fileUrn": ["urn:adsk.wipstg:dm.lineage:u-ncDS7gX3ZhpB3rgZXKeQ", "urn:adsk.wipstg:dm.lineage:R8YVGN61QDaLElL0YSfkKg"] ... } ``` ``` { ..., "filter": { "fileUrn": "urn:adsk.wipstg:dm.lineage:u-ncDS7gX3ZhpB3rgZXKeQ", "createdBy": "first.last@autodesk.com" ... } ``` ``` { ..., "filter": { "name": "Snowdon Towers East.rvt", "createdBy": "first.last@autodesk.com" ... } ``` ``` { ..., "filter": { "name": ["Snowdon Towers East.rvt", "Snowdon Towers West.rvt"] ... } ``` --- ## advfiltering.md # Advanced Filtering Using RSQL # Supported operators # Compound operations # Examples # Special Considerations for ElementGroup Filters ## metadata.fileUrn: ## metadata.name: > AEC Data Model API’s filtering expressions are influenced by the RESTful Service Query Language (RSQL), which is used to define filter expressions to limit the results for REST endpoints. The filter query string parameters used with the AEC Data Model API endpoints require filter expressions similar to RSQL. ## Code Examples ``` { ..., "filter": { "query": "metadata.fileUrn=='urn:adsk.wipstg:dm.lineage:u-ncDS7gX3ZhpB3rgZXKeQ' or metadata.fileUrn=='urn:adsk.wipstg:dm.lineage:R8YVGN61QDaLElL0YSfkKg'" ... } ``` ``` { ..., "filter": { "query": "metadata.fileUrn=='urn:adsk.wipstg:dm.lineage:u-ncDS7gX3ZhpB3rgZXKeQ' and metadata.createdBy.email=='first.last@autodesk.com'" ... } ``` ``` { ..., "filter": { "query": "metadata.fileUrn=='urn:adsk.wipstg:dm.lineage:u-ncDS7gX3ZhpB3rgZXKeQ'" "createdBy": "first.last@autodesk.com" ... } ``` ``` { ..., "filter": { "query": "metadata.name=='Snowdon Towers East.rvt' and metadata.createdBy.email=='first.last@autodesk.com'" ... } ``` ``` { ..., "filter": { "query": "metadata.name=='Snowdon Towers East.rvt'", "createdBy": "first.last@autodesk.com" ... } ``` ``` { ..., "filter": { "query": "metadata.name=='Snowdon Towers East.rvt'", "name": "Snowdon Towers West.rvt" ... } ``` ``` { ..., "filter": { "query": "metadata.name=='Snowdon Towers East.rvt' or metadata.createdBy.email=='first.last@autodesk.com'" ... } ``` ``` { ..., "filter": { "query": "metadata.fileUrn=='urn:adsk.wipstg:dm.lineage:u-ncDS7gX3ZhpB3rgZXKeQ' or metadata.fileUrn=='urn:adsk.wipstg:dm.lineage:R8YVGN61QDaLElL0YSfkKg'" ... } ``` ``` { ..., "filter": { "query": "metadata.fileUrn=='urn:adsk.wipstg:dm.lineage:u-ncDS7gX3ZhpB3rgZXKeQ' and metadata.createdBy.email=='first.last@autodesk.com'" ... } ``` ``` { ..., "filter": { "query": "metadata.fileUrn=='urn:adsk.wipstg:dm.lineage:u-ncDS7gX3ZhpB3rgZXKeQ'" "createdBy": "first.last@autodesk.com" ... } ``` ``` { ..., "filter": { "query": "metadata.name=='Snowdon Towers East.rvt' and metadata.createdBy.email=='first.last@autodesk.com'" ... } ``` ``` { ..., "filter": { "query": "metadata.name=='Snowdon Towers East.rvt'", "createdBy": "first.last@autodesk.com" ... } ``` ``` { ..., "filter": { "query": "metadata.name=='Snowdon Towers East.rvt'", "name": "Snowdon Towers West.rvt" ... } ``` ``` { ..., "filter": { "query": "metadata.name=='Snowdon Towers East.rvt' or metadata.createdBy.email=='first.last@autodesk.com'" ... } ``` --- ## pagination.md # Pagination ## Step 1: Retrieving the first page ## Step 2: Navigate to the next page using a cursor ## Usage ## Page limit > Pagination is a technique used to manage and display large datasets by dividing them into smaller and manageable pages. It allows users or applications to navigate through data incrementally, preventing information overload. ## Code Examples ``` query GetProjects($hubId: ID!) { projects(hubId: $hubId, pagination:{limit:3}) { pagination { cursor } results { id name alternativeIdentifiers{ externalProjectId } } } } ``` ``` {"hubId":"b.03f98b13-ec95-461b-b945-765f496165c1"} ``` ``` {"data":{"projects":{"pagination":{"cursor":"Y3Vyc34xfjM"},"results":[{"id":"YWltcHJvan5iLjAzZjk4YjEzLWVjOTUtNDYxYi1iOTQ1LTc2NWY0OTYxNjVjMX5iLjI1MTg2MzE1LWIyNWMtNDkxMC05MzkxLTllMGE4ZjhmNzA5Zg","name":"JM AEC Data Model Samples","alternativeIdentifiers":{"externalProjectId":"b.25186315-b25c-4910-9391-9e0a8f8f709f"}},{"id":"YWltcHJvan5iLjAzZjk4YjEzLWVjOTUtNDYxYi1iOTQ1LTc2NWY0OTYxNjVjMX5iLjg3OGIzMTkx ...etc ``` ``` query GetProjects($hubId: ID!) { projects(hubId: $hubId, pagination:{cursor:"dXJuOmFkc2sud29ya3NwYWNlOnByb2QucHJvamVjdDo1NjZkOWNiNi0yOTA3LTRhOWQtYWU4OC0zYmI3Y2YyZjE4Yjd-Mw"}) { pagination { cursor } results { id name alternativeIdentifiers{ dataManagementAPIProjectId } } } } ``` ``` {"hubId":"urn:adsk.ace:prod.scope:dccde3e3-c20c-40d3-a27c-7ac53b051b6e"} ``` ``` {"data":{"projects":{"pagination":{"cursor":"dXJuOmFkc2sud29ya3NwYWNlOnByb2QucHJvamVjdDo2NDllNzQ2My0wZTc1LTRjMDMtOWM5Zi0zNDUwNzMzMzc4ZWN-Mw"},"results":[{"id":"urn:adsk.workspace:prod.project:566d9cb6-2907-4a9d-ae88-3bb7cf2f18b7","name":"Construction : Sample Project - Seaport Civic Center","alternativeIdentifiers":{"dataManagementAPIProjectId":"b.9177ea8c-efb4-4612-8ef1-6e4ce114658c"}},{"id":"urn ...etc ``` ``` query GetProjects($hubId: ID!) { projects(hubId: $hubId, pagination:{limit:3}) { pagination { cursor } results { id name alternativeIdentifiers{ externalProjectId } } } } ``` ``` {"hubId":"b.03f98b13-ec95-461b-b945-765f496165c1"} ``` ``` {"data":{"projects":{"pagination":{"cursor":"Y3Vyc34xfjM"},"results":[{"id":"YWltcHJvan5iLjAzZjk4YjEzLWVjOTUtNDYxYi1iOTQ1LTc2NWY0OTYxNjVjMX5iLjI1MTg2MzE1LWIyNWMtNDkxMC05MzkxLTllMGE4ZjhmNzA5Zg","name":"JM AEC Data Model Samples","alternativeIdentifiers":{"externalProjectId":"b.25186315-b25c-4910-9391-9e0a8f8f709f"}},{"id":"YWltcHJvan5iLjAzZjk4YjEzLWVjOTUtNDYxYi1iOTQ1LTc2NWY0OTYxNjVjMX5iLjg3OGIzMTkx ...etc ``` ``` query GetProjects($hubId: ID!) { projects(hubId: $hubId, pagination:{cursor:"dXJuOmFkc2sud29ya3NwYWNlOnByb2QucHJvamVjdDo1NjZkOWNiNi0yOTA3LTRhOWQtYWU4OC0zYmI3Y2YyZjE4Yjd-Mw"}) { pagination { cursor } results { id name alternativeIdentifiers{ dataManagementAPIProjectId } } } } ``` ``` {"hubId":"urn:adsk.ace:prod.scope:dccde3e3-c20c-40d3-a27c-7ac53b051b6e"} ``` ``` {"data":{"projects":{"pagination":{"cursor":"dXJuOmFkc2sud29ya3NwYWNlOnByb2QucHJvamVjdDo2NDllNzQ2My0wZTc1LTRjMDMtOWM5Zi0zNDUwNzMzMzc4ZWN-Mw"},"results":[{"id":"urn:adsk.workspace:prod.project:566d9cb6-2907-4a9d-ae88-3bb7cf2f18b7","name":"Construction : Sample Project - Seaport Civic Center","alternativeIdentifiers":{"dataManagementAPIProjectId":"b.9177ea8c-efb4-4612-8ef1-6e4ce114658c"}},{"id":"urn ...etc ``` --- ## aec-ratelimit.md # AEC Data Model Rate Limits ## Rate limits ## How to calculate the point value of a query? ## Exceeding the rate limit ## Exceeding the maximum allowed query point ## Knowing the point value of a query > In order to maintain stability and ensure accessibility of our API to all users, we’ve implemented certain protection measures on incoming requests to our GraphQL API via rate limits. ## Code Examples ``` {"errors":[{"message":"Query point value per minute quota exceeded with point value 231 and remaining quota 69. Please try again later.","extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}}]} ``` ``` {"errors":[{"message":"Query point value 1231 exceeds maximum allowed query point value 1000. To reduce point value, consider setting a lower pagination limit or reducing the number of fields requested.","extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}}]} ``` ``` { { "data": { ... }, "extensions": { "pointValue": { "requestedQueryPointValue": 16 } } } } ``` ``` {"errors":[{"message":"Query point value per minute quota exceeded with point value 231 and remaining quota 69. Please try again later.","extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}}]} ``` ``` {"errors":[{"message":"Query point value 1231 exceeds maximum allowed query point value 1000. To reduce point value, consider setting a lower pagination limit or reducing the number of fields requested.","extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}}]} ``` ``` { { "data": { ... }, "extensions": { "pointValue": { "requestedQueryPointValue": 16 } } } } ``` --- ## about_aecima_data_explorer.md # About the AEC Data Model Explorer ## Using AEC Data Model Explorer ## User interaction elements ### Explorer panes ### Interactive elements ## Sending queries ## Handling token expiration > The AEC Data Model Explorer is an interactive browser-based user interface. It is designed for exploring and executing GraphQL queries against the AEC Data Model API. It includes an autocomplete feature, which automatically suggests potential fields as you type a query. The Autodesk AEC Data Model Beta connects to a test ACC Hub with sample Revit Models. A new Viewer option is now available in the latest GraphiQL explorer. This option allows you to preview the model based on the model ID also known as design URN. --- ## knownlimitations.md # Known Limitations > There are some known limitations with the AEC Data Model API in the current release. --- ## faq.md # Frequently Asked Questions ## Why can’t I retrieve data from my models using the AEC Data Model APIs? ## Why is filtering elements on some properties not working? ## How to maintain refresh tokens ? ## How to query data from ElementGroups hosted in regions other than the US? > It is possible that your models were not successfully extracted to the AEC Data Model due to the following reasons: --- ## before_you_begin.md # Before You Begin ## Step 1: Prerequisites ## Step 2: Register an App ## Step 3: Setting up the environment ## Step 4: Accessing Data via the AEC Data Model Explorer ## Step 5: Sign in to AEC Data Model Explorer ## Step 6: Next steps > If you are using this API for the first time, we recommend that you configure your environment. For more learning resources, you can see Tutorials. --- ## gethubs.md # Get Hubs ## Step 1: Request a list of Hubs > In this guide, you will learn how to retrieve a list of all the hubs you have access to. ## Code Examples ``` query GetHubs { hubs { pagination { cursor } results { name id } } } ``` ``` {"data":{"hubs":{"pagination":{"cursor":null},"results":[{"name":"AEC DM Developer Advocacy Support","id":"urn:adsk.ace:prod.scope:dccde3e3-c20c-40d3-a27c-7ac53b051b6e"},{"name":"Developer Advocacy Support","id":"urn:adsk.ace:prod.scope:c0c44a35-fc67-4a8d-8967-f2d975bc03ec"}]}}} ``` ``` query GetHubs { hubs { pagination { cursor } results { name id } } } ``` ``` {"data":{"hubs":{"pagination":{"cursor":null},"results":[{"name":"AEC DM Developer Advocacy Support","id":"urn:adsk.ace:prod.scope:dccde3e3-c20c-40d3-a27c-7ac53b051b6e"},{"name":"Developer Advocacy Support","id":"urn:adsk.ace:prod.scope:c0c44a35-fc67-4a8d-8967-f2d975bc03ec"}]}}} ``` --- ## getprojects.md # Get Projects ## Step 1: Request for a list of Projects within a Hub > In this guide, you will learn how to retrieve a list of all projects available within the hubs you have access to. ## Code Examples ``` query GetProjects($hubId: ID!) { projects(hubId: $hubId) { pagination { cursor } results { id name alternativeIdentifiers{ dataManagementAPIProjectId } } } } ``` ``` {"hubId":"urn:adsk.ace:prod.scope:dccde3e3-c20c-40d3-a27c-7ac53b051b6e"} ``` ``` {"data":{"projects":{"pagination":{"cursor":null},"results":[{"id":"urn:adsk.workspace:prod.project:39208068-e548-4d9e-b8a7-e000fdf2a9b4","name":"AEC DM Bootcamp Project","alternativeIdentifiers":{"dataManagementAPIProjectId":"b.ddcecd34-68b7-41af-ad65-2ce571186c6c"}}]}}} ``` ``` query GetProjects($hubId: ID!) { projects(hubId: $hubId) { pagination { cursor } results { id name alternativeIdentifiers{ dataManagementAPIProjectId } } } } ``` ``` {"hubId":"urn:adsk.ace:prod.scope:dccde3e3-c20c-40d3-a27c-7ac53b051b6e"} ``` ``` {"data":{"projects":{"pagination":{"cursor":null},"results":[{"id":"urn:adsk.workspace:prod.project:39208068-e548-4d9e-b8a7-e000fdf2a9b4","name":"AEC DM Bootcamp Project","alternativeIdentifiers":{"dataManagementAPIProjectId":"b.ddcecd34-68b7-41af-ad65-2ce571186c6c"}}]}}} ``` --- ## nav-elements.md # Navigate to ElementGroups within a Project ## Step 1: Request for a list of ElementGroups within a Project ## Step 2: To preview the model > In this guide, you will learn how to retrieve a list of ElementGroups within a specific project. ElementGroups are collections of elements that can be used to organize and manage data in Autodesk AEC applications. ## Code Examples ``` query GetElementGroupsByProject($projectId: ID!) { elementGroupsByProject(projectId: $projectId) { pagination { cursor } results{ name id alternativeIdentifiers{ fileUrn fileVersionUrn } } } } ``` ``` {"projectId":"urn:adsk.workspace:prod.project:39208068-e548-4d9e-b8a7-e000fdf2a9b4"} ``` ``` {"data":{"elementGroupsByProject":{"pagination":{"cursor":null},"results":[{"name":"Snowdon Towers Sample HVAC.rvt","id":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35uUVpyS1BEUVJVS0VFOWtmWWNHV0VB","alternativeIdentifiers":{"fileUrn":"urn:adsk.wipprod:dm.lineage:nQZrKPDQRUKEE9kfYcGWEA","fileVersionUrn":"urn:adsk.wipprod:fs.file:vf.nQZrKPDQRUKEE9kfYcGWEA?version=1"}},{"name":"Snowdon Towers Sample El ...etc ``` ``` query GetElementGroupsByProject($projectId: ID!) { elementGroupsByProject(projectId: $projectId) { pagination { cursor } results{ name id alternativeIdentifiers{ fileUrn fileVersionUrn } } } } ``` ``` {"projectId":"urn:adsk.workspace:prod.project:39208068-e548-4d9e-b8a7-e000fdf2a9b4"} ``` ``` {"data":{"elementGroupsByProject":{"pagination":{"cursor":null},"results":[{"name":"Snowdon Towers Sample HVAC.rvt","id":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35uUVpyS1BEUVJVS0VFOWtmWWNHV0VB","alternativeIdentifiers":{"fileUrn":"urn:adsk.wipprod:dm.lineage:nQZrKPDQRUKEE9kfYcGWEA","fileVersionUrn":"urn:adsk.wipprod:fs.file:vf.nQZrKPDQRUKEE9kfYcGWEA?version=1"}},{"name":"Snowdon Towers Sample El ...etc ``` --- ## elementsbycategory.md # Get Elements from a Category ## Step 1: Request Elements matching the specified classification filter > In this guide, you will learn how to retrieve elements from a specific category within an ElementGroup. This is useful for filtering elements based on their classification, such as walls, doors, or windows. ## Code Examples ``` query GetElementsFromCategory($elementGroupId: ID!, $propertyFilter: String!) { elementsByElementGroup(elementGroupId: $elementGroupId, filter: {query:$propertyFilter}) { pagination { cursor } results { id name properties { results { name value definition { units{ name } } } } } } } ``` ``` {"elementGroupId":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVB","propertyFilter":"property.name.category==Walls"} ``` ``` {"data":{"elementsByElementGroup":{"pagination":{"cursor":"Y3Vyc341MH41MA"},"results":[{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVBXzEwMGMzNw","name":"Generic - 21\"","properties":{"results":[{"name":"Description","value":null,"definition":{"units":null}},{"name":"Manufacturer","value":null,"definition":{"units":null}},{"name":"Model","value":null,"definition":{" ...etc ``` ``` query GetElementsFromCategory($elementGroupId: ID!, $propertyFilter: String!) { elementsByElementGroup(elementGroupId: $elementGroupId, filter: {query:$propertyFilter}) { pagination { cursor } results { id name properties { results { name value definition { units{ name } } } } } } } ``` ``` {"elementGroupId":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVB","propertyFilter":"property.name.category==Walls"} ``` ``` {"data":{"elementsByElementGroup":{"pagination":{"cursor":"Y3Vyc341MH41MA"},"results":[{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVBXzEwMGMzNw","name":"Generic - 21\"","properties":{"results":[{"name":"Description","value":null,"definition":{"units":null}},{"name":"Manufacturer","value":null,"definition":{"units":null}},{"name":"Model","value":null,"definition":{" ...etc ``` --- ## task1a.md # Get ElementGroups Based on Metadata ## Step 1: Request ElementGroups by Hub > In this guide, you will learn how to query hubs based on metadata using RSQL (a query language designed for filtering and querying data) and receive responses from the AEC Data Model server. ## Code Examples ``` query elementGroupsByHub($hubId: ID!, $filter: ElementGroupFilterInput, $pagination: PaginationInput) { elementGroupsByHub(hubId: $hubId, filter: $filter, pagination: $pagination) { pagination { cursor } results { id name alternativeIdentifiers { fileUrn fileVersionUrn } } } } ``` ``` {"hubId":"urn:adsk.ace:prod.scope:dccde3e3-c20c-40d3-a27c-7ac53b051b6e","filter":{"query":"metadata.createdOn>2024-05-01T06:37:13.472Z"},"pagination":{"limit":5}} ``` ``` {"data":{"elementGroupsByHub":{"pagination":{"cursor":"Y3Vyc341fjU"},"results":[{"id":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35uUVpyS1BEUVJVS0VFOWtmWWNHV0VB","name":"Snowdon Towers Sample HVAC.rvt","alternativeIdentifiers":{"fileUrn":"urn:adsk.wipprod:dm.lineage:nQZrKPDQRUKEE9kfYcGWEA","fileVersionUrn":"urn:adsk.wipprod:fs.file:vf.nQZrKPDQRUKEE9kfYcGWEA?version=1"}},{"id":"YWVjZH42SUpGQXdONExWT ...etc ``` ``` query elementGroupsByHub($hubId: ID!, $filter: ElementGroupFilterInput, $pagination: PaginationInput) { elementGroupsByHub(hubId: $hubId, filter: $filter, pagination: $pagination) { pagination { cursor } results { id name alternativeIdentifiers { fileUrn fileVersionUrn } } } } ``` ``` {"hubId":"urn:adsk.ace:prod.scope:dccde3e3-c20c-40d3-a27c-7ac53b051b6e","filter":{"query":"metadata.createdOn>2024-05-01T06:37:13.472Z"},"pagination":{"limit":5}} ``` ``` {"data":{"elementGroupsByHub":{"pagination":{"cursor":"Y3Vyc341fjU"},"results":[{"id":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35uUVpyS1BEUVJVS0VFOWtmWWNHV0VB","name":"Snowdon Towers Sample HVAC.rvt","alternativeIdentifiers":{"fileUrn":"urn:adsk.wipprod:dm.lineage:nQZrKPDQRUKEE9kfYcGWEA","fileVersionUrn":"urn:adsk.wipprod:fs.file:vf.nQZrKPDQRUKEE9kfYcGWEA?version=1"}},{"id":"YWVjZH42SUpGQXdONExWT ...etc ``` --- ## task2a.md # Get Versions of an ElementGroup ## Step 1: Request for a particular ElementGroup > In this guide, you will learn how to query the versions of a specific elementGroup using the AEC Data Model Explorer. You will retrieve the version history of an elementGroup, including the version number and creation date. ## Code Examples ``` query ($elementGroupId: ID!) { elementGroupAtTip(elementGroupId: $elementGroupId) { id name alternativeIdentifiers { fileUrn fileVersionUrn } versionHistory { versions { results { versionNumber createdOn } } } } } ``` ``` {"elementGroupId":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVB"} ``` ``` {"data":{"elementGroupAtTip":{"id":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVB","name":"Snowdon Towers Sample Architectural.rvt","alternativeIdentifiers":{"fileUrn":"urn:adsk.wipprod:dm.lineage:rEdJOCOqR0ekyJBBYlR9EA","fileVersionUrn":"urn:adsk.wipprod:fs.file:vf.rEdJOCOqR0ekyJBBYlR9EA?version=1"},"versionHistory":{"versions":{"results":[{"versionNumber":1,"createdOn" ...etc ``` ``` query ($elementGroupId: ID!) { elementGroupAtTip(elementGroupId: $elementGroupId) { id name alternativeIdentifiers { fileUrn fileVersionUrn } versionHistory { versions { results { versionNumber createdOn } } } } } ``` ``` {"elementGroupId":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVB"} ``` ``` {"data":{"elementGroupAtTip":{"id":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVB","name":"Snowdon Towers Sample Architectural.rvt","alternativeIdentifiers":{"fileUrn":"urn:adsk.wipprod:dm.lineage:rEdJOCOqR0ekyJBBYlR9EA","fileVersionUrn":"urn:adsk.wipprod:fs.file:vf.rEdJOCOqR0ekyJBBYlR9EA?version=1"},"versionHistory":{"versions":{"results":[{"versionNumber":1,"createdOn" ...etc ``` --- ## task3a.md # Get Element Instances of a Particular Type ## Step 1: Request for a list of elements in an ElementGroup > In this guide, you will learn how to retrieve all instances of a particular type from a Design at Tip. Additionally, you can request select properties like Area, Volume, etc. of these instances and their type to be returned. Let us try to retrieve all basic wall instances of the type Foundation - 24\" Concrete from the Snowdon Towers Sample Architecture.rvt. ## Code Examples ``` query ($elementGroupId: ID!, $propertyFilter: String!) { elementsByElementGroup( elementGroupId: $elementGroupId filter: { query: $propertyFilter } pagination: {limit: 5} ) { pagination { cursor } results { id name properties { results { name value } } referencedBy(name: "Type") { pagination { cursor } results { id name alternativeIdentifiers { externalElementId } properties { results { name value } } } } } } } ``` ``` {"elementGroupId":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVB","propertyFilter":"'property.name.category'=contains=Walls and 'property.name.Element Context'==Type and 'property.name.Element Name'=contains='Foundation - 24'"} ``` ``` {"data":{"elementsByElementGroup":{"pagination":{"cursor":null},"results":[{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVBXzEyYTFiNQ","name":"Foundation - 24\" Concrete","properties":{"results":[{"name":"Description","value":null},{"name":"Manufacturer","value":null},{"name":"Model","value":null},{"name":"Type Comments","value":null},{"name":"URL","value":null},{"na ...etc ``` ``` query ($elementGroupId: ID!, $propertyFilter: String!) { elementsByElementGroup( elementGroupId: $elementGroupId filter: { query: $propertyFilter } pagination: {limit: 5} ) { pagination { cursor } results { id name properties { results { name value } } referencedBy(name: "Type") { pagination { cursor } results { id name alternativeIdentifiers { externalElementId } properties { results { name value } } } } } } } ``` ``` {"elementGroupId":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVB","propertyFilter":"'property.name.category'=contains=Walls and 'property.name.Element Context'==Type and 'property.name.Element Name'=contains='Foundation - 24'"} ``` ``` {"data":{"elementsByElementGroup":{"pagination":{"cursor":null},"results":[{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVBXzEyYTFiNQ","name":"Foundation - 24\" Concrete","properties":{"results":[{"name":"Description","value":null},{"name":"Manufacturer","value":null},{"name":"Model","value":null},{"name":"Type Comments","value":null},{"name":"URL","value":null},{"na ...etc ``` --- ## task4a.md # Get Element Instances in a Category by Version ## Step 1: Request elements matching the specified classification filter > In this guide, you will learn how to retrieve all instances of a particular category from an elementGroup at a specific version. Also, you can request only those instances that match your filter criteria. ## Code Examples ``` query GetWallsElementsByElementGroupIdAtVersion($elementGroupId: ID!, $versionNumber: Int!, $propertyFilter: String!) { elementsByElementGroupAtVersion(elementGroupId: $elementGroupId, versionNumber: $versionNumber, filter: { query: $propertyFilter}, pagination : { limit : 5 }) { pagination { cursor } results { id name properties { results { name value displayValue } } } } } ``` ``` {"elementGroupId":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVB","versionNumber":1,"propertyFilter":"property.name.category==Walls and 'property.name.Element Context'==Instance"} ``` ``` {"data":{"elementsByElementGroupAtVersion":{"pagination":{"cursor":"Y3Vyc341fjU"},"results":[{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVBXzEwMTc5NQ","name":"_Not Defined","properties":{"results":[{"name":"Comments","value":null,"displayValue":null},{"name":"Angle","value":0,"displayValue":"0"},{"name":"Angle","value":0,"displayValue":"0"},{"name":"Offset","value" ...etc ``` ``` query GetWallsElementsByElementGroupIdAtVersion($elementGroupId: ID!, $versionNumber: Int!, $propertyFilter: String!) { elementsByElementGroupAtVersion(elementGroupId: $elementGroupId, versionNumber: $versionNumber, filter: { query: $propertyFilter}, pagination : { limit : 5 }) { pagination { cursor } results { id name properties { results { name value displayValue } } } } } ``` ``` {"elementGroupId":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVB","versionNumber":1,"propertyFilter":"property.name.category==Walls and 'property.name.Element Context'==Instance"} ``` ``` {"data":{"elementsByElementGroupAtVersion":{"pagination":{"cursor":"Y3Vyc341fjU"},"results":[{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVBXzEwMTc5NQ","name":"_Not Defined","properties":{"results":[{"name":"Comments","value":null,"displayValue":null},{"name":"Angle","value":0,"displayValue":"0"},{"name":"Angle","value":0,"displayValue":"0"},{"name":"Offset","value" ...etc ``` --- ## task5a.md # Get Project Elements with Specific Properties ## Step 1: Request Elements Matching the Specified Classification Filter > In this guide, you will learn how to retrieve elements in a project based on specific properties using the AEC Data Model Explorer. You will retrieve elements that match certain criteria, such as walls with a length rating greater than 10. ## Code Examples ``` query GetElementsInProject($projectId: ID!, $propertyFilter: String!) { elementsByProject(projectId: $projectId, filter: {query: $propertyFilter}) { pagination { cursor } results { id name properties( includeReferencesProperties: "Type" filter: {names: ["Family Name", "Element Name", "Element Context", "Fire Rating"]} ) { results { name value displayValue definition { units{ name } } } } } } } ``` ``` {"projectId":"urn:adsk.workspace:prod.project:39208068-e548-4d9e-b8a7-e000fdf2a9b4","propertyFilter":"'property.name.Family Name'=='Basic Wall' and property.name.Length > 10 and 'property.name.Element Context'==Instance"} ``` ``` {"data":{"elementsByProject":{"pagination":{"cursor":"YWRjdXJzfjB-NTB-NTA"},"results":[{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ340VFVtRnF0WFJVVy1CS09Gb1cyd3FRXzE4NTI4MQ","name":"Generic - 200mm","properties":{"results":[{"name":"Element Name","value":"Generic - 200mm","displayValue":"Generic - 200mm","definition":{"units":null}},{"name":"Family Name","value":"Basic Wall","displayValue":"Ba ...etc ``` ``` query GetElementsInProject($projectId: ID!, $propertyFilter: String!) { elementsByProject(projectId: $projectId, filter: {query: $propertyFilter}) { pagination { cursor } results { id name properties( includeReferencesProperties: "Type" filter: {names: ["Family Name", "Element Name", "Element Context", "Fire Rating"]} ) { results { name value displayValue definition { units{ name } } } } } } } ``` ``` {"projectId":"urn:adsk.workspace:prod.project:39208068-e548-4d9e-b8a7-e000fdf2a9b4","propertyFilter":"'property.name.Family Name'=='Basic Wall' and property.name.Length > 10 and 'property.name.Element Context'==Instance"} ``` ``` {"data":{"elementsByProject":{"pagination":{"cursor":"YWRjdXJzfjB-NTB-NTA"},"results":[{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ340VFVtRnF0WFJVVy1CS09Gb1cyd3FRXzE4NTI4MQ","name":"Generic - 200mm","properties":{"results":[{"name":"Element Name","value":"Generic - 200mm","displayValue":"Generic - 200mm","definition":{"units":null}},{"name":"Family Name","value":"Basic Wall","displayValue":"Ba ...etc ``` --- ## task6a.md # Get Elements by using Instances or Reference ## Step 1: List all Elements Having Concrete Material in a ElementGroup ## Step 2: List Element Instances Having Concrete Material ## Step 3: List Elements having Concrete material by using Reference type > In this guide, you will learn how to retrieve all elements from all elementGroups within a project. You will also learn how to filter elements based on their materials, by element instances, or by using reference types to fetch specific results that match your criteria. ## Code Examples ``` query GetConcreteMaterials($elementGroupId: ID!, $propertyFilter: String!) { elementsByElementGroup( elementGroupId: $elementGroupId filter: {query: $propertyFilter} pagination: {limit: 20} ) { results { id name } } } ``` ``` {"elementGroupId":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVB","propertyFilter":"property.name.category==Materials and 'property.name.Element Name'=contains='Concrete'"} ``` ``` {"data":{"elementsByElementGroup":{"results":[{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVBXzE1Nzc0Mw","name":"Concrete, Precast Smooth, Light Grey"},{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVBXzFmYjFhNA","name":"Concrete, Polished"},{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVBXzQ5ZmI","name":" ...etc ``` ``` query GetInstancesOfConcreteMaterial($elementGroupId: ID!, $propertyFilter: String!) { elementsByElementGroup(elementGroupId: $elementGroupId, filter: { query: $propertyFilter}, pagination : { limit : 20 }) { results { id name properties { results { name value } } references{ results{ name displayValue value{ properties{ results{ name value displayValue } } } } } } } } ``` ``` {"elementGroupId":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3","propertyFilter":"('reference.Structural Material'==YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3XzJkNjE3 or 'reference.Structural Material'==YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3XzJlZA) and 'property.name.Element Context'==Instance"} ``` ``` {"data":{"elementsByElementGroup":{"results":[{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3XzkzZjc1","name":"CC24x24","properties":{"results":[{"name":"Comments","value":null},{"name":"Has Association","value":false},{"name":"Column Location Mark","value":"D-3"},{"name":"Mark","value":null},{"name":"External ID","value":"e37453ab-55ac-464e-96ef-b2d748a679fc-00093f ...etc ``` ``` query GetInstancesOfConcreteMaterial($elementGroupId: ID!, $propertyFilter: String!) { elementsByElementGroup( elementGroupId: $elementGroupId filter: {query: $propertyFilter} pagination: {limit: 20} ) { results { id name referencedBy(name: "Type") { results { id name properties { results { name value } } } } } } } ``` ``` {"elementGroupId":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3","propertyFilter":"('reference.Structural Material'==YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3XzJkNjE3 or 'reference.Structural Material'==YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3XzJlZA) and 'property.name.Element Context'==Type"} ``` ``` {"data":{"elementsByElementGroup":{"results":[{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3XzExMTY","name":"Concrete 10","referencedBy":{"results":[{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3X2EzOTY3","name":"Concrete 10","properties":{"results":[{"name":"Comments","value":null},{"name":"Has Association","value":false},{"name":" ...etc ``` ``` query GetConcreteMaterials($elementGroupId: ID!, $propertyFilter: String!) { elementsByElementGroup( elementGroupId: $elementGroupId filter: {query: $propertyFilter} pagination: {limit: 20} ) { results { id name } } } ``` ``` {"elementGroupId":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVB","propertyFilter":"property.name.category==Materials and 'property.name.Element Name'=contains='Concrete'"} ``` ``` {"data":{"elementsByElementGroup":{"results":[{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVBXzE1Nzc0Mw","name":"Concrete, Precast Smooth, Light Grey"},{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVBXzFmYjFhNA","name":"Concrete, Polished"},{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ35yRWRKT0NPcVIwZWt5SkJCWWxSOUVBXzQ5ZmI","name":" ...etc ``` ``` query GetInstancesOfConcreteMaterial($elementGroupId: ID!, $propertyFilter: String!) { elementsByElementGroup(elementGroupId: $elementGroupId, filter: { query: $propertyFilter}, pagination : { limit : 20 }) { results { id name properties { results { name value } } references{ results{ name displayValue value{ properties{ results{ name value displayValue } } } } } } } } ``` ``` {"elementGroupId":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3","propertyFilter":"('reference.Structural Material'==YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3XzJkNjE3 or 'reference.Structural Material'==YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3XzJlZA) and 'property.name.Element Context'==Instance"} ``` ``` {"data":{"elementsByElementGroup":{"results":[{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3XzkzZjc1","name":"CC24x24","properties":{"results":[{"name":"Comments","value":null},{"name":"Has Association","value":false},{"name":"Column Location Mark","value":"D-3"},{"name":"Mark","value":null},{"name":"External ID","value":"e37453ab-55ac-464e-96ef-b2d748a679fc-00093f ...etc ``` ``` query GetInstancesOfConcreteMaterial($elementGroupId: ID!, $propertyFilter: String!) { elementsByElementGroup( elementGroupId: $elementGroupId filter: {query: $propertyFilter} pagination: {limit: 20} ) { results { id name referencedBy(name: "Type") { results { id name properties { results { name value } } } } } } } ``` ``` {"elementGroupId":"YWVjZH42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3","propertyFilter":"('reference.Structural Material'==YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3XzJkNjE3 or 'reference.Structural Material'==YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3XzJlZA) and 'property.name.Element Context'==Type"} ``` ``` {"data":{"elementsByElementGroup":{"results":[{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3XzExMTY","name":"Concrete 10","referencedBy":{"results":[{"id":"YWVjZX42SUpGQXdONExWTG5JZXZiQk5GNU1IX0wyQ350OU0xX0J3VVRObVllbXRoUVBYNHh3X2EzOTY3","name":"Concrete 10","properties":{"results":[{"name":"Comments","value":null},{"name":"Has Association","value":false},{"name":" ...etc ``` --- ## distinctvaluesquery.md # Get Distinct Values of Properties ## Step 1: Retrieve distinct values by ID ## Retrieve distinct values by Name ### Vairable examples: Filtering by Categories and Materials > This page describes how to use the following queries to retrieve distinct values of properties in the AEC Data Model API. These queries enable you to find and retrieve all distinct values of a given property within an element group, either by property definition ID or property name. ## Code Examples ``` query ($elementGroupId: ID!, $propertyDefinitionId: ID!, $filter: ElementFilterInput) { distinctPropertyValuesInElementGroupById(elementGroupId: $elementGroupId, propertyDefinitionId: $propertyDefinitionId, filter: $filter) { values(limit: 200) { value, count } } } ``` ``` {"elementGroupId":"YWVjZH5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ35GZGhKOWZxZFJSR2QxTXAwNU1RWkVR","propertyDefinitionId":"autodesk.revit.parameter:parameter.category-2.0.0"} ``` ``` "values": [ { "value": "Curtain Wall Mullions", "count": 2372 }, { "value": "Analytical Nodes", "count": 1410 } ] ``` ``` query ($elementGroupId: ID!, $name: String!, $filter: ElementFilterInput, $pagination: PaginationInput) { distinctPropertyValuesInElementGroupByName(elementGroupId: $elementGroupId, name: $name, filter: $filter, pagination: $pagination) { pagination { cursor } results { definition { id } values(limit: 200) { value count } } } } ``` ``` {"elementGroupId":"YWVjZH5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ35GZGhKOWZxZFJSR2QxTXAwNU1RWkVR","name":"Length"} ``` ``` "results": [ { "definition": { "id": "autodesk.revit.parameter:structuralFoundationLength-2.0.0", }, "values": [ { "value": "1.93546015625", "count": 5 }, { "value": "1.0947796875000002", "count": 1 } ] }, { "definition": { "id": "autodesk.revit.parameter:continuousrailEndExtensionLengthParam-2.0.0", }, "values": [ { "value": "3.0463569792873577", "count": 1 } ] } } ``` ``` {"elementGroupId":"YWVjZH5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ35GZGhKOWZxZFJSR2QxTXAwNU1RWkVR","name":"Family Name","filter":{"query":"property.name.category==Doors"}} ``` ``` {"elementGroupId":"YWVjZH5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ35GZGhKOWZxZFJSR2QxTXAwNU1RWkVR","name":"Type","filter":{"query":"'property.name.Family Name'=='Single'"}} ``` ``` {"elementGroupId":"YWVjZH5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ35GZGhKOWZxZFJSR2QxTXAwNU1RWkVR","name":"Structural Material","filter":{"query":"property.name.category==Walls"}} ``` ``` { "elementGroupId": "YWVjZH5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ35GZGhKOWZxZFJSR2QxTXAwNU1RWkVR", "name": "Width", "filter": { "query" : "property.name.category==Doors", "properties" { "name": "Width", "valueWithComparator": { "value": "0.9", "comparator": "LESS_THAN" } } } } ``` ``` query ($elementGroupId: ID!, $propertyDefinitionId: ID!, $filter: ElementFilterInput) { distinctPropertyValuesInElementGroupById(elementGroupId: $elementGroupId, propertyDefinitionId: $propertyDefinitionId, filter: $filter) { values(limit: 200) { value, count } } } ``` ``` {"elementGroupId":"YWVjZH5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ35GZGhKOWZxZFJSR2QxTXAwNU1RWkVR","propertyDefinitionId":"autodesk.revit.parameter:parameter.category-2.0.0"} ``` ``` "values": [ { "value": "Curtain Wall Mullions", "count": 2372 }, { "value": "Analytical Nodes", "count": 1410 } ] ``` ``` query ($elementGroupId: ID!, $name: String!, $filter: ElementFilterInput, $pagination: PaginationInput) { distinctPropertyValuesInElementGroupByName(elementGroupId: $elementGroupId, name: $name, filter: $filter, pagination: $pagination) { pagination { cursor } results { definition { id } values(limit: 200) { value count } } } } ``` ``` {"elementGroupId":"YWVjZH5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ35GZGhKOWZxZFJSR2QxTXAwNU1RWkVR","name":"Length"} ``` ``` "results": [ { "definition": { "id": "autodesk.revit.parameter:structuralFoundationLength-2.0.0", }, "values": [ { "value": "1.93546015625", "count": 5 }, { "value": "1.0947796875000002", "count": 1 } ] }, { "definition": { "id": "autodesk.revit.parameter:continuousrailEndExtensionLengthParam-2.0.0", }, "values": [ { "value": "3.0463569792873577", "count": 1 } ] } } ``` ``` {"elementGroupId":"YWVjZH5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ35GZGhKOWZxZFJSR2QxTXAwNU1RWkVR","name":"Family Name","filter":{"query":"property.name.category==Doors"}} ``` ``` {"elementGroupId":"YWVjZH5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ35GZGhKOWZxZFJSR2QxTXAwNU1RWkVR","name":"Type","filter":{"query":"'property.name.Family Name'=='Single'"}} ``` ``` {"elementGroupId":"YWVjZH5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ35GZGhKOWZxZFJSR2QxTXAwNU1RWkVR","name":"Structural Material","filter":{"query":"property.name.category==Walls"}} ``` ``` { "elementGroupId": "YWVjZH5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ35GZGhKOWZxZFJSR2QxTXAwNU1RWkVR", "name": "Width", "filter": { "query" : "property.name.category==Doors", "properties" { "name": "Width", "valueWithComparator": { "value": "0.9", "comparator": "LESS_THAN" } } } } ``` --- ## ElementGroupValidation.md # Elementgroup Validation Sample Workflow ## Before You Begin ## Setting up the Application ## Running the Sample ## Workflow Description > Validating data property names, units, and types used across elementgroups in a project is a valuable QA/QC process. This sample automates this task using the AEC Data Model APIs. ## Code Examples ``` git clone https://github.com/autodesk-platform-services/aps-aecdatamodel-samples.git ``` ``` Define the following environment variables: Mac OSX/Linux (Terminal) dotnet restore export APS_CLIENT_ID=<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> export APS_CLIENT_SECRET=<<YOUR CLIENT SECRET>> export APS_CALLBACK_URL=http://localhost:8080/api/auth/callback Windows dotnet restore set APS_CLIENT_ID =<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> set APS_CLIENT_SECRET =<<YOUR CLIENT SECRET>> set APS_CALLBACK_URL=http://localhost:8080/api/auth/callback ``` ``` dotnet run ``` ``` elementGroupsByProject(projectId: $projectId) { pagination{ pageSize cursor } results{ name id propertyDefinitions{ results{ id name description specification } } } } ``` ``` elementGroupsByProject(projectId: $projectId, pagination:{cursor:"cursor string here"}) { pagination{ pageSize cursor } results{ name id propertyDefinitions{ results{ id name description specification } } } } ``` ``` { projectId = "Your project ID" } ``` ``` Define the following environment variables: Mac OSX/Linux (Terminal) dotnet restore export APS_CLIENT_ID=<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> export APS_CLIENT_SECRET=<<YOUR CLIENT SECRET>> export APS_CALLBACK_URL=http://localhost:8080/api/auth/callback Windows dotnet restore set APS_CLIENT_ID =<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> set APS_CLIENT_SECRET =<<YOUR CLIENT SECRET>> set APS_CALLBACK_URL=http://localhost:8080/api/auth/callback ``` ``` elementGroupsByProject(projectId: $projectId) { pagination{ pageSize cursor } results{ name id propertyDefinitions{ results{ id name description specification } } } } ``` ``` elementGroupsByProject(projectId: $projectId, pagination:{cursor:"cursor string here"}) { pagination{ pageSize cursor } results{ name id propertyDefinitions{ results{ id name description specification } } } } ``` ``` { projectId = "Your project ID" } ``` --- ## quantitytakeoff.md # Quantity Takeoff Sample Workflow ## Before You Begin ## Setting up the Application ## Running the Sample ## Workflow Description > This sample allows you to build a quantity takeoff for ‘Doors’. You will fetch all elements filtered by classification ‘Doors’. ## Code Examples ``` git clone https://github.com/autodesk-platform-services/aps-aecdatamodel-samples.git ``` ``` Define the following environment variables: Mac OSX/Linux (Terminal) dotnet restore export APS_CLIENT_ID=<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> export APS_CLIENT_SECRET=<<YOUR CLIENT SECRET>> export APS_CALLBACK_URL=http://localhost:8080/api/auth/callback Windows dotnet restore set APS_CLIENT_ID =<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> set APS_CLIENT_SECRET =<<YOUR CLIENT SECRET>> set APS_CALLBACK_URL=http://localhost:8080/api/auth/callback ``` ``` dotnet run ``` ``` query getQuantityTakeoff ($elementGroupId: ID!, $elementsfilter: String!){ elementsByElementGroup(elementGroupId: $elementGroupId, filter: { query: $elementsfilter}) { pagination{ pageSize cursor } results{ id name } } } ``` ``` query getQuantityTakeoff ($elementGroupId: ID!, $elementsfilter: String!){ elementsByElementGroup(elementGroupId: $elementGroupId, filter: { query: $elementsfilter}, pagination:{cursor:"cursor"}) { pagination{ pageSize cursor } results{ id name } } } ``` ``` { elementGroupId = elementGroupId, elementsfilter = elementsfilter } ``` ``` Define the following environment variables: Mac OSX/Linux (Terminal) dotnet restore export APS_CLIENT_ID=<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> export APS_CLIENT_SECRET=<<YOUR CLIENT SECRET>> export APS_CALLBACK_URL=http://localhost:8080/api/auth/callback Windows dotnet restore set APS_CLIENT_ID =<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> set APS_CLIENT_SECRET =<<YOUR CLIENT SECRET>> set APS_CALLBACK_URL=http://localhost:8080/api/auth/callback ``` ``` query getQuantityTakeoff ($elementGroupId: ID!, $elementsfilter: String!){ elementsByElementGroup(elementGroupId: $elementGroupId, filter: { query: $elementsfilter}) { pagination{ pageSize cursor } results{ id name } } } ``` ``` query getQuantityTakeoff ($elementGroupId: ID!, $elementsfilter: String!){ elementsByElementGroup(elementGroupId: $elementGroupId, filter: { query: $elementsfilter}, pagination:{cursor:"cursor"}) { pagination{ pageSize cursor } results{ id name } } } ``` ``` { elementGroupId = elementGroupId, elementsfilter = elementsfilter } ``` --- ## schedule.md # Window Schedule Sample Workflow ## Before You Begin ## Setting up the Application ## Running the Sample ## Workflow Description > A schedule is typically used to identify, in most cases a chart or table providing descriptions of the windows , doors, finishes, lintels, footings, piers, etc. on a construction project. Let’s take the same sample model and imagine that you would like to build a window schedule. You will need to retrieve properties like panel glazing, glass, frame material, height, width, etc. of all Elementgroups entity instances of category windows. ## Code Examples ``` git clone https://github.com/autodesk-platform-services/aps-aecdatamodel-samples.git ``` ``` Define the following environment variables: Mac OSX/Linux (Terminal) dotnet restore export APS_CLIENT_ID=<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> export APS_CLIENT_SECRET=<<YOUR CLIENT SECRET>> export APS_CALLBACK_URL=http://localhost:8080/api/auth/callback Windows dotnet restore set APS_CLIENT_ID =<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> set APS_CLIENT_SECRET =<<YOUR CLIENT SECRET>> set APS_CALLBACK_URL=http://localhost:8080/api/auth/callback ``` ``` dotnet run ``` ``` query GetSchedule($elementGroupId: ID!, $elementsfilter: String!){ elementsByElementGroup(elementGroupId: $elementGroupId,filter: { query: $elementsfilter}){ pagination{ pageSize cursor } results{ id name properties{ results{ name value displayValue propertyDefinition{ units } } } references{ results{ name value{ properties{ results{ name value displayValue definition{ units{ name } } } } } } } } } } ``` ``` query GetSchedule($elementGroupId: ID!, $elementsfilter: String!){ elementsByElementGroup(elementGroupId: $elementGroupId,filter: { query: $elementsfilter}, pagination:{cursor:"cursor"}){ pagination{ pageSize cursor } results{ id name properties{ results{ name value displayValue definition{ units{ name } } } } references{ results{ name value{ properties{ results{ name value displayValue definition{ units{ name } } } } } } } } } } ``` ``` { elementGroupId = elementGroupId, elementsfilter = elementsfilter } ``` ``` Define the following environment variables: Mac OSX/Linux (Terminal) dotnet restore export APS_CLIENT_ID=<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> export APS_CLIENT_SECRET=<<YOUR CLIENT SECRET>> export APS_CALLBACK_URL=http://localhost:8080/api/auth/callback Windows dotnet restore set APS_CLIENT_ID =<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> set APS_CLIENT_SECRET =<<YOUR CLIENT SECRET>> set APS_CALLBACK_URL=http://localhost:8080/api/auth/callback ``` ``` query GetSchedule($elementGroupId: ID!, $elementsfilter: String!){ elementsByElementGroup(elementGroupId: $elementGroupId,filter: { query: $elementsfilter}){ pagination{ pageSize cursor } results{ id name properties{ results{ name value displayValue propertyDefinition{ units } } } references{ results{ name value{ properties{ results{ name value displayValue definition{ units{ name } } } } } } } } } } ``` ``` query GetSchedule($elementGroupId: ID!, $elementsfilter: String!){ elementsByElementGroup(elementGroupId: $elementGroupId,filter: { query: $elementsfilter}, pagination:{cursor:"cursor"}){ pagination{ pageSize cursor } results{ id name properties{ results{ name value displayValue definition{ units{ name } } } } references{ results{ name value{ properties{ results{ name value displayValue definition{ units{ name } } } } } } } } } } ``` ``` { elementGroupId = elementGroupId, elementsfilter = elementsfilter } ``` --- ## ProcurementDashboard.md # Furniture Procurement Dashboard Sample Workflow ## Before You Begin ## Setting up the Application ## Running the Sample ## Workflow Description > Obtaining furniture procurement data can help building managers make more informed decisions about budgeting, maintenance, compliance, and planning, which can ultimately lead to a more efficient and effective use of resources. ## Code Examples ``` git clone https://github.com/autodesk-platform-services/aps-aecdatamodel-samples.git ``` ``` Define the following environment variables: Mac OSX/Linux (Terminal) dotnet restore export APS_CLIENT_ID=<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> export APS_CLIENT_SECRET=<<YOUR CLIENT SECRET>> export APS_CALLBACK_URL=http://localhost:8080/api/auth/callback Windows dotnet restore set APS_CLIENT_ID =<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> set APS_CLIENT_SECRET =<<YOUR CLIENT SECRET>> set APS_CALLBACK_URL=http://localhost:8080/api/auth/callback ``` ``` dotnet run ``` ``` ``` query GetFurnitureProcurement($elementGroupId: ID!, $elementsfilter: String!, $referencefilter: String!) { elements(elementGroupId: $elementGroupId, filter: { query: $elementsfilter}) { pagination { pageSize cursor } results { id name properties (filter: {names: ["Element Name"]}){ results { name value } } referencedBy (name: "Level", filter: { query: $referencefilter}) { results { name properties (filter: {names: [""Family Name"", ""Element Name""]}) { results { name value } } } } } } } ``` ``` ``` ``` query GetFurnitureProcurement($elementGroupId: ID!, $elementsfilter: String!, $referencefilter: String!) { elements(elementGroupId: $elementGroupId, filter: { query: $elementsfilter}, pagination:{cursor:"cursor string here"}) { pagination { pageSize cursor } results { id name properties (filter: {names: ["Element Name"]}){ results { name value } } referencedBy (name: "Level", filter: { query: $referencefilter}) { results { name properties (filter: {names: [""Family Name"", ""Element Name""]}) { results { name value } } } } } } } ``` ``` ``` ``` { elementGroupId = "Your elementGroup ID", elementsfilter = elementsfilter, referencefilter = referencefilter } ``` ``` ``` Define the following environment variables: Mac OSX/Linux (Terminal) dotnet restore export APS_CLIENT_ID=<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> export APS_CLIENT_SECRET=<<YOUR CLIENT SECRET>> export APS_CALLBACK_URL=http://localhost:8080/api/auth/callback Windows dotnet restore set APS_CLIENT_ID =<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> set APS_CLIENT_SECRET =<<YOUR CLIENT SECRET>> set APS_CALLBACK_URL=http://localhost:8080/api/auth/callback ``` ``` ``` query GetFurnitureProcurement($elementGroupId: ID!, $elementsfilter: String!, $referencefilter: String!) { elements(elementGroupId: $elementGroupId, filter: { query: $elementsfilter}) { pagination { pageSize cursor } results { id name properties (filter: {names: ["Element Name"]}){ results { name value } } referencedBy (name: "Level", filter: { query: $referencefilter}) { results { name properties (filter: {names: [""Family Name"", ""Element Name""]}) { results { name value } } } } } } } ``` ``` ``` ``` query GetFurnitureProcurement($elementGroupId: ID!, $elementsfilter: String!, $referencefilter: String!) { elements(elementGroupId: $elementGroupId, filter: { query: $elementsfilter}, pagination:{cursor:"cursor string here"}) { pagination { pageSize cursor } results { id name properties (filter: {names: ["Element Name"]}){ results { name value } } referencedBy (name: "Level", filter: { query: $referencefilter}) { results { name properties (filter: {names: [""Family Name"", ""Element Name""]}) { results { name value } } } } } } } ``` ``` ``` ``` { elementGroupId = "Your elementGroup ID", elementsfilter = elementsfilter, referencefilter = referencefilter } ``` ``` --- ## CompareVersions.md # Compare Elementgroups Sample Workflow ## Before You Begin ## Setting up the Application ## Running the Sample ## Workflow Description > Comparing elementgroups can help architects and designers create more effective and functional buildings that meet the needs of their clients and occupants. By evaluating different options and approaches, they can find innovative solutions and create unique and inspiring spaces. ## Code Examples ``` git clone https://github.com/autodesk-platform-services/aps-aecdatamodel-samples.git ``` ``` Define the following environment variables: Mac OSX/Linux (Terminal) dotnet restore export APS_CLIENT_ID=<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> export APS_CLIENT_SECRET=<<YOUR CLIENT SECRET>> export APS_CALLBACK_URL=http://localhost:8080/api/auth/callback Windows dotnet restore set APS_CLIENT_ID =<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> set APS_CLIENT_SECRET =<<YOUR CLIENT SECRET>> set APS_CALLBACK_URL=http://localhost:8080/api/auth/callback ``` ``` dotnet run ``` ``` query getVersionProperties($elementGroupId: ID!, $versionNumber: Int!){ elementGroupByVersionNumber(elementGroupId:$elementGroupId , versionNumber:$versionNumber ){ name elements{ pagination{ pageSize cursor } results{ id name properties{ results{ name value definition{ id name units{ name } } } } } } } } ``` ``` query getVersionProperties($elementGroupId: ID!, $versionNumber: Int!){ elementGroupByVersionNumber(elementGroupId:$elementGroupId , versionNumber:$versionNumber , pagination:{cursor:"cursor"}){ name elements{ pagination{ pageSize cursor } results{ id name properties{ results{ name value definition{ id name units{ name } } } } } } } } ``` ``` { elementGroupId = elementGroupId, elementsfilter = elementsfilter, referencefilter = referencefilter } ``` ``` Define the following environment variables: Mac OSX/Linux (Terminal) dotnet restore export APS_CLIENT_ID=<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> export APS_CLIENT_SECRET=<<YOUR CLIENT SECRET>> export APS_CALLBACK_URL=http://localhost:8080/api/auth/callback Windows dotnet restore set APS_CLIENT_ID =<<YOUR CLIENT ID FROM DEVELOPER PORTAL>> set APS_CLIENT_SECRET =<<YOUR CLIENT SECRET>> set APS_CALLBACK_URL=http://localhost:8080/api/auth/callback ``` ``` query getVersionProperties($elementGroupId: ID!, $versionNumber: Int!){ elementGroupByVersionNumber(elementGroupId:$elementGroupId , versionNumber:$versionNumber ){ name elements{ pagination{ pageSize cursor } results{ id name properties{ results{ name value definition{ id name units{ name } } } } } } } } ``` ``` query getVersionProperties($elementGroupId: ID!, $versionNumber: Int!){ elementGroupByVersionNumber(elementGroupId:$elementGroupId , versionNumber:$versionNumber , pagination:{cursor:"cursor"}){ name elements{ pagination{ pageSize cursor } results{ id name properties{ results{ name value definition{ id name units{ name } } } } } } } } ``` ``` { elementGroupId = elementGroupId, elementsfilter = elementsfilter, referencefilter = referencefilter } ``` --- ## graphqlendpoint.md # aec/graphql ## Resource Information ### Request ## Headers ### Request ## Body Structure ## Example 1 ### Request ### Response ## Example 2 ### Request ### Response ## Example 3 ### Request ### Response > Sends GraphQL requests to AEC Data Model GraphQL service and returns responses in the JSON format. ## Code Examples ``` curl -v 'https://developer.api.autodesk.com/aec/graphql' \ -X 'POST' \ -H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a...' \ -H 'Content-Type: application/json' \ -d '{ "query":"query GetProjects($hubId: String!) { projects(hubId: $hubId) { results { id name } }", "variables":{ "hubId":"a.YnVzaW5lc3M6YXV0b2Rlc2syMDA2" } }' ``` ``` {"data":{"projects":{"results":[{"id":"a.YnVzaW5lc3M6YXV0b2Rlc2syMDM5I0QyMDIyMDEzMTUwMzg3NDE5","name":"Default Project"},{"id":"a.YnVzaW5lc3M6YXV0b2Rlc2syMDM5I0QyMDIyMDEzMTUwMzg3NDQ0","name":"Admin Project"},{"id":"a.YnVzaW5lc3M6YXV0b2Rlc2syMDM5I0QyMDIyMDEzMTUwMzg3NDY5","name":"Assets"}]}}} ``` ``` axios({ method: 'POST', url: 'https://developer.api.autodesk.com/aec/graphql', data: { query: `{ hubs { results { name } } }` } }) ``` ``` {"data":{"hubs":{"results":[{"id":"a.YnVzaW5lc3M6YXV0b2Rlc2s2MTA0","name":"L2-Forge-Data-Team"},{"id":"a.YnVzaW5lc3M6YXV0b2Rlc2s0NTA5","name":"Michelangelo\u00e2\u0080\u0099s Playground"}]}}} ``` ``` static async Task getHubs(){ var clientHandler = new HttpClientHandler(); var client = new HttpClient(clientHandler); var request = new HttpRequestMessage { Method = HttpMethod.Post, RequestUri = new Uri("https://developer.api.autodesk.com/aec/graphql"), Headers = { { "Authorization", "Bearer <<YOUR TOKEN HERE>>" } }, Content = new StringContent(@"{""query"":""query GetHubs {hubs {pagination{cursor}results{name id}}}"",""variables"":{}}") { Headers = { ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); } } ``` ``` {"data":{"hubs":{"pagination":{"cursor":null},"results":[{"name":"JM Test","id":"a.YnVzaW5lc3M6YXV0b2Rlc2s1ODcy"},{"name":"AEC Data Model Account","id":"b.03f98b13-ec95-461b-b945-765f496165c1"},{"name":"Developer Advocacy Support","id":"b.489c5e7a-c6c0-4212-81f3-3529a621210b"},{"name":"Construction Records Testing","id":"b.768cae14-76b3-4531-9030-25212dab4e48"}]}}} ``` ``` curl -v 'https://developer.api.autodesk.com/aec/graphql' \ -X 'POST' \ -H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a...' \ -H 'Content-Type: application/json' \ -d '{ "query":"query GetProjects($hubId: String!) { projects(hubId: $hubId) { results { id name } }", "variables":{ "hubId":"a.YnVzaW5lc3M6YXV0b2Rlc2syMDA2" } }' ``` ``` {"data":{"projects":{"results":[{"id":"a.YnVzaW5lc3M6YXV0b2Rlc2syMDM5I0QyMDIyMDEzMTUwMzg3NDE5","name":"Default Project"},{"id":"a.YnVzaW5lc3M6YXV0b2Rlc2syMDM5I0QyMDIyMDEzMTUwMzg3NDQ0","name":"Admin Project"},{"id":"a.YnVzaW5lc3M6YXV0b2Rlc2syMDM5I0QyMDIyMDEzMTUwMzg3NDY5","name":"Assets"}]}}} ``` ``` axios({ method: 'POST', url: 'https://developer.api.autodesk.com/aec/graphql', data: { query: `{ hubs { results { name } } }` } }) ``` ``` {"data":{"hubs":{"results":[{"id":"a.YnVzaW5lc3M6YXV0b2Rlc2s2MTA0","name":"L2-Forge-Data-Team"},{"id":"a.YnVzaW5lc3M6YXV0b2Rlc2s0NTA5","name":"Michelangelo\u00e2\u0080\u0099s Playground"}]}}} ``` ``` static async Task getHubs(){ var clientHandler = new HttpClientHandler(); var client = new HttpClient(clientHandler); var request = new HttpRequestMessage { Method = HttpMethod.Post, RequestUri = new Uri("https://developer.api.autodesk.com/aec/graphql"), Headers = { { "Authorization", "Bearer <<YOUR TOKEN HERE>>" } }, Content = new StringContent(@"{""query"":""query GetHubs {hubs {pagination{cursor}results{name id}}}"",""variables"":{}}") { Headers = { ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); } } ``` ``` {"data":{"hubs":{"pagination":{"cursor":null},"results":[{"name":"JM Test","id":"a.YnVzaW5lc3M6YXV0b2Rlc2s1ODcy"},{"name":"AEC Data Model Account","id":"b.03f98b13-ec95-461b-b945-765f496165c1"},{"name":"Developer Advocacy Support","id":"b.489c5e7a-c6c0-4212-81f3-3529a621210b"},{"name":"Construction Records Testing","id":"b.768cae14-76b3-4531-9030-25212dab4e48"}]}}} ``` --- ## elementgroupattip.md # elementGroupAtTip ## Arguments ## Possible Returns ## Examples ## Code Examples ``` query GetElementGroupAtTip($elementGroupId: ID!) { elementGroupAtTip(elementGroupId: $elementGroupId) { # ElementGroupAtTip Fields } } ``` ``` {"elementGroupId":"<SOME-ID-TYPE-SCALAR-VALUE>"} ``` ``` query GetElementGroupAtTip($elementGroupId: ID!) { elementGroupAtTip(elementGroupId: $elementGroupId) { # ElementGroupAtTip Fields } } ``` ``` {"elementGroupId":"<SOME-ID-TYPE-SCALAR-VALUE>"} ``` --- ## elementgroupbyversionnumber.md # elementGroupByVersionNumber ## Arguments ## Possible Returns ## Examples ## Code Examples ``` query GetElementGroupByVersionNumber($elementGroupId: ID!, $versionNumber: Int!) { elementGroupByVersionNumber(elementGroupId: $elementGroupId, versionNumber: $versionNumber) { # ElementGroupByVersionNumber Fields } } ``` ``` {"elementGroupId":"<SOME-ID-TYPE-SCALAR-VALUE>","versionNumber":"<SOME-INT-TYPE-SCALAR-VALUE>"} ``` ``` query GetElementGroupByVersionNumber($elementGroupId: ID!, $versionNumber: Int!) { elementGroupByVersionNumber(elementGroupId: $elementGroupId, versionNumber: $versionNumber) { # ElementGroupByVersionNumber Fields } } ``` ``` {"elementGroupId":"<SOME-ID-TYPE-SCALAR-VALUE>","versionNumber":"<SOME-INT-TYPE-SCALAR-VALUE>"} ``` --- ## elementgroupextractionstatus.md # elementGroupExtractionStatus ## Arguments ## Possible Returns ## Examples ## Code Examples ``` query GetElementGroupExtractionStatus($fileUrn: ID!, $versionNumber: Int) { elementGroupExtractionStatus(fileUrn: $fileUrn, versionNumber: $versionNumber) { # ElementGroupExtractionStatus Fields } } ``` ``` {"fileUrn":"<SOME-ID-TYPE-SCALAR-VALUE>","versionNumber":"<SOME-INT-TYPE-SCALAR-VALUE>"} ``` ``` query GetElementGroupExtractionStatus($fileUrn: ID!, $versionNumber: Int) { elementGroupExtractionStatus(fileUrn: $fileUrn, versionNumber: $versionNumber) { # ElementGroupExtractionStatus Fields } } ``` ``` {"fileUrn":"<SOME-ID-TYPE-SCALAR-VALUE>","versionNumber":"<SOME-INT-TYPE-SCALAR-VALUE>"} ``` --- ## elementgroupextractionstatusattip.md # elementGroupExtractionStatusAtTip ## Arguments ## Possible Returns ## Code Examples ``` query GetElementGroupExtractionStatusAtTip($fileUrn: ID!, $accProjectId: ID!) { elementGroupExtractionStatusAtTip(fileUrn: $fileUrn, accProjectId: $accProjectId) { # ElementGroupExtractionStatusAtTip Fields } } ``` ``` {"fileUrn":"<SOME-ID-TYPE-SCALAR-VALUE>","accProjectId":"<SOME-ID-TYPE-SCALAR-VALUE>"} ``` ``` query GetElementGroupExtractionStatusAtTip($fileUrn: ID!, $accProjectId: ID!) { elementGroupExtractionStatusAtTip(fileUrn: $fileUrn, accProjectId: $accProjectId) { # ElementGroupExtractionStatusAtTip Fields } } ``` ``` {"fileUrn":"<SOME-ID-TYPE-SCALAR-VALUE>","accProjectId":"<SOME-ID-TYPE-SCALAR-VALUE>"} ``` --- ## elementgroupsbyhub.md # elementGroupsByHub ## Arguments ## Possible Returns ## Examples ## Code Examples ``` query GetElementGroupsByHub($hubId: ID!, $filter: ElementGroupFilterInput, $pagination: PaginationInput) { elementGroupsByHub(hubId: $hubId, filter: $filter, pagination: $pagination) { # ElementGroupsByHub Fields } } ``` ``` {"hubId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTGROUPFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetElementGroupsByHub($hubId: ID!, $filter: ElementGroupFilterInput, $pagination: PaginationInput) { elementGroupsByHub(hubId: $hubId, filter: $filter, pagination: $pagination) { # ElementGroupsByHub Fields } } ``` ``` {"hubId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTGROUPFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` --- ## elementgroupsbyproject.md # elementGroupsByProject ## Arguments ## Possible Returns ## Examples ## Code Examples ``` query GetElementGroupsByProject($projectId: ID!, $filter: ElementGroupFilterInput, $pagination: PaginationInput) { elementGroupsByProject(projectId: $projectId, filter: $filter, pagination: $pagination) { # ElementGroupsByProject Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTGROUPFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetElementGroupsByProject($projectId: ID!, $filter: ElementGroupFilterInput, $pagination: PaginationInput) { elementGroupsByProject(projectId: $projectId, filter: $filter, pagination: $pagination) { # ElementGroupsByProject Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTGROUPFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` --- ## elementgroupsbyfolder.md # elementGroupsByFolder ## Arguments ## Possible Returns ## Examples ## Code Examples ``` query GetElementGroupsByFolder($projectId: ID!, $folderId: ID!, $filter: ElementGroupFilterInput, $pagination: PaginationInput) { elementGroupsByFolder(projectId: $projectId, folderId: $folderId, filter: $filter, pagination: $pagination) { # ElementGroupsByFolder Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>","folderId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTGROUPFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetElementGroupsByFolder($projectId: ID!, $folderId: ID!, $filter: ElementGroupFilterInput, $pagination: PaginationInput) { elementGroupsByFolder(projectId: $projectId, folderId: $folderId, filter: $filter, pagination: $pagination) { # ElementGroupsByFolder Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>","folderId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTGROUPFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` --- ## elementgroupsbyfolderandsubfolders.md # elementGroupsByFolderAndSubFolders ## Arguments ## Possible Returns ## Examples ## Code Examples ``` query GetElementGroupsByFolderAndSubFolders($projectId: ID!, $folderId: ID!, $filter: ElementGroupFilterInput, $pagination: PaginationInput) { elementGroupsByFolderAndSubFolders(projectId: $projectId, folderId: $folderId, filter: $filter, pagination: $pagination) { # ElementGroupsByFolderAndSubFolders Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>","folderId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTGROUPFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetElementGroupsByFolderAndSubFolders($projectId: ID!, $folderId: ID!, $filter: ElementGroupFilterInput, $pagination: PaginationInput) { elementGroupsByFolderAndSubFolders(projectId: $projectId, folderId: $folderId, filter: $filter, pagination: $pagination) { # ElementGroupsByFolderAndSubFolders Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>","folderId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTGROUPFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` --- ## elementattip.md # elementAtTip ## Arguments ## Possible Returns ## Examples ### Example 1 ## Code Examples ``` query GetElementAtTip($elementId: ID!) { elementAtTip(elementId: $elementId) { # ElementAtTip Fields } } ``` ``` {"elementId":"<SOME-ID-TYPE-SCALAR-VALUE>"} ``` ``` query GetElementAtTip($elementId: ID!, $propertiesPagination: PaginationInput) { elementAtTip(elementId: $elementId) { id name properties(pagination: $propertiesPagination) { results { name value } } } } ``` ``` {"elementId":"YWVjZX5FMnRqOFJFOXRsSlRQNU9WVzBiaDZ4X0wyQ35QV0hqdllJalM3NmNWbURQTXJFMXZRXzEwMDAwMA","propertiesPagination":{"limit":5}} ``` ``` {"data":{"elementAtTip":{"id":"YWVjZX5FMnRqOFJFOXRsSlRQNU9WVzBiaDZ4X0wyQ35QV0hqdllJalM3NmNWbURQTXJFMXZRXzEwMDAwMA","name":"2.5\" x 5\" rectangular (Orange)","properties":{"pagination":{"pageSize":5,"cursor":"Y3Vyc341fjU"},"results":[{"name":"Length","value":1.2192},{"name":"Design Option","value":"Main Model"},{"name":"Area","value":0.24032209999999998},{"name":"Volume","value":0.0098322384},{"nam ...etc ``` ``` query GetElementAtTip($elementId: ID!) { elementAtTip(elementId: $elementId) { # ElementAtTip Fields } } ``` ``` {"elementId":"<SOME-ID-TYPE-SCALAR-VALUE>"} ``` ``` query GetElementAtTip($elementId: ID!, $propertiesPagination: PaginationInput) { elementAtTip(elementId: $elementId) { id name properties(pagination: $propertiesPagination) { results { name value } } } } ``` ``` {"elementId":"YWVjZX5FMnRqOFJFOXRsSlRQNU9WVzBiaDZ4X0wyQ35QV0hqdllJalM3NmNWbURQTXJFMXZRXzEwMDAwMA","propertiesPagination":{"limit":5}} ``` ``` {"data":{"elementAtTip":{"id":"YWVjZX5FMnRqOFJFOXRsSlRQNU9WVzBiaDZ4X0wyQ35QV0hqdllJalM3NmNWbURQTXJFMXZRXzEwMDAwMA","name":"2.5\" x 5\" rectangular (Orange)","properties":{"pagination":{"pageSize":5,"cursor":"Y3Vyc341fjU"},"results":[{"name":"Length","value":1.2192},{"name":"Design Option","value":"Main Model"},{"name":"Area","value":0.24032209999999998},{"name":"Volume","value":0.0098322384},{"nam ...etc ``` --- ## elementsbyhub.md # elementsByHub ## Arguments ## Possible Returns ## Examples ### Example 1 ## Code Examples ``` query GetElementsByHub($hubId: ID!, $filter: ElementFilterInput, $pagination: PaginationInput) { elementsByHub(hubId: $hubId, filter: $filter, pagination: $pagination) { # ElementsByHub Fields } } ``` ``` {"hubId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetElementsByHub($hubId: ID!, $filter: ElementFilterInput, $pagination: PaginationInput) { elementsByHub(hubId: $hubId, filter: $filter, pagination: $pagination) { pagination { pageSize cursor } results { id name } } } ``` ``` {"hubId":"b.e4fbd315-2dc5-4026-8ca3-80f09d24ff42","filter":{"query":"property.name.category==Windows and 'property.name.Element Context'==Instance"},"pagination":{"limit":5}} ``` ``` {"data":{"elementsByHub":{"pagination":{"pageSize":5,"cursor":"YWRjdXJzfk5VTEx-QlE9PX41"},"results":[{"id":"YWVjZX5FMnRqOFJFOXRsSlRQNU9WVzBiaDZ4X0wyQ35QQllLNWlOb1NsQ283QVpEOVdUM0V3XzEyM2ViN2M","name":"32.10-sparing tbv installaties_1400x600"},{"id":"YWVjZX5FMnRqOFJFOXRsSlRQNU9WVzBiaDZ4X0wyQ35QQllLNWlOb1NsQ283QVpEOVdUM0V3XzEyM2ViN2Q","name":"32.10-sparing tbv installaties_1100x650"},{"id":"YWVjZX5F ...etc ``` ``` query GetElementsByHub($hubId: ID!, $filter: ElementFilterInput, $pagination: PaginationInput) { elementsByHub(hubId: $hubId, filter: $filter, pagination: $pagination) { # ElementsByHub Fields } } ``` ``` {"hubId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetElementsByHub($hubId: ID!, $filter: ElementFilterInput, $pagination: PaginationInput) { elementsByHub(hubId: $hubId, filter: $filter, pagination: $pagination) { pagination { pageSize cursor } results { id name } } } ``` ``` {"hubId":"b.e4fbd315-2dc5-4026-8ca3-80f09d24ff42","filter":{"query":"property.name.category==Windows and 'property.name.Element Context'==Instance"},"pagination":{"limit":5}} ``` ``` {"data":{"elementsByHub":{"pagination":{"pageSize":5,"cursor":"YWRjdXJzfk5VTEx-QlE9PX41"},"results":[{"id":"YWVjZX5FMnRqOFJFOXRsSlRQNU9WVzBiaDZ4X0wyQ35QQllLNWlOb1NsQ283QVpEOVdUM0V3XzEyM2ViN2M","name":"32.10-sparing tbv installaties_1400x600"},{"id":"YWVjZX5FMnRqOFJFOXRsSlRQNU9WVzBiaDZ4X0wyQ35QQllLNWlOb1NsQ283QVpEOVdUM0V3XzEyM2ViN2Q","name":"32.10-sparing tbv installaties_1100x650"},{"id":"YWVjZX5F ...etc ``` --- ## elementsbyproject.md # elementsByProject ## Arguments ## Possible Returns ## Examples ### Example 1 ## Code Examples ``` query GetElementsByProject($projectId: ID!, $filter: ElementFilterInput, $pagination: PaginationInput) { elementsByProject(projectId: $projectId, filter: $filter, pagination: $pagination) { # ElementsByProject Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetElementsByProject($projectId: ID!, $filter: ElementFilterInput, $pagination: PaginationInput) { elementsByProject(projectId: $projectId, filter: $filter, pagination: $pagination) { pagination { pageSize cursor } results { id name } } } ``` ``` {"projectId":"YWltcHJvan5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NQ","filter":{"query":"property.name.category==Windows and 'property.name.Element Context'==Instance"},"pagination":{"limit":5}} ``` ``` {"data":{"elementsByProject":{"pagination":{"pageSize":5,"cursor":"YWRjdXJzfk5VTEx-QlE9PX41"},"results":[{"id":"YWVjZX5FMnRqOFJFOXRsSlRQNU9WVzBiaDZ4X0wyQ35QQllLNWlOb1NsQ283QVpEOVdUM0V3XzEyM2ViN2M","name":"32.10-sparing tbv installaties_1400x600"},{"id":"YWVjZX5FMnRqOFJFOXRsSlRQNU9WVzBiaDZ4X0wyQ35QQllLNWlOb1NsQ283QVpEOVdUM0V3XzEyM2ViN2Q","name":"32.10-sparing tbv installaties_1100x650"},{"id":"YWVj ...etc ``` ``` query GetElementsByProject($projectId: ID!, $filter: ElementFilterInput, $pagination: PaginationInput) { elementsByProject(projectId: $projectId, filter: $filter, pagination: $pagination) { # ElementsByProject Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetElementsByProject($projectId: ID!, $filter: ElementFilterInput, $pagination: PaginationInput) { elementsByProject(projectId: $projectId, filter: $filter, pagination: $pagination) { pagination { pageSize cursor } results { id name } } } ``` ``` {"projectId":"YWltcHJvan5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NQ","filter":{"query":"property.name.category==Windows and 'property.name.Element Context'==Instance"},"pagination":{"limit":5}} ``` ``` {"data":{"elementsByProject":{"pagination":{"pageSize":5,"cursor":"YWRjdXJzfk5VTEx-QlE9PX41"},"results":[{"id":"YWVjZX5FMnRqOFJFOXRsSlRQNU9WVzBiaDZ4X0wyQ35QQllLNWlOb1NsQ283QVpEOVdUM0V3XzEyM2ViN2M","name":"32.10-sparing tbv installaties_1400x600"},{"id":"YWVjZX5FMnRqOFJFOXRsSlRQNU9WVzBiaDZ4X0wyQ35QQllLNWlOb1NsQ283QVpEOVdUM0V3XzEyM2ViN2Q","name":"32.10-sparing tbv installaties_1100x650"},{"id":"YWVj ...etc ``` --- ## elementsbyfolder.md # elementsByFolder ## Arguments ## Possible Returns ## Examples ### Example 1 ## Code Examples ``` query GetElementsByFolder($projectId: ID!, $folderId: ID!, $filter: ElementFilterInput, $pagination: PaginationInput) { elementsByFolder(projectId: $projectId, folderId: $folderId, filter: $filter, pagination: $pagination) { # ElementsByFolder Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>","folderId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetElementsByFolder($folderId: ID!, $filter: ElementFilterInput, $pagination: PaginationInput) { elementsByFolder(folderId: $folderId, filter: $filter, pagination: $pagination) { pagination { pageSize cursor } results { id name } } } ``` ``` {"folderId":"Zm9sZH5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NX51cm46YWRzay53aXBzdGc6ZnMuZm9sZGVyOmNvLlhvSG9RY3pHUm9LczVZRm4yUDNpWlE","filter":{"query":"property.name.category==Windows and 'property.name.Element Context'==Instance"},"pagination":{"limit":5}} ``` ``` {"data":{"elementsByFolder":{"pagination":{"pageSize":5,"cursor":"YWRjdXJzfk5VTEx-QlE9PX41"},"results":[{"id":"YWVjZX5FMnRqOFJFOXRsSlRQNU9WVzBiaDZ4X0wyQ35QQllLNWlOb1NsQ283QVpEOVdUM0V3XzEyM2ViN2M","name":"32.10-sparing tbv installaties_1400x600"},{"id":"YWVjZX5FMnRqOFJFOXRsSlRQNU9WVzBiaDZ4X0wyQ35QQllLNWlOb1NsQ283QVpEOVdUM0V3XzEyM2ViN2Q","name":"32.10-sparing tbv installaties_1100x650"},{"id":"YWVjZ ...etc ``` ``` query GetElementsByFolder($projectId: ID!, $folderId: ID!, $filter: ElementFilterInput, $pagination: PaginationInput) { elementsByFolder(projectId: $projectId, folderId: $folderId, filter: $filter, pagination: $pagination) { # ElementsByFolder Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>","folderId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetElementsByFolder($folderId: ID!, $filter: ElementFilterInput, $pagination: PaginationInput) { elementsByFolder(folderId: $folderId, filter: $filter, pagination: $pagination) { pagination { pageSize cursor } results { id name } } } ``` ``` {"folderId":"Zm9sZH5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NX51cm46YWRzay53aXBzdGc6ZnMuZm9sZGVyOmNvLlhvSG9RY3pHUm9LczVZRm4yUDNpWlE","filter":{"query":"property.name.category==Windows and 'property.name.Element Context'==Instance"},"pagination":{"limit":5}} ``` ``` {"data":{"elementsByFolder":{"pagination":{"pageSize":5,"cursor":"YWRjdXJzfk5VTEx-QlE9PX41"},"results":[{"id":"YWVjZX5FMnRqOFJFOXRsSlRQNU9WVzBiaDZ4X0wyQ35QQllLNWlOb1NsQ283QVpEOVdUM0V3XzEyM2ViN2M","name":"32.10-sparing tbv installaties_1400x600"},{"id":"YWVjZX5FMnRqOFJFOXRsSlRQNU9WVzBiaDZ4X0wyQ35QQllLNWlOb1NsQ283QVpEOVdUM0V3XzEyM2ViN2Q","name":"32.10-sparing tbv installaties_1100x650"},{"id":"YWVjZ ...etc ``` --- ## elementsbyelementgroup.md # elementsByElementGroup ## Arguments ## Possible Returns ## Examples ## Code Examples ``` query GetElementsByElementGroup($elementGroupId: ID!, $filter: ElementFilterInput, $pagination: PaginationInput) { elementsByElementGroup(elementGroupId: $elementGroupId, filter: $filter, pagination: $pagination) { # ElementsByElementGroup Fields } } ``` ``` {"elementGroupId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetElementsByElementGroup($elementGroupId: ID!, $filter: ElementFilterInput, $pagination: PaginationInput) { elementsByElementGroup(elementGroupId: $elementGroupId, filter: $filter, pagination: $pagination) { # ElementsByElementGroup Fields } } ``` ``` {"elementGroupId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` --- ## elementsbyelementgroupatversion.md # elementsByElementGroupAtVersion ## Arguments ## Possible Returns ## Examples ## Code Examples ``` query GetElementsByElementGroupAtVersion($elementGroupId: ID!, $versionNumber: Int!, $filter: ElementFilterInput, $pagination: PaginationInput) { elementsByElementGroupAtVersion(elementGroupId: $elementGroupId, versionNumber: $versionNumber, filter: $filter, pagination: $pagination) { # ElementsByElementGroupAtVersion Fields } } ``` ``` {"elementGroupId":"<SOME-ID-TYPE-SCALAR-VALUE>","versionNumber":"<SOME-INT-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetElementsByElementGroupAtVersion($elementGroupId: ID!, $versionNumber: Int!, $filter: ElementFilterInput, $pagination: PaginationInput) { elementsByElementGroupAtVersion(elementGroupId: $elementGroupId, versionNumber: $versionNumber, filter: $filter, pagination: $pagination) { # ElementsByElementGroupAtVersion Fields } } ``` ``` {"elementGroupId":"<SOME-ID-TYPE-SCALAR-VALUE>","versionNumber":"<SOME-INT-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` --- ## hub.md # hub ## Arguments ## Possible Returns ## Examples ### Example 1 ## Code Examples ``` query GetHub($hubId: ID!) { hub(hubId: $hubId) { # Hub Fields } } ``` ``` {"hubId":"<SOME-ID-TYPE-SCALAR-VALUE>"} ``` ``` query GetHub($hubId: ID!) { hub(hubId: $hubId) { id name projects { results { id name } } } } ``` ``` {"hubId":"b.e4fbd315-2dc5-4026-8ca3-80f09d24ff42"} ``` ``` {"data":{"hub":{"id":"b.e4fbd315-2dc5-4026-8ca3-80f09d24ff42","name":"Revit Nexus","projects":{"results":[{"id":"YWltcHJvan5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NQ","name":"AEC Design AIM STG"},{"id":"YWltcHJvan5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjgxY2U0YjkyLWIxNTYtNDE5ZS04MjM1LTNiNzY5M2FhMGY0MA","name":"Extractor-A ...etc ``` ``` query GetHub($hubId: ID!) { hub(hubId: $hubId) { # Hub Fields } } ``` ``` {"hubId":"<SOME-ID-TYPE-SCALAR-VALUE>"} ``` ``` query GetHub($hubId: ID!) { hub(hubId: $hubId) { id name projects { results { id name } } } } ``` ``` {"hubId":"b.e4fbd315-2dc5-4026-8ca3-80f09d24ff42"} ``` ``` {"data":{"hub":{"id":"b.e4fbd315-2dc5-4026-8ca3-80f09d24ff42","name":"Revit Nexus","projects":{"results":[{"id":"YWltcHJvan5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NQ","name":"AEC Design AIM STG"},{"id":"YWltcHJvan5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjgxY2U0YjkyLWIxNTYtNDE5ZS04MjM1LTNiNzY5M2FhMGY0MA","name":"Extractor-A ...etc ``` --- ## hubs.md # hubs ## Arguments ## Possible Returns ## Examples ### Example 1 ## Code Examples ``` query GetHubs($filter: HubFilterInput, $pagination: PaginationInput) { hubs(filter: $filter, pagination: $pagination) { # Hubs Fields } } ``` ``` {"filter":"<SOME-HUBFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetHubs { hubs { results { id name } } } ``` ``` {} ``` ``` {"data":{"hubs":{"results":[{"name":"Revit Nexus","id":"b.e4fbd315-2dc5-4026-8ca3-80f09d24ff42"},{"name":"Golden Gate","id":"b.5c07c84c-bbd9-476e-8712-547f74c5b76b"}]}}} ``` ``` query GetHubs($filter: HubFilterInput, $pagination: PaginationInput) { hubs(filter: $filter, pagination: $pagination) { # Hubs Fields } } ``` ``` {"filter":"<SOME-HUBFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetHubs { hubs { results { id name } } } ``` ``` {} ``` ``` {"data":{"hubs":{"results":[{"name":"Revit Nexus","id":"b.e4fbd315-2dc5-4026-8ca3-80f09d24ff42"},{"name":"Golden Gate","id":"b.5c07c84c-bbd9-476e-8712-547f74c5b76b"}]}}} ``` --- ## project.md # project ## Arguments ## Possible Returns ## Examples ### Example 1 ## Code Examples ``` query GetProject($projectId: ID!) { project(projectId: $projectId) { # Project Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>"} ``` ``` query GetProject($projectId: ID!) { project (projectId: $projectId) { id name folders { results { id name objectCount } } } } ``` ``` {"projectId":"YWltcHJvan5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NQ"} ``` ``` {"data":{"project":{"id":"YWltcHJvan5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NQ","name":"AEC Design AIM STG ","folders":{"results":[{"id":"Zm9sZH5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NX51cm46YWRzay53aXBzdGc6ZnMuZm9sZGVyOmNvLlhvSG9RY3pHUm9LczVZRm4yUDNpWlE","name":"Project Fi ...etc ``` ``` query GetProject($projectId: ID!) { project(projectId: $projectId) { # Project Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>"} ``` ``` query GetProject($projectId: ID!) { project (projectId: $projectId) { id name folders { results { id name objectCount } } } } ``` ``` {"projectId":"YWltcHJvan5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NQ"} ``` ``` {"data":{"project":{"id":"YWltcHJvan5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NQ","name":"AEC Design AIM STG ","folders":{"results":[{"id":"Zm9sZH5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NX51cm46YWRzay53aXBzdGc6ZnMuZm9sZGVyOmNvLlhvSG9RY3pHUm9LczVZRm4yUDNpWlE","name":"Project Fi ...etc ``` --- ## projects.md # projects ## Arguments ## Possible Returns ## Examples ### Example 1 ## Code Examples ``` query GetProjects($hubId: ID!, $filter: ProjectFilterInput, $pagination: PaginationInput) { projects(hubId: $hubId, filter: $filter, pagination: $pagination) { # Projects Fields } } ``` ``` {"hubId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-PROJECTFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetProjects($hubId: String!) { projects(hubId: $hubId) { results { name id hub { id name } } } } ``` ``` {"hubId":"b.5c07c84c-bbd9-476e-8712-547f74c5b76b"} ``` ``` {"data":{"projects":{"results":[{"id":"YWltcHJvan5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NQ","name":"AEC Design AIM STG","hub":{"id":"b.e4fbd315-2dc5-4026-8ca3-80f09d24ff42","name":"Revit Nexus"}},{"id":"YWltcHJvan5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjgxY2U0YjkyLWIxNTYtNDE5ZS04MjM1LTNiNzY5M2FhMGY0MA","name":"Extractor- ...etc ``` ``` query GetProjects($hubId: ID!, $filter: ProjectFilterInput, $pagination: PaginationInput) { projects(hubId: $hubId, filter: $filter, pagination: $pagination) { # Projects Fields } } ``` ``` {"hubId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-PROJECTFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetProjects($hubId: String!) { projects(hubId: $hubId) { results { name id hub { id name } } } } ``` ``` {"hubId":"b.5c07c84c-bbd9-476e-8712-547f74c5b76b"} ``` ``` {"data":{"projects":{"results":[{"id":"YWltcHJvan5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NQ","name":"AEC Design AIM STG","hub":{"id":"b.e4fbd315-2dc5-4026-8ca3-80f09d24ff42","name":"Revit Nexus"}},{"id":"YWltcHJvan5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjgxY2U0YjkyLWIxNTYtNDE5ZS04MjM1LTNiNzY5M2FhMGY0MA","name":"Extractor- ...etc ``` --- ## folder.md # folder ## Arguments ## Possible Returns ## Examples ### Example 1 ## Code Examples ``` query GetFolder($projectId: ID!, $folderId: ID!) { folder(projectId: $projectId, folderId: $folderId) { # Folder Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>","folderId":"<SOME-ID-TYPE-SCALAR-VALUE>"} ``` ``` query GetFolder($folderId: ID!) { folder (folderId: $folderId) { id name objectCount folders { results { id name objectCount } } } } ``` ``` {"folderId":"Zm9sZH5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NX51cm46YWRzay53aXBzdGc6ZnMuZm9sZGVyOmNvLlhvSG9RY3pHUm9LczVZRm4yUDNpWlE"} ``` ``` {"data":{"folder":{"id":"Zm9sZH5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NX51cm46YWRzay53aXBzdGc6ZnMuZm9sZGVyOmNvLlhvSG9RY3pHUm9LczVZRm4yUDNpWlE","name":"Project Files","objectCount":8,"folders":{"results":[{"id":"Zm9sZH5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NX51cm46YWRzay53aX ...etc ``` ``` query GetFolder($projectId: ID!, $folderId: ID!) { folder(projectId: $projectId, folderId: $folderId) { # Folder Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>","folderId":"<SOME-ID-TYPE-SCALAR-VALUE>"} ``` ``` query GetFolder($folderId: ID!) { folder (folderId: $folderId) { id name objectCount folders { results { id name objectCount } } } } ``` ``` {"folderId":"Zm9sZH5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NX51cm46YWRzay53aXBzdGc6ZnMuZm9sZGVyOmNvLlhvSG9RY3pHUm9LczVZRm4yUDNpWlE"} ``` ``` {"data":{"folder":{"id":"Zm9sZH5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NX51cm46YWRzay53aXBzdGc6ZnMuZm9sZGVyOmNvLlhvSG9RY3pHUm9LczVZRm4yUDNpWlE","name":"Project Files","objectCount":8,"folders":{"results":[{"id":"Zm9sZH5iLmU0ZmJkMzE1LTJkYzUtNDAyNi04Y2EzLTgwZjA5ZDI0ZmY0Mn5iLjdhZGJmOWZkLWRlYmItNDI5Yy1iZmU1LTMyYTNjMjJjMDY5NX51cm46YWRzay53aX ...etc ``` --- ## foldersbyfolder.md # foldersByFolder ## Arguments ## Possible Returns ## Examples ## Code Examples ``` query GetFoldersByFolder($projectId: ID!, $folderId: ID!, $filter: FolderFilterInput, $pagination: PaginationInput) { foldersByFolder(projectId: $projectId, folderId: $folderId, filter: $filter, pagination: $pagination) { # FoldersByFolder Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>","folderId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-FOLDERFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetFoldersByFolder($projectId: ID!, $folderId: ID!, $filter: FolderFilterInput, $pagination: PaginationInput) { foldersByFolder(projectId: $projectId, folderId: $folderId, filter: $filter, pagination: $pagination) { # FoldersByFolder Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>","folderId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-FOLDERFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` --- ## foldersbyproject.md # foldersByProject ## Arguments ## Possible Returns ## Examples ## Code Examples ``` query GetFoldersByProject($projectId: ID!, $filter: FolderFilterInput, $pagination: PaginationInput) { foldersByProject(projectId: $projectId, filter: $filter, pagination: $pagination) { # FoldersByProject Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-FOLDERFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetFoldersByProject($projectId: ID!, $filter: FolderFilterInput, $pagination: PaginationInput) { foldersByProject(projectId: $projectId, filter: $filter, pagination: $pagination) { # FoldersByProject Fields } } ``` ``` {"projectId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-FOLDERFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` --- ## distinctpropertyvaluesinelementgroupbyid.md # distinctPropertyValuesInElementGroupById ## Arguments ## Possible Returns ## Examples ### Example 1 ## Code Examples ``` query GetDistinctPropertyValuesInElementGroupById($elementGroupId: ID!, $propertyDefinitionId: ID!, $filter: ElementFilterInput) { distinctPropertyValuesInElementGroupById(elementGroupId: $elementGroupId, propertyDefinitionId: $propertyDefinitionId, filter: $filter) { # DistinctPropertyValuesInElementGroupById Fields } } ``` ``` {"elementGroupId":"<SOME-ID-TYPE-SCALAR-VALUE>","propertyDefinitionId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTFILTER-INPUT-TYPE-VALUE>"} ``` ``` query ($elementGroupId: ID!, $propertyDefinitionId: ID!, $filter: ElementFilterInput) { distinctPropertyValuesInElementGroupById(elementGroupId: $elementGroupId, propertyDefinitionId: $propertyDefinitionId, filter: $filter) { definition { id } values(limit: 200) { value, count } } } ``` ``` {"elementGroupId":"YWVjZH5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ35GZGhKOWZxZFJSR2QxTXAwNU1RWkVR","propertyDefinitionId":"autodesk.revit.parameter:parameter.elemFamilyName-2.0.0","filter":{"query":"property.name.category==Doors"}} ``` ``` {"data":{"distinctPropertyValuesInElementGroupById":{"definition":{"id":"autodesk.revit.parameter:parameter.elemFamilyName-2.0.0"},"values":[{"value":"Door-Passage-Single-Flush","count":105},{"value":"Door-Passage-Single-Two_Lite","count":13},{"value":"Door-Opening","count":9},{"value":"Door-Curtain-Wall-Double-Storefront","count":6},{"value":"36\" x 84\"","count":5}]}}} ``` ``` query GetDistinctPropertyValuesInElementGroupById($elementGroupId: ID!, $propertyDefinitionId: ID!, $filter: ElementFilterInput) { distinctPropertyValuesInElementGroupById(elementGroupId: $elementGroupId, propertyDefinitionId: $propertyDefinitionId, filter: $filter) { # DistinctPropertyValuesInElementGroupById Fields } } ``` ``` {"elementGroupId":"<SOME-ID-TYPE-SCALAR-VALUE>","propertyDefinitionId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTFILTER-INPUT-TYPE-VALUE>"} ``` ``` query ($elementGroupId: ID!, $propertyDefinitionId: ID!, $filter: ElementFilterInput) { distinctPropertyValuesInElementGroupById(elementGroupId: $elementGroupId, propertyDefinitionId: $propertyDefinitionId, filter: $filter) { definition { id } values(limit: 200) { value, count } } } ``` ``` {"elementGroupId":"YWVjZH5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ35GZGhKOWZxZFJSR2QxTXAwNU1RWkVR","propertyDefinitionId":"autodesk.revit.parameter:parameter.elemFamilyName-2.0.0","filter":{"query":"property.name.category==Doors"}} ``` ``` {"data":{"distinctPropertyValuesInElementGroupById":{"definition":{"id":"autodesk.revit.parameter:parameter.elemFamilyName-2.0.0"},"values":[{"value":"Door-Passage-Single-Flush","count":105},{"value":"Door-Passage-Single-Two_Lite","count":13},{"value":"Door-Opening","count":9},{"value":"Door-Curtain-Wall-Double-Storefront","count":6},{"value":"36\" x 84\"","count":5}]}}} ``` --- ## distinctpropertyvaluesinelementgroupbyname.md # distinctPropertyValuesInElementGroupByName ## Arguments ## Possible Returns ## Examples ### Example 1 ## Code Examples ``` query GetDistinctPropertyValuesInElementGroupByName($elementGroupId: ID!, $name: String!, $filter: ElementFilterInput, $pagination: PaginationInput) { distinctPropertyValuesInElementGroupByName(elementGroupId: $elementGroupId, name: $name, filter: $filter, pagination: $pagination) { # DistinctPropertyValuesInElementGroupByName Fields } } ``` ``` {"elementGroupId":"<SOME-ID-TYPE-SCALAR-VALUE>","name":"<SOME-STRING-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query ($elementGroupId: ID!, $name: String!, $filter: ElementFilterInput, $pagination: PaginationInput) { distinctPropertyValuesInElementGroupByName(elementGroupId: $elementGroupId, name: $name, filter: $filter, pagination: $pagination) { results { definition { id } values(limit: 5) { value count } } } } ``` ``` {"elementGroupId":"YWVjZH5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ35GZGhKOWZxZFJSR2QxTXAwNU1RWkVR","name":"Structural Material","filter":{"query":"property.name.category==Walls"}} ``` ``` { "data": { "distinctPropertyValuesInElementGroupByName": { "results": [ { "definition": { "id": "autodesk.revit.parameter:structuralMaterialParam-5.0.0" }, "values": [ { "value": "Concrete Masonry Units", "count": 4 }, { "value": "Metal Stud Layer", "count": 21 }, { "value": "Metal Furring", "count": 5 }, { "value": "Concrete, Cast-in-Place gray", "count": 5 } ] } ] } }, } ``` ``` query GetDistinctPropertyValuesInElementGroupByName($elementGroupId: ID!, $name: String!, $filter: ElementFilterInput, $pagination: PaginationInput) { distinctPropertyValuesInElementGroupByName(elementGroupId: $elementGroupId, name: $name, filter: $filter, pagination: $pagination) { # DistinctPropertyValuesInElementGroupByName Fields } } ``` ``` {"elementGroupId":"<SOME-ID-TYPE-SCALAR-VALUE>","name":"<SOME-STRING-TYPE-SCALAR-VALUE>","filter":"<SOME-ELEMENTFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query ($elementGroupId: ID!, $name: String!, $filter: ElementFilterInput, $pagination: PaginationInput) { distinctPropertyValuesInElementGroupByName(elementGroupId: $elementGroupId, name: $name, filter: $filter, pagination: $pagination) { results { definition { id } values(limit: 5) { value count } } } } ``` ``` {"elementGroupId":"YWVjZH5JR0JWdWROM2QxdW1kTkJZRnR2ZlpBX0wyQ35GZGhKOWZxZFJSR2QxTXAwNU1RWkVR","name":"Structural Material","filter":{"query":"property.name.category==Walls"}} ``` ``` { "data": { "distinctPropertyValuesInElementGroupByName": { "results": [ { "definition": { "id": "autodesk.revit.parameter:structuralMaterialParam-5.0.0" }, "values": [ { "value": "Concrete Masonry Units", "count": 4 }, { "value": "Metal Stud Layer", "count": 21 }, { "value": "Metal Furring", "count": 5 }, { "value": "Concrete, Cast-in-Place gray", "count": 5 } ] } ] } }, } ``` --- ## propertydefinitionsbyelementgroup.md # propertyDefinitionsByElementGroup ## Arguments ## Possible Returns ## Code Examples ``` query GetPropertyDefinitionsByElementGroup($elementGroupId: ID!, $filter: PropertyDefinitionFilterInput, $pagination: PaginationInput) { propertyDefinitionsByElementGroup(elementGroupId: $elementGroupId, filter: $filter, pagination: $pagination) { # PropertyDefinitionsByElementGroup Fields } } ``` ``` {"elementGroupId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-PROPERTYDEFINITIONFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` ``` query GetPropertyDefinitionsByElementGroup($elementGroupId: ID!, $filter: PropertyDefinitionFilterInput, $pagination: PaginationInput) { propertyDefinitionsByElementGroup(elementGroupId: $elementGroupId, filter: $filter, pagination: $pagination) { # PropertyDefinitionsByElementGroup Fields } } ``` ``` {"elementGroupId":"<SOME-ID-TYPE-SCALAR-VALUE>","filter":"<SOME-PROPERTYDEFINITIONFILTER-INPUT-TYPE-VALUE>","pagination":"<SOME-PAGINATION-INPUT-TYPE-VALUE>"} ``` --- ## elementgroup.md # ElementGroup ## Fields ## Where Used --- ## elementgroupalternativeidentifiers.md # ElementGroupAlternativeIdentifiers ## Fields ## Where Used --- ## elementgroupextractionstatus.md # ElementGroupExtractionStatus ## Fields ## Where Used --- ## element.md # Element ## Fields ## Where Used --- ## elementalternativeidentifiers.md # ElementAlternativeIdentifiers ## Fields ## Where Used --- ## elements.md # Elements ## Fields ## Where Used --- ## extractionstatus.md # ExtractionStatus ## Valid Values ## Where Used > Extraction status. --- ## elementgroups.md # ElementGroups ## Fields ## Where Used --- ## comparators.md # Comparators ## Valid Values ## Where Used > Valid comparators when filtering by a value --- ## folder.md # Folder ## Fields ## Where Used --- ## folders.md # Folders ## Fields ## Where Used --- ## hub.md # Hub ## Fields ## Where Used --- ## hubs.md # Hubs ## Fields ## Where Used --- ## elementgroupversionhistory.md # ElementGroupVersionHistory ## Fields ## Where Used --- ## pagination.md # Pagination ## Fields ## Where Used --- ## project.md # Project ## Fields ## Where Used --- ## projectalternativeidentifiers.md # ProjectAlternativeIdentifiers ## Fields ## Where Used --- ## projects.md # Projects ## Fields ## Where Used --- ## property.md # Property ## Fields --- ## properties.md # Properties ## Fields ## Where Used --- ## propertydefinition.md # PropertyDefinition ## Fields ## Where Used --- ## propertydefinitioncollection.md # PropertyDefinitionCollection ## Fields ## Where Used --- ## propertydefinitions.md # PropertyDefinitions ## Fields ## Where Used --- ## referenceproperties.md # ReferenceProperties ## Fields ## Where Used --- ## referenceproperty.md # ReferenceProperty ## Fields --- ## user.md # User ## Fields ## Where Used --- ## elementgroupversion.md # ElementGroupVersion ## Fields ## Where Used --- ## elementgroupversions.md # ElementGroupVersions ## Fields ## Where Used --- ## distinctpropertyvalue.md # DistinctPropertyValue ## Fields ## Where Used --- ## distinctpropertyvaluescollection.md # DistinctPropertyValuesCollection ## Fields ## Where Used --- ## distinctpropertyvalues.md # DistinctPropertyValues ## Fields ## Where Used --- ## elementfilterinput.md # ElementFilterInput ## Fields ## Where Used --- ## elementpropertyfilterinput.md # ElementPropertyFilterInput ## Fields ## Where Used --- ## elementreferencefilterinput.md # ElementReferenceFilterInput ## Fields ## Where Used --- ## referencepropertyfilterinput.md # ReferencePropertyFilterInput ## Fields ## Where Used --- ## elementgroupfilterinput.md # ElementGroupFilterInput ## Fields ## Where Used --- ## folderfilterinput.md # FolderFilterInput ## Fields ## Where Used --- ## hubfilterinput.md # HubFilterInput ## Fields ## Where Used --- ## paginationinput.md # PaginationInput ## Fields ## Where Used --- ## projectfilterinput.md # ProjectFilterInput ## Fields ## Where Used --- ## propertydefinitionfilterinput.md # PropertyDefinitionFilterInput ## Fields ## Where Used --- ## propertyfilterinput.md # PropertyFilterInput ## Fields ## Where Used --- ## elementgroupversionfilterinput.md # ElementGroupVersionFilterInput ## Fields ## Where Used --- ## valuecomparatorinput.md # ValueComparatorInput ## Fields ## Where Used --- ## scalars.md # Scalars ## Boolean ## DateTime ## ID ## Int ## String ## PropertyData > The Boolean scalar type represents true or false. --- # GraphQL schema in JSON format ## 1 Core containers - **Hub** – top-level container for shared resources and users. Keywords: *hub, workspace, context* - **Project** – collaborative workspace inside a hub that owns models, folders and data. Keywords: *project, team, shared-data* - **Folder** – hierarchical storage inside a project; can nest, hold files and element groups. Keywords: *folder, storage, hierarchy* ## 2 Model containers - **ElementGroup** – a full BIM/Revit model; versionable, may map to a file URN. Keywords: *model, revit, elementGroup, version* - **Element** – single building element instance with properties & references. Keywords: *element, instance, properties, references* ## 3 Property system - **PropertyDefinitionCollection → PropertyDefinition → Property** - Definitions act as templates; properties carry values on Elements/ElementGroups. - Behaviors: *STANDARD, DYNAMIC, TIMELESS* (see `PropertyBehaviorEnum`). - Keywords: *property, metadata, definition, units, value, behavior* ## 4 Query helpers & utilities - **Pagination / PaginationInput** – cursor & limit for paging results. Keywords: *pagination, cursor, pageSize* - **Filter inputs** (`ElementFilterInput`, `PropertyDefinitionFilterInput`, …) – RSQL or field-based filtering. Keywords: *filter, RSQL, comparator, query* - **ExtractionStatus, DistinctPropertyValues, ElementCursors…** – support types for analytics, status checks, distinct value lookups. ## 5 High-value keywords (sprinkle through chunks) `hub project folder elementGroup element property propertyDefinition version pagination filter RSQL revit BIM model extraction units behavior` --- ### Mermaid quick-view ```mermaid classDiagram %% Relationships (top-down flow) Hub "1" --> "many" Project Project "1" --> "many" Folder Folder "1" --> "many" ElementGroup ElementGroup "1" --> "many" Element Element --> Property PropertyDefinitionCollection --> PropertyDefinition PropertyDefinition --> Property ``` ``` {"data":{"__schema":{"queryType":{"name":"Query"},"mutationType":null,"subscriptionType":{"name":"Subscription"},"types":[{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"specifiedByURL","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"isRepeatable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"Comparators","description":"Valid comparators when filtering by a value","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"CASE_SENSITIVE","description":"Case sensitive","isDeprecated":false,"deprecationReason":null},{"name":"CONTAINS","description":"Contains","isDeprecated":false,"deprecationReason":null},{"name":"STARTS_WITH","description":"Starts with","isDeprecated":false,"deprecationReason":null},{"name":"ENDS_WITH","description":"Ends with","isDeprecated":false,"deprecationReason":null},{"name":"GREATER_THAN","description":"Greater than","isDeprecated":false,"deprecationReason":null},{"name":"LESS_THAN","description":"Less than","isDeprecated":false,"deprecationReason":null},{"name":"GREATER_THAN_EQUAL_TO","description":"Greater than or equal to","isDeprecated":false,"deprecationReason":null},{"name":"LESS_THAN_EQUAL_TO","description":"Less than or equal to","isDeprecated":false,"deprecationReason":null},{"name":"NOT_EQUAL","description":"Not equal to","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CreatePropertyDefinitionCollectionPayload","description":"Return payload on property definition collection creation.","fields":[{"name":"propertyDefinitionCollection","description":"Object representing the property definition collection.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PropertyDefinitionCollection","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreatePropertyDefinitionsInput","description":"Input required for creating property definitions.","fields":null,"inputFields":[{"name":"propertyDefinitionCollectionId","description":"The ID of property definition collection.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"propertyDefinitionsInput","description":"List of property definitions to be created.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PropertyDefinitionInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CreatePropertyDefinitionsPayload","description":"Response of ``create`` property definitions operation.","fields":[{"name":"propertyDefinitions","description":"An array of created property definition objects.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PropertyDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"DateTime","description":"An ISO-8601 encoded UTC date string.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DistinctPropertyValue","description":"A PropertyValue and its count","fields":[{"name":"value","description":"A distinct property value.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"PropertyValue","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":"The number of times the distinct property value is found.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DistinctPropertyValues","description":"Contains a list of DistinctPropertyValue returned in response to a query.","fields":[{"name":"definition","description":"Information about the Property of the distinct values returned.","args":[],"type":{"kind":"OBJECT","name":"PropertyDefinition","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":"An array of distinct property values.\n@param {Int=} limit - Limit the number of distinct values returned. Does not support pagination. Default = 200, maximum = 2000.","args":[{"name":"limit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"200"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DistinctPropertyValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DistinctPropertyValuesCollection","description":"A collection of distinct properties matching the name given.","fields":[{"name":"pagination","description":"Contains information about the current page when results are split into multiple pages.","args":[],"type":{"kind":"OBJECT","name":"Pagination","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"results","description":"An array of distinct property values matching the name given.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"DistinctPropertyValues","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Element","description":"Represents an element type.","fields":[{"name":"id","description":"Globally unique identifier for an Element.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The human-readable name of the Element","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"properties","description":"Query for specific Properties\n@param {PropertyFilterInput=} filter - Specifies which properties to return.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.\n@param {String=} includeReferencesProperties - Must be set to the reference name.","args":[{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"PropertyFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null},{"name":"includeReferencesProperties","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Properties","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"references","description":"Represents information that further defines the Element (e.g. Type data)\n@param {ReferencePropertyFilterInput=} filter - Specifies which reference properties to return.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ReferencePropertyFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ReferenceProperties","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createdBy","description":"User responsible for creating this element","args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createdOn","description":"Timestamp of element creation","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lastModifiedBy","description":"Latest user who modified the data ","args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lastModifiedOn","description":"Latest timestamp when the element was modified","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"referencedBy","description":"Elements which have references to the current element\n@param {String} name - The name of relationship to find references for.\n@param {ElementFilterInput=} filter - Specifies how to filter elements with references to current element.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Elements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"alternativeIdentifiers","description":"Alternative identifiers for this element","args":[],"type":{"kind":"OBJECT","name":"ElementAlternativeIdentifiers","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elementGroup","description":"The elementGroup which this element belongs to.","args":[],"type":{"kind":"OBJECT","name":"ElementGroup","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ElementAlternativeIdentifiers","description":"Contains alternative identifiers for an element","fields":[{"name":"externalElementId","description":"The elements id when accessing it in AEC docs","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"revitElementId","description":"The elements id in Revit","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ElementCursors","description":"Contains a list of Cusors returned in response to a query.","fields":[{"name":"results","description":"An array containing Cursors","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ElementFilterInput","description":"Query input for filtering Elements.","fields":null,"inputFields":[{"name":"query","description":"Filter query in RSQL format for searching elements","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"name","description":"Filter for elements with a specified name","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null},{"name":"nameWithComparator","description":"Filter for elements with a specified name and comparator to apply","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ValueComparatorInput","ofType":null}}},"defaultValue":null},{"name":"properties","description":"Filter for elements with specified property values","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ElementPropertyFilterInput","ofType":null}}},"defaultValue":null},{"name":"references","description":"Filter for elements with specified reference properties","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ElementReferenceFilterInput","ofType":null}}},"defaultValue":null},{"name":"createdBy","description":"Filter for elements created by a specified user (email)","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null},{"name":"lastModifiedBy","description":"Filter for elements last modified by a specified user (email)","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null},{"name":"elementId","description":"Filter for elements by their ids","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null},{"name":"revitElementId","description":"Filter for elements by their revit element ids","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ElementGroup","description":"Represents a Revit model.","fields":[{"name":"id","description":"Globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"Name of the ElementGroup Container.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elements","description":"Get Elements\n@param {ElementFilterInput=} filter - RSQL filter to use for searching elements.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Elements","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"propertyDefinitions","description":"Get all Property Definitions used in this elementGroup\n@param {PropertyDefinitionFilterInput=} filter - Specifies how to filter on property definitions.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"PropertyDefinitionFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PropertyDefinitions","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"version","description":"Specific version of this ElementGroup.","args":[],"type":{"kind":"OBJECT","name":"ElementGroupVersion","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"versionHistory","description":"Version history for this elementGroup","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ElementGroupVersionHistory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdBy","description":"User responsible for creating this elementGroup","args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createdOn","description":"Timestamp of elementGroup creation","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lastModifiedBy","description":"Latest user who modified this elementGroup ","args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lastModifiedOn","description":"Latest timestamp when this elementGroup was modified","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"alternativeIdentifiers","description":"Alternative identifiers for this elementGroup","args":[],"type":{"kind":"OBJECT","name":"ElementGroupAlternativeIdentifiers","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentFolder","description":"Parent folder containing this elementGroup","args":[],"type":{"kind":"OBJECT","name":"Folder","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ElementGroupAlternativeIdentifiers","description":"Contains alternative identifiers for an AEC elementGroup","fields":[{"name":"fileUrn","description":"File uniform resource name for the elementGroup","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fileVersionUrn","description":"File version uniform resource name for the elementGroup","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ElementGroupExtractionByFileUrnInput","description":"Input to subscribe to element group extraction events by URN.","fields":null,"inputFields":[{"name":"fileUrn","description":"File to retrieve elementGroup extraction status from","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"accProjectId","description":"Project to retrieve elementGroups from","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ElementGroupExtractionByProjectInput","description":"Input to subscribe to element group extraction events by project.","fields":null,"inputFields":[{"name":"accProjectId","description":"Project to retrieve elementGroups from","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ElementGroupExtractionStatus","description":"Information about elementGroup extraction status.","fields":[{"name":"status","description":"Extraction status.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ExtractionStatus","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"details","description":"Additional information about extraction status.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elementGroup","description":"If available, the ElementGroup which corresponds to the extraction.","args":[],"type":{"kind":"OBJECT","name":"ElementGroup","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ElementGroupFilterInput","description":"Query input for filtering ElementGroups.","fields":null,"inputFields":[{"name":"query","description":"Query filter in RSQL format to search for elementGroups","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"name","description":"Filter for elementGroups with a specified name","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null},{"name":"createdBy","description":"Filter for elementGroups created by a specified user (email)","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null},{"name":"lastModifiedBy","description":"Filter for elementGroups last modified by a specified user (email)","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null},{"name":"fileUrn","description":"Filter for elementGroups with a specified file URN","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ElementGroups","description":"Contains a list of ElementGroups returned in response to a query.","fields":[{"name":"pagination","description":"Contains information about the current page when results are split into multiple pages.","args":[],"type":{"kind":"OBJECT","name":"Pagination","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"results","description":"An array containing ElementGroups","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"ElementGroup","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ElementGroupVersion","description":"Represents a single version of an ElementGroup.","fields":[{"name":"versionNumber","description":"version number","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdOn","description":"Date and time of version creation.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createdBy","description":"User that created this specific version.","args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elementGroup","description":"The ElementGroup at this version.","args":[],"type":{"kind":"OBJECT","name":"ElementGroup","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ElementGroupVersionFilterInput","description":"Input to filter using version criteria.","fields":null,"inputFields":[{"name":"number","description":"version number to use for filtering","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"createdAfter","description":"createdAfter datetime filter","type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"createdBefore","description":"createdBefore datetime filter","type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"createdOn","description":"createdOn datetime filter","type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"createdBy","description":"filter based on user who created the version","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ElementGroupVersionHistory","description":"Information related to versions of an elementGroup.","fields":[{"name":"id","description":"Globally unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tipVersion","description":"Latest version.","args":[],"type":{"kind":"OBJECT","name":"ElementGroupVersion","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"versions","description":"Query for a specific set of versions.\n@param {VersionFilterInput=} filter - Specifies how to filter using version specific criteria.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementGroupVersionFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ElementGroupVersions","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"versionByNumber","description":"Query for a specific version by its version number.\n@param {Int=} versionNumber - Version number to use for fetching version.","args":[{"name":"versionNumber","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ElementGroupVersion","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ElementGroupVersions","description":"An array of versions.","fields":[{"name":"pagination","description":"Contains information about the current page, when results are split into multiple pages.","args":[],"type":{"kind":"OBJECT","name":"Pagination","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"results","description":"An array of versions","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"ElementGroupVersion","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ElementPropertyFilterInput","description":"Query input for filtering Elements by their properties","fields":null,"inputFields":[{"name":"name","description":"Name of the property","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"id","description":"ID of the property","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"value","description":"Value that the property should have","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null},{"name":"valueWithComparator","description":"Value that the property should have and comparator to apply","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ValueComparatorInput","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ElementReferenceFilterInput","description":"Query input for filtering Elements by their references","fields":null,"inputFields":[{"name":"name","description":"Name of the reference property","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"referenceId","description":"ID of the element that should be referenced by this property","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Elements","description":"Contains a list of Elements returned in response to a query.","fields":[{"name":"totalCount","description":"Total count of elements found for a given query.\nWill only be populated for the following fields:\n- 'Query.elements'\n- 'Query.elementsByElementGroup'\n- 'ElementGroup.elements'\n- 'Element.referencedBy'","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pagination","description":"Contains information about the current page, when results are split into multiple pages.","args":[],"type":{"kind":"OBJECT","name":"Pagination","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"results","description":"An array representing elements","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Element","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"EmailAddress","description":"Custom scalar which represents the list of user’s email address.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ExtractionStatus","description":"Extraction status.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IN_PROGRESS","description":"Extraction in progress.","isDeprecated":false,"deprecationReason":null},{"name":"FAILED","description":"Extraction failed.","isDeprecated":false,"deprecationReason":null},{"name":"SUCCESS","description":"Extraction is successful.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Folder","description":"Represents a folder.\n\nA folder is a location for storing files, data, and other folders (sub-folders).","fields":[{"name":"id","description":"The ID that uniquely identifies the folder.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"project","description":"An object representing the project that contains this folder.","args":[],"type":{"kind":"OBJECT","name":"Project","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elementGroups","description":"The ElementGroups within the folder\n@param {ElementGroupFilterInput=} filter - Specifies how to filter\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementGroupFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ElementGroups","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"elementGroupsByFolderAndSubFolders","description":"Retrieves elementGroups in the given folder and it's sub-folders recursively, using additional RSQL filters if provided.\n@param {ElementGroupFilterInput=} filter - RSQL filter to use for searching elementGroups.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementGroupFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ElementGroups","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hub","description":"An object representing the hub that contains this folder.","args":[],"type":{"kind":"OBJECT","name":"Hub","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentFolder","description":"The folder that contains this folder.","args":[],"type":{"kind":"OBJECT","name":"Folder","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"A human-readable name to identify this folder.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createdOn","description":"Indicates when this folder was created.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createdBy","description":"An object representing the user who created this folder.","args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lastModifiedOn","description":"Indicates when this folder was most recently modified.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lastModifiedBy","description":"An object representing the user who made the most recent modification.","args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"objectCount","description":"Indicates the number items (folders and files) contained in this folder.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"folders","description":"Contains a list of folders that meet the specified filter criteria. You specify the filter criteria as an input to this field. Expand to see the inputs for this field.\n@param {FolderFilterInput=} filter - Specifies how to filter on folders.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FolderFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Folders","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FolderFilterInput","description":"Specifies how to filter folders.","fields":null,"inputFields":[{"name":"name","description":"The name of the item you want to match. Currently, only exact matches are supported.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"FolderMemberStatus","description":"Folder member status. Only applicable for folder level projects.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ACTIVE","description":"Currently an active member.","isDeprecated":false,"deprecationReason":null},{"name":"INACTIVE","description":"Member is currently inactive.","isDeprecated":false,"deprecationReason":null},{"name":"PENDING","description":"Invitation sent, awaiting acceptance.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Folders","description":"A list of Folders returned in response to a query.\n\nA folder contains items, such as designs and sub-folders.","fields":[{"name":"pagination","description":"Contains information about the current page, when results are split into multiple pages.","args":[],"type":{"kind":"OBJECT","name":"Pagination","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"results","description":"An array that contains objects representing items.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Folder","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Hub","description":"Represents a hub.\n\nA hub is a container of projects, shared resources, and users with a common context.","fields":[{"name":"id","description":"The ID that uniquely identifies the hub.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"A human-readable name to identify the hub.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"projects","description":"Contains a list of projects within the specified hub. Expand to see the inputs for this field.\n@param {ProjectFilterInput=} filter - Specifies how to filter a list of projects. You can filter by name.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProjectFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Projects","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"alternativeIdentifiers","description":"Alternative identifiers for this hub.","args":[],"type":{"kind":"OBJECT","name":"HubAlternativeIdentifiers","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"HubAlternativeIdentifiers","description":"Alternative ways of referencing a hub.","fields":[{"name":"dataManagementAPIHubId","description":"The ID of this hub when accessing it through forgeDM.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HubFilterInput","description":"Specifies how to filter hubs.","fields":null,"inputFields":[{"name":"name","description":"The name of the hub you want to match. Currently, only exact matches are supported.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Hubs","description":"Contains a list of hubs returned in response to a query.\n\nA hub is a container of projects, shared resources, and users with a common context.","fields":[{"name":"pagination","description":"Contains information about the current page, when results are split into multiple pages.","args":[],"type":{"kind":"OBJECT","name":"Pagination","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"results","description":"An array that contains objects representing hubs.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Hub","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Pagination","description":"Contains information about the current page, when results are split into multiple pages.","fields":[{"name":"cursor","description":"The address of the next page, if one exists. If the current page is the last page, ``cursor`` is ``null``.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pageSize","description":"The number of items in the response page.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PaginationInput","description":"Specifies how to split the response into multiple pages.","fields":null,"inputFields":[{"name":"cursor","description":"Specifies what page to fetch. If you don't specify ``cursor``, fetches the first page.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"limit","description":"The maximum number of items to return in a page. The default value for ``limit`` varies from query to query.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Project","description":"Represents a project.\n\nA project is a shared workspace for teams of people working together on a project, to store, organize, and manage all related entity data.","fields":[{"name":"id","description":"The ID that uniquely identifies the project.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hub","description":"An object representing the hub that contains this project.","args":[],"type":{"kind":"OBJECT","name":"Hub","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elementGroups","description":"The ElementGroups within the project\n@param {ElementGroupFilterInput=} filter - Specifies how to filter\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementGroupFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ElementGroups","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The name of the project.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"alternativeIdentifiers","description":"Alternative identifiers for this project.","args":[],"type":{"kind":"OBJECT","name":"ProjectAlternativeIdentifiers","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"folders","description":"The top-level folders within the project.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.\n@param {FolderFilterInput=} filter - Specifies how to filter on folders.","args":[{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FolderFilterInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Folders","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProjectAlternativeIdentifiers","description":"Alternative ways of referencing a project.","fields":[{"name":"dataManagementAPIProjectId","description":"The ID of this project when accessing it through forgeDM.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProjectFilterInput","description":"Specifies how to filter projects.","fields":null,"inputFields":[{"name":"name","description":"The name of the project you want to match. Currently, only exact matches are supported.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Projects","description":"Contains a list of projects returned in response to a query.","fields":[{"name":"pagination","description":"Contains information about the current page, when results are split into multiple pages.","args":[],"type":{"kind":"OBJECT","name":"Pagination","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"results","description":"An array that contains objects representing projects.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Project","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Properties","description":"Object representing list of Properties.","fields":[{"name":"results","description":"An array of Properties.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Property","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"pagination","description":"Contains information about the current page, when results are split into multiple pages.","args":[],"type":{"kind":"OBJECT","name":"Pagination","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Property","description":"Data object that represents property.","fields":[{"name":"name","description":"Human readable name for a Property.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"displayValue","description":"Display value of the property.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"Value of the property.","args":[],"type":{"kind":"SCALAR","name":"PropertyValue","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"definition","description":"Data object that represents property definition.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PropertyDefinition","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"PropertyBehaviorEnum","description":"Supported property behaviors","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"STANDARD","description":"Properties that affect the form, fit, or function of an entity. If values are changed, a “new version” of the entity is created.","isDeprecated":false,"deprecationReason":null},{"name":"DYNAMIC_AT_VERSION","description":"Properties that are only applicable at a specific, historical version of an entity. Typically used for “computed” values.","isDeprecated":false,"deprecationReason":null},{"name":"DYNAMIC","description":"Properties that are only applicable at a specific, historical version of an entity. When an entity is changed, current value is copied over to the next entity version.","isDeprecated":false,"deprecationReason":null},{"name":"TIMELESS","description":"Properties that are applied at the 'lineage' of an entity. Only one value of property exists at any given time for all versions/revisions of an entity and changes to value does not require a revision.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"PropertyDefinition","description":"Data object that represents property definition.\n\nProperty definition is an object that acts as a template to create properties on an entity.","fields":[{"name":"name","description":"Name for this property definition.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"specification","description":"Specification of the property definition. It represents the data type of a property definition.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"units","description":"Unit of a property definition.","args":[],"type":{"kind":"OBJECT","name":"Units","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"The ID of property definition.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"A short description of the property definition.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isHidden","description":"Indicates if the parameter is hidden or not in the application.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isArchived","description":"``true`` : The property definition is archived.\n\n``false`` : The property definition is active.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isReadOnly","description":"Indicates if the parameter is read-only or not in the application.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shouldCopy","description":"Specifies expected behavior for the property on document data management operation like 'copy' in Autodesk authoring apps. A value of 'true' means the property will be copied along to the new document on such operations.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"collection","description":"Property definition collection in which this property definition is present.","args":[],"type":{"kind":"OBJECT","name":"PropertyDefinitionCollection","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PropertyDefinitionChangeError","description":"AEC Mutation Errors","fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"detail","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PropertyDefinitionCollection","description":"Data object that represents property definition collection.","fields":[{"name":"id","description":"The ID of this property definition collection.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"Name for this property definition collection.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"Description for this property definition collection.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"definitions","description":"Get all Property Definitions of this Collection.\n@param {PropertyDefinitionFilterInput=} filter - Specifies how to filter on property definitions.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"PropertyDefinitionFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"PropertyDefinitions","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PropertyDefinitionCollectionFilterInput","description":"Specifies how to filter property definition collections.","fields":null,"inputFields":[{"name":"id","description":"The ID of the property definition collection that needs to be filtered.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PropertyDefinitionCollections","description":"Contains a list of Property Definition Collections returned in response to a query.","fields":[{"name":"results","description":"An array of Property Definition Collections.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"PropertyDefinitionCollection","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"pagination","description":"Contains information about the current page, when results are split into multiple pages.","args":[],"type":{"kind":"OBJECT","name":"Pagination","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PropertyDefinitionFilterInput","description":"Specifies how to filter property definitions.","fields":null,"inputFields":[{"name":"names","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PropertyDefinitionInput","description":"Input required for creating property definition.","fields":null,"inputFields":[{"name":"name","description":"Name for uniquely identifying a property definition.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"propertyBehavior","description":"Behavior of a property.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"PropertyBehaviorEnum","ofType":null}},"defaultValue":null},{"name":"specification","description":"Specification of property definition.\n\nIt represents the data type of a property definition.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"isReadOnly","description":"Indicates if the parameter is read-only or not in the application.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"isHidden","description":"Indicates if the parameter is hidden or not in the application.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"description","description":"A short description of the property definition.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"isArchived","description":"Indicates if the parameter is archived or not in the application.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PropertyDefinitions","description":"List of property definitions.","fields":[{"name":"results","description":"An array of property definition.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"PropertyDefinition","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"pagination","description":"Contains information about the current page, when results are split into multiple pages.","args":[],"type":{"kind":"OBJECT","name":"Pagination","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PropertyFilterInput","description":"Specifies how to filter property.","fields":null,"inputFields":[{"name":"names","description":"The names of the property that needs to be to filtered.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"PropertyValue","description":"Custom scalar which represents custom property values.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Query","description":"The entry-point for Autodesk entity queries. This acts as the top-level API from which all queries must start.","fields":[{"name":"elementGroupAtTip","description":"Retrieves latest elementGroup data based on given ID.\n@param {ID} elementGroupId - The ID of the elementGroup.","args":[{"name":"elementGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ElementGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elementGroupByVersionNumber","description":"Retrieves elementGroup by version number and ID.\n@param {Int} versionNumber - Version number to be retrieved.\n@param {ID} elementGroupId - The ID of the elementGroup.","args":[{"name":"elementGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"versionNumber","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ElementGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elementGroupsByHub","description":"Retrieves elementGroups in the given hub, using additional RSQL filters if provided.\n@param {ID} hubId - Hub to retrieve elementGroups from.\n@param {ElementGroupFilterInput=} filter - RSQL filter to use for searching elementGroups.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"hubId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementGroupFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ElementGroups","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"elementGroupsByProject","description":"Retrieves elementGroups in the given project, using additional RSQL filters if provided.\n@param {ID} projectId - Project to retrieve elementGroups from.\n@param {ElementGroupFilterInput=} filter - RSQL filter to use for searching elementGroups.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"projectId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementGroupFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ElementGroups","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"elementGroupsByFolder","description":"Retrieves elementGroups in the given folder, using additional RSQL filters if provided.\n@param {ID} projectId - Project to retrieve elementGroups from.\n@param {ID} folderId - Folder to retrieve elementGroups from.\n@param {ElementGroupFilterInput=} filter - RSQL filter to use for searching elementGroups.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"projectId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"folderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementGroupFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ElementGroups","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"elementGroupsByFolderAndSubFolders","description":"Retrieves elementGroups in the given folder and it's sub-folders recursively, using additional RSQL filters if provided.\n@param {ID} projectId - Project to retrieve elementGroups from.\n@param {ID} folderId - Folder to recursively retrieve elementGroups from.\n@param {ElementGroupFilterInput=} filter - RSQL filter to use for searching elementGroups.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"projectId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"folderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementGroupFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ElementGroups","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"elementGroupExtractionStatus","description":"Retrieves the extraction status of the given elementGroup.\n@param {ID} fileUrn - File to retrieve elementGroup extraction status from.\n@param {Int} versionNumber - File version to retrieve elementGroup extraction status from. Default value is 1.","args":[{"name":"fileUrn","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"versionNumber","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"1"}],"type":{"kind":"OBJECT","name":"ElementGroupExtractionStatus","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elementGroupExtractionStatusAtTip","description":"Retrieves the extraction status of the given elementGroup for the latest version.\n@param {ID} fileUrn - File to retrieve elementGroup extraction status from.\n@param {Int} accProjectId - ACC Project Id of the elementGroup.","args":[{"name":"fileUrn","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"accProjectId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ElementGroupExtractionStatus","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elementAtTip","description":"Retrieves element using given ID.\n@param {ID} elementId - Element to retrieve.","args":[{"name":"elementId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Element","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elementsByHub","description":"Retrieves elements from given hub, using additional RSQL filters if provided.\n@param {ID} hubId - Hub to retrieve elements from.\n@param {ElementFilterInput=} filter - RSQL filter to use for searching elements.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"hubId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Elements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elementsByProject","description":"Retrieves elements from given project, using additional RSQL filters if provided.\n@param {ID} projectId - Project to retrieve elements from.\n@param {ElementFilterInput=} filter - RSQL filter to use for searching elements.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"projectId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Elements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elementsByFolder","description":"Retrieves elements from given folder, using additional RSQL filters if provided.\n@param {ID} projectId - Project to retrieve elements from.\n@param {ID} folderId - Folder to retrieve elements from.\n@param {ElementFilterInput=} filter - RSQL filter to use for searching elements.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"projectId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"folderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Elements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elementsByElementGroup","description":"Retrieves elements from given elementGroup, using additional RSQL filters if provided.\n@param {ID} elementGroupId - ElementGroup to retrieve elements from.\n@param {ElementFilterInput=} filter - RSQL filter to use for searching elements.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"elementGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Elements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elementsByElementGroups","description":"Retrieves elements from a given set of elementGroups, using additional RSQL filters if provided.\n@param {[ID]} elementGroupIds - ElementGroups to retrieve elements from. Up to 25 elementGroup IDs can be provided.\n@param {ElementFilterInput=} filter - RSQL filter to use for searching elements.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"elementGroupIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Elements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elementsByElementGroupAtVersion","description":"Retrieves elements from given elementGroup at given elementGroup version, using additional RSQL filters if provided.\n@param {ID} elementGroupId - ElementGroup to retrieve elements from.\n@param {Int} versionNumber - ElementGroup version to retrieve elements from.\n@param {ElementFilterInput=} filter - RSQL filter to use for searching elements.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"elementGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"versionNumber","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Elements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"distinctPropertyValuesInElementGroupById","description":"Retrieves distinct values in an ElementGroup given a property definition ID.\n@param {ID} elementGroupId - ElementGroup to retrieve distinct values from.\n@param {ID} propertyDefinitionId - definition id of the property to retrieve the distinct values of.\n@param {ElementFilterInput=} filter - RSQL filter to use for searching elements.","args":[{"name":"elementGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"propertyDefinitionId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementFilterInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"DistinctPropertyValues","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"distinctPropertyValuesInElementGroupByName","description":"Retrieves distinct values in an ElementGroup given a property name.\n@param {ID} elementGroupId - ElementGroup to retrieve distinct values from.\n@param {String} name - name of the property to retrieve the distinct values of.\n@param {ElementFilterInput=} filter - RSQL filter to use for searching elements.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"elementGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ElementFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"DistinctPropertyValuesCollection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"propertyDefinitionsByElementGroup","description":"Get all Property Definitions used in specified elementGroup\n@param {ID} elementGroupId - ElementGroup to retrieve property definitions of.\n@param {PropertyDefinitionFilterInput=} filter - Specifies how to filter on property definitions.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"elementGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"PropertyDefinitionFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PropertyDefinitions","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hub","description":"Retrieves an object representing a hub.\n\nA Hub is a container of projects, shared resources, and users with a common context.\n@param {ID} hubId - The ID of the hub to return.","args":[{"name":"hubId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Hub","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"hubByDataManagementAPIId","description":"Retrieves an object representing a hub by its external id.\n\nA Hub is a container of projects, shared resources, and users with a common context.\n@param {ID} dataManagementAPIHubId - The external ID of the hub to return.","args":[{"name":"dataManagementAPIHubId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Hub","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"hubs","description":"Retrieves all hubs that match the specified criteria.\n\nA Hub is a container of projects, shared resources, and users with a common context.\n@param {HubFilterInput=} filter - Specifies how to filter a list of hubs. You can filter by name.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"HubFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Hubs","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"project","description":"Retrieves an object representing a project from a specified hub.\n\nA project is a shared workspace for teams of people to store, organize, and manage all related design data.\n@param {ID} projectId - The ID of the project to retrieve.","args":[{"name":"projectId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Project","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"projectByDataManagementAPIId","description":"Retrieves an object representing a project by its external id.\n\nA project is a shared workspace for teams of people to store, organize, and manage all related design data.\n@param {ID} dataManagementAPIProjectId - The external ID of the project to retrieve.","args":[{"name":"dataManagementAPIProjectId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Project","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"projects","description":"Retrieves all projects that match the specified filter criteria from a specified hub.\n@param {ID} hubId - The ID of the hub that contains the projects.\n@param {ProjectFilterInput=} filter - Specifies how to filter a list of projects. You can filter by name.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"hubId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProjectFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Projects","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"folder","description":"Retrieve folder specified by the provided Id.\n@param {ID} projectId - The ID of the project that contains the item.\n@param {ID} folderId - The ID of the item to retrieve.","args":[{"name":"projectId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"folderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Folder","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"foldersByFolder","description":"Retrieves all subfolders within a specified folder that meet the filter criteria specified by the ``filter`` argument.\n@param {ID} projectId - The ID of the project that contains the items.\n@param {ID} folderId - The ID of the folder that contains the subfolders.\n@param {FolderFilterInput=} filter - Specifies how to filter on folders. You can filter by name.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"projectId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"folderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FolderFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Folders","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"foldersByProject","description":"Retrieves all top level folders under a specified project that meet the filter criteria specified by the ``filter`` argument.\n@param {ID} projectId - The ID of the project that contains the items.\n@param {FolderFilterInput=} filter - Specifies how to filter on folders. You can filter by name.\n@param {PaginationInput=} pagination - Specifies how to split the response into multiple pages.","args":[{"name":"projectId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FolderFilterInput","ofType":null},"defaultValue":null},{"name":"pagination","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaginationInput","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Folders","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ReferenceProperties","description":"Reference properties.","fields":[{"name":"results","description":"An array representing reference properties","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"ReferenceProperty","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"pagination","description":"Contains information about the current page, when results are split into multiple pages.","args":[],"type":{"kind":"OBJECT","name":"Pagination","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ReferenceProperty","description":"A reference property which describes relationship between elements.","fields":[{"name":"displayValue","description":"The human-readable Length value of the property.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"Human readable name for a Property.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"definition","description":"Information about the Property.","args":[],"type":{"kind":"OBJECT","name":"PropertyDefinition","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"Data value for the Property","args":[],"type":{"kind":"OBJECT","name":"Element","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ReferencePropertyFilterInput","description":"Filter using references.","fields":null,"inputFields":[{"name":"names","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Subscription","description":"The entry-point for Autodesk entity subscriptions. This acts as the top-level API from which all subscriptions must start.","fields":[{"name":"elementGroupExtractionStatusByFileUrn","description":"Subscribe to element group extraction events by URN.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ElementGroupExtractionByFileUrnInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ElementGroupExtractionStatus","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"elementGroupExtractionStatusByProject","description":"Subscribe to element group extraction events by project.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ElementGroupExtractionByProjectInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ElementGroupExtractionStatus","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Units","description":"Represents the unit of measurement for a property.","fields":[{"name":"id","description":"Id of the corresponding unit.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"Name of the corresponding unit.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Url","description":"Scalar which represents URL.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":"An object representing a User.","fields":[{"name":"id","description":"The ID that uniquely identifies the User.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"userName","description":"The display name of the user.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":"The user’s first name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":"The user’s last name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"email","description":"The user’s email address.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lastModifiedOn","description":"The date and time the user’s information was last modified.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createdOn","description":"The date and time the user’s information was created.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UserSearchInput","description":"Input object to filter tip component and tip component versions by user details.","fields":null,"inputFields":[{"name":"ids","description":"IDs of users","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ValueComparatorInput","description":"Query input for filtering by a value with a specific comparator","fields":null,"inputFields":[{"name":"value","description":"Desired value","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"comparator","description":"Comparator to apply","type":{"kind":"ENUM","name":"Comparators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null}],"directives":[{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["FIELD_DEFINITION","ARGUMENT_DEFINITION","INPUT_FIELD_DEFINITION","ENUM_VALUE"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\""}]},{"name":"specifiedBy","description":"Exposes a URL that specifies the behavior of this scalar.","locations":["SCALAR"],"args":[{"name":"url","description":"The URL that specifies the behavior of this scalar.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}]},{"name":"defer","description":null,"locations":["FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"label","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"if","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":"true"}]}]}}} ```