Get Entity By Id

​

Retrieve a specific entity by its unique identifier.

This endpoint fetches detailed information for a single entity using its ID. The response includes all entity fields plus any requested computed fields.

Args: entity_id: Unique identifier of the entity to retrieve computed_fields: Level of computed fields to include: - none: No computed fields (fastest response, only base entity data) - minimal: Essential computed fields only (default, balanced performance - includes key metrics like counts, summaries, and frequently accessed calculations) - all: All available computed fields (slowest response, complete data with all aggregations and calculations) user: Authenticated user information

Returns: Complete entity data including: - All base entity fields - Computed fields based on the specified level - Related entity references - Timestamps and metadata

Raises: HTTPException: - 400: Invalid entity ID format - 401: Authentication required - 403: Insufficient permissions to access this entity - 404: Entity not found - 500: Internal server error

Path Parameters

Query Parameters

  • Level of computed fields to include: none (fastest, base data only), minimal (default, includes essential computed fields like counts and summaries), or all (slowest, includes all computed fields)

    Level of computed fields to include in API responses.

    Attributes: NONE: No computed fields included (fastest response, only base entity data) MINIMAL: Essential computed fields only (balanced performance and data) ALL: All available computed fields (complete data, slower response)

    values
    • none = NONE

      No computed fields included (fastest response, only base entity data)

    • minimal = MINIMAL

      Essential computed fields only (balanced performance and data)

    • all = ALL

      All available computed fields (complete data, slower response)

  • Whether to include additional fields from the additional fields tab.

Responses

  • application/json
  • application/json
Request Example for get/{entity_id}
curl 'https://crm.dreamhub.ai/api/v1/companies/{entity_id}?computed_fields=minimal&include_additionals=false' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "name": "Acme Corporation",
  "status": 1,
  "sdrOwner": "u-sdr123",
  "aeOwner": "u-ae789",
  "csmOwner": "u-csm345",
  "industryId": 1,
  "subIndustryId": "si-tech",
  "city": "San Francisco",
  "stateRegion": "California",
  "country": "United States",
  "postalCode": "94105",
  "numOfEmployees": 50,
  "parentCompany": "c-parent123",
  "address": "123 Main Street",
  "fiscalYearStartsAt": "2024-01-01T00:00:00Z",
  "website": "https://www.acme.com",
  "domains": "string",
  "phone": "+1-555-123-4567",
  "segment": 1,
  "arr": 120000,
  "mrr": 10000,
  "annualContractValue": 150000,
  "totalContractValue": 450000,
  "lastModifiedBy": "string",
  "statusChangedAt": "2026-09-29T00:01:38.190Z",
  "icpFit": 1,
  "icpMetadata": {
    "bullets": [
      {
        "status": "string",
        "primary": "string",
        "secondary": "string"
      }
    ]
  },
  "id": "c-log-f47ac10b",
  "createdAt": "2026-09-29T00:01:38.190Z",
  "lastActivity": "2026-09-29T00:01:38.190Z",
  "domainList": [
    "string"
  ],
  "industryName": "string",
  "subIndustryName": "string",
  "parentCompanyName": "string",
  "closestContractEndDate": "2026-09-29T00:01:38.190Z",
  "additionalProperty": "anything"
}