client.Model to create or list models within a project — for example “structural”, “MEP”, or “main”. Versions (published snapshots) belong to a model.
Read next: Version to load or publish a snapshot · Build your first model analysis tool for a script workflow
Methods
Retrieves a model by id.
Task<ModelWithVersions> GetWithVersions(string modelId, string projectId, int versionsLimit = 25, string? versionsCursor = null, ModelVersionsFilter? versionsFilter = null, CancellationToken cancellationToken = default)
Retrieves a model along with a paginated list of its versions.
Task<ResourceCollection<Model>> GetModels(string projectId, int modelsLimit = 25, string? modelsCursor = null, ProjectModelsFilter? modelsFilter = null, CancellationToken cancellationToken = default)
Lists models in a project.
Creates a model.
CreateModelInput(string name, string? description, string projectId).Updates a model’s name or description.
Task<ModelPermissionChecks> GetPermissions(string projectId, string modelId, CancellationToken cancellationToken = default)
Checks the active user’s permissions on the model (update, delete, create version).
Task<PermissionCheckResult> CanCreateModelIngestion(string projectId, string modelId, CancellationToken cancellationToken = default)
Checks whether the active user can create a connector-scale ingestion for this model. Requires
server version 3.0.11 or later.
Usage
Example
Next Steps
Core concepts
Where models fit in the hierarchy
Publish large models (connectors)
SendPipeline upload workflow
VersionResource
Versions within a model