Service workspaces

Read scoped resources, events and simulation context

Patient portal uses the GP scope and removes staff-only conversation content. patient filtering includes shared service resources with no patient ID.

get/api/sites/{site}/view

Request

  • Base URL
    https://sim.animahealth.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or API key in cookie sim_session

Path parameters

site'control' | 'gp' | 'hospital' | 'community' | 'pharmacy' | 'diagnostics' | 'referrals' | 'wearables' | 'patient' required

Service scope. control requires an operator token. legacy is browser-only.

Query parameters

patientstring
Example:SIM-000006

Exact synthetic patient ID. Site view also includes service resources without a patient.

offsetinteger

Resource page offset.

limitinteger

Resource page size.

worldstring

Operator only: world to inspect or mutate. Team keys always use their own world.

Response

Success

idstring required
nownumber required

Simulation Unix timestamp in milliseconds.

speednumber required
pausedboolean required
populationinteger required
countersobject
resourceTotalinteger required
resourceOffsetinteger required
resourceLimitinteger required
faultsobject

Changes

No recorded changes to this operation across all 1 revision of this API.