Function getMlDeployments

  • List deployments

    Parameters

    • query: { filter?: string; limit?: number; offset?: number; sort?: EnumSortDeployments }

      an object with query parameters

      • Optionalfilter?: string

        Deployment fields by which you can filter responses.

        • spaceId ID string (or empty string for personal space) - ID of space in which deployment(s) exist
        • modelId UUID string - By model ID
        • createdBy ID string
        • ownerId ID string
        • approverId ID string - ID of user that approved a model in the deployment
        • experimentId UUID string - ID of experiment in which model(s) exist
        • experimentVersionId UUID string - ID of experiment version in which model(s) exist
        • predictionEnabled boolean - Are predictions enabled
        • exactName string - Deployments with exact name. Names may not be unique.
        • nameContains string - Deployments where name includes this. Names may not be unique
        • modelName string - Partial or exact, case-insensitive name of model in the deployment
        • modelState enum string - State by which to find models

          • Valid states: pending, enabled, disabled, inactive
      • Optionallimit?: number

        Number of results per page. Default is 32.

      • Optionaloffset?: number

        Number of rows to skip before getting page[size]

      • Optionalsort?: EnumSortDeployments

        Field(s) by which to sort response

    • Optionaloptions: ApiCallOptions

    Returns Promise<GetMlDeploymentsHttpResponse>

    getMlDeployments(
    {
    filter: "`filter=spaceId eq \"UUID\" and modelState eq \"enabled\"`",
    limit: 10,
    offset: 32
    }
    )

    GetMlDeploymentsHttpError