--- title: "Get-CustomObject" slug: "scripting-get-customobject" updated: 2026-01-20T20:29:03Z published: 2026-01-20T20:29:03Z canonical: "help.agilityblue.com/scripting-get-customobject" --- > ## 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-CustomObject ## Summary Retrieves an existing custom object entry. ```powershell Get-CustomObject    -Id    -CustomObjectId ``` Returns a [custom object entry](https://apidocs.agilityblue.com/#8fa4e4b4-452d-49b8-9a08-03b936874e54). ## Parameters | Parameter | Type | Required? | Notes | | --- | --- | --- | --- | | Id | Int32 | Yes | The custom object entry id. | | CustomObjectId | Int32 | Yes | The object id. | ## Examples ### Get an existing custom object instance This example retrieves a specific custom object entry and outputs it as JSON. ```powershell $relativityWorkspace = Get-CustomObject -Id 1 -CustomObjectId 12 Write-Output $relativityWorkspace | ConvertTo-Json -Depth 10 ``` Execution results: ```json {  "CreatedByFullName": "Service Account",  "LastUpdatedById": "410e109b-6ff5-4442-9670-cd5e3cd82a7f",  "CF_42": "Archived",  "CreatedOn": "2021-03-08T21:20:24.3277082Z",  "LastUpdatedByFullName": "Service Account",  "Id": 1,  "CF_40": "Salt v Pepper",  "LastUpdatedOn": "2021-03-08T21:21:16.9218359Z",  "CreatedById": "410e109b-6ff5-4442-9670-cd5e3cd82a7f",  "CF_41": "12345" } ```