# getDistributedApplicationModel

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Version: `13.3.0`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire)

Gets the distributed application model from the service provider

## Definition

```typescript
interface IServiceProvider {
  // ... omitted for brevity
  getDistributedApplicationModel(): DistributedApplicationModel
}
```

## Returns

[DistributedApplicationModel](/reference/api/typescript/aspire.hosting/distributedapplicationmodel.md)

## Applies to

- [IServiceProvider](/reference/api/typescript/aspire.hosting/iserviceprovider.md)
