--- title: "Get-Project" slug: "scripting-get-project" updated: 2026-01-19T15:40:46Z published: 2026-01-19T15:40:46Z canonical: "help.agilityblue.com/scripting-get-project" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.agilityblue.com/llms.txt > Use this file to discover all available pages before exploring further. # Get-Project ## Summary Retrieves an existing project. ```powershell Get-Project    -Id ``` Returns a [project](https://apidocs.agilityblue.com/#d4e28f7c-fa0a-46b9-9c4d-fda8801556fb) object. ## Parameters | Parameter | Type | Required? | Notes | | --- | --- | --- | --- | | Id | Int64 | Yes | The project id. | ## Examples ### Get an existing project This example retrieves a specific project and outputs it as JSON. ```powershell # Retrieve a specific project by id $entity = Get-Project -Id 2023110000001 Write-Output "Retrieved project '$($entity.Description)' (Id: #$($entity.ProjectId), Status: $($entity.Status))" # For debug purposes, convert the project to output as JSON so we can see the available fields Write-Output "" Write-Output "JSON Results:" $jsonOutput = $entity | ConvertTo-Json -Depth 10 # Output the entity Write-Output $jsonOutput ``` Execution results: ```json Retrieved project 'Process Data' (Id: #2023110000001, Status: Closed) JSON Results: {  "ProjectId": 2023110000001,  "ProjectTypeId": 1,  "ProjectTypeName": "Normal",  "ProjectTypeDescription": "The normal project type where task work is performed.",  "ProjectSourceTypeId": 2,  "ProjectSourceTypeName": "Agility Blue",  "MatterId": 39,  "Matter": null,  "MatterName": "AGM Widget Corp. vs. MGM Manufacturing Inc.",  "MatterReference": "1024-0002",  "ClientId": 29,  "Client": null,  "ClientName": "AGM Widget Corporation",  "ClientReference": "1024",  "ContactId": null,  "Contact": null,  "ContactFullName": null,  "PricingAgreementOptionId": 1,  "PricingAgreementOptionName": "Standard Pricing",  "OwnedById": "25a34a2f-e3d8-4690-88f5-6b399cf88c4c",  "OwnedBy": null,  "OwnedByFullName": "Sarah Cooper",  "Priority": "Normal",  "DateReceived": "2023-11-02T12:04:29.81+00:00",  "DateDue": null,  "DateInvoiced": null,  "NumberOfTasks": 2,  "NumberOfUnassignedTasks": 0,  "NumberOfBillingEntries": 0,  "NumberOfVolumes": 0,  "NumberOfMediaLogEntries": 0,  "TotalWeight": 10,  "CurrentWeight": 10,  "Status": "Closed",  "Description": "Process Data",  "Assignees": "Sarah Cooper, Max Miller",  "IsApproved": false,  "IsLate": false,  "IsCompleted": true,  "IsCanceled": false,  "EmailNotificationsEnabled": true,  "CompletedOn": "2023-11-02T12:06:23.4471242+00:00",  "Tags": [],  "ComputedTags": "Processing",  "CreatedByFullName": "Max Miller",  "CreatedById": "510e109b-6ff5-4442-9670-cd5e3cd82a7a",  "CreatedOn": "2023-11-02T12:04:51.0083228+00:00",  "CreatedBy": null,  "LastUpdatedByFullName": "Max Miller",  "LastUpdatedById": "510e109b-6ff5-4442-9670-cd5e3cd82a7a",  "LastUpdatedOn": "2023-11-02T12:04:51.1022291+00:00",  "LastUpdatedBy": null,  "Settings": null } ```