openapi: 3.0.3
info:
  title: Model Repository
  description: The Model Repository API provides support for registering, organizing, and managing models within a common model repository.
  version: "13"
  contact:
    name: SAS Developers
    url: https://developer.sas.com
    email: devex@sas.com
servers:
  - url: https://example.com/modelRepository
    description: This is an example of a base URL.
tags:
  - name: Root
    description: Contains the operations for the root resource.
  - name: Models
    description: Contains operations for searching and managing models.
  - name: Projects
    description: Contains operations for searching and managing projects.
  - name: Repositories
    description: Contains operations for searching and managing repositories.
  - name: User-Defined Tags
    description: Contains operations for searching user-defined tags.
  - name: Deprecated
    description: Contains deprecated operations.
paths:
  /:
    get:
      operationId: root
      tags:
        - Root
      summary: Get a list of top-level resource links
      description: Returns a list of links to the top-level resources that are surfaced through this API.
      responses:
        "200":
          description: The request succeeded. A list of top-level link objects was returned.
          content:
            application/vnd.sas.api+json:
              schema:
                $ref: "#/components/schemas/api"
            application/json:
              schema:
                $ref: "#/components/schemas/api"
        "404":
          description: No root resource exists at the requested path. Check the URI for errors.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    head:
      operationId: headersForRoot
      tags:
        - Root
      summary: Check API availability
      description: Returns whether the model repository service is available.
      responses:
        "200":
          description: The request succeeded. The service is running and available.
          content:
            application/vnd.sas.api+json:
              schema:
                $ref: "#/components/schemas/api"
            application/json:
              schema:
                $ref: "#/components/schemas/api"
        "404":
          description: No root resource exists at the requested path. Check the URI for errors.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  /models:
    head:
      operationId: headersForModels
      tags:
        - Models
      summary: Check if models exist
      description: Returns header information for a list of models that are within the common model repository. Also used to determine whether models exist.
      parameters:
        - name: name
          in: query
          required: false
          description: A query string that allows a search by name for a model.
          schema:
            type: string
            format: sort-criteria
        - name: parentId
          in: query
          required: false
          description: A query string that allows a search for models in a folder or project.
          schema:
            type: string
            format: sort-criteria
        - name: start
          in: query
          required: false
          description: The starting index for the first item in a page. The index is 0-based. See [Pagination in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#pagination)for more information about how pagination is applied to collections.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: "The maximum number of items to return in the request. "
          schema:
            type: integer
            format: int32
            default: 10
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the models. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering)
          schema:
            type: string
            format: filter-criteria
        - name: sortBy
          in: query
          required: false
          description: The criteria for sorting the models. For more information, see [Sorting in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#sorting)
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelCollection"
    get:
      operationId: getModels
      tags:
        - Models
      summary: Get a list of models
      description: Returns a list of models that are within the common model repository.
      parameters:
        - name: name
          in: query
          required: false
          description: A query string that allows a search by name for a model.
          schema:
            type: string
            format: sort-criteria
        - name: parentId
          in: query
          required: false
          description: A query string that allows a search for models in a folder or project.
          schema:
            type: string
            format: sort-criteria
        - name: inputVariables
          in: query
          required: false
          description: A query string that allows a search for models with input variables.
          schema:
            type: string
        - name: outputVariables
          in: query
          required: false
          description: A query string that allows a search for models with output variables.
          schema:
            type: string
        - name: properties
          in: query
          required: false
          description: A query string that allows a search for models with user-defined properties.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The starting index for the first item in a page. The index is 0-based. For more information about how pagination is applied to collections, see [Pagination in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#pagination).
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: >
            The maximum number of items to return in this request.

            The maximum value that can be specified is 1000.


            __Note:__ The maximum value for the limit parameter was added with the 2026.07 release.
          schema:
            type: integer
            format: int32
            maximum: 1000
            default: 10
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the models. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering).
          schema:
            type: string
            format: filter-criteria
        - name: sortBy
          in: query
          required: false
          description: The criteria for sorting the models. For more information, see [Sorting in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#sorting).
          schema:
            type: string
        - name: relatedResourceUri
          in: query
          required: false
          description: A query string that allows a search for models with links to other system such as SAS Model Risk Management.
          schema:
            type: string
        - name: expand
          in: query
          required: false
          description: Specifies additional information to include in the response. Use `count` to include the number of model versions for each model. Use `astore` to include whether each model is an ASTORE model (determined by the presence of the AstoreMetadata.json file).
          schema:
            type: string
            enum:
              - count
              - astore
      responses:
        "200":
          description: The request succeeded. The models were returned.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    post:
      operationId: createModel
      tags:
        - Models
      summary: Create a model
      description: Creates a model into a project or folder using a model JSON object.
      requestBody:
        content:
          application/vnd.sas.models.model:
            schema:
              $ref: "#/components/schemas/model"
          application/json:
            schema:
              $ref: "#/components/schemas/model"
        description: "If the model is defined craftily, then this information is mandatory. The following fields are ignored from the input: id, createdBy, modifiedBy"
      responses:
        "201":
          description: A model was created.
          headers:
            Location:
              description: /modelRepository/models/{modelId}
              schema:
                type: string
            ETag:
              description: A tag that identifies this revision of this object.
              schema:
                type: string
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/model"
            application/json:
              schema:
                $ref: "#/components/schemas/model"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "409":
          description: The request could not be completed due to a conflict with the current state of the resource. The model already exists.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  /models/summary:
    get:
      operationId: getModelsSummary
      tags:
        - Models
      summary: Get aggregated model counts
      description: Returns aggregated model counts grouped by the specified field. This endpoint is used to retrieve summary statistics about models without fetching full model details.
      parameters:
        - name: groupBy
          in: query
          required: true
          description: The field to group the model counts by. Supported values are `publishStatus`, `scoreCodeType`, and `destinationName`.
          schema:
            type: string
            enum:
              - publishStatus
              - scoreCodeType
              - destinationName
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the models before aggregation. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering).
          schema:
            type: string
            format: filter-criteria
      responses:
        "200":
          description: The request succeeded. An array of summary items was returned.
          headers:
            ETag:
              description: A tag that identifies the revision of this object.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    category:
                      type: string
                      description: The category value for the group.
                    count:
                      type: integer
                      format: int64
                      description: The number of models in this category.
              example:
                - category: published
                  count: 15
                - category: unpublished
                  count: 42
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    category:
                      type: string
                      description: The category value for the group.
                    count:
                      type: integer
                      format: int64
                      description: The number of models in this category.
              example:
                - category: published
                  count: 15
                - category: unpublished
                  count: 42
        "400":
          description: The request was invalid. The `groupBy` parameter is missing or contains an unsupported value.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              example:
                errorCode: 0
                message: The value "invalidField" for the "groupBy" parameter is not valid.
                httpStatusCode: 400
                version: 2
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              example:
                errorCode: 0
                message: The value "invalidField" for the "groupBy" parameter is not valid.
                httpStatusCode: 400
                version: 2
  /models#Project:
    post:
      operationId: importModelsToProject
      tags:
        - Models
      summary: Import models into a model project
      description: Imports one or more models from the project request object. The model contains project properties and a list of model links.
      requestBody:
        content:
          application/vnd.sas.models.project.request:
            schema:
              $ref: "#/components/schemas/projectRequest"
      responses:
        "201":
          description: The models were imported.
          headers:
            Location:
              description: /modelRepository/models/{modelId}
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "409":
          description: The request could not be completed due to a conflict with the current state of the resource. The model already exists.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  /models#CommonModel:
    post:
      operationId: importModelAsCommonModel
      tags:
        - Models
      summary: Import a model into a folder
      description: Imports a model into a folder within the common model repository.
      parameters:
        - name: folderId
          in: query
          required: false
          description: The unique identifier for the folder that contains the model.
          schema:
            type: string
      requestBody:
        content:
          application/vnd.sas.models.model.request:
            schema:
              $ref: "#/components/schemas/modelRequest"
      responses:
        "201":
          description: A model was imported.
          headers:
            Location:
              description: /modelRepository/models/{modelId}
              schema:
                type: string
            ETag:
              description: A tag that identifies the revision of this object.
              schema:
                type: string
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/model"
            application/json:
              schema:
                $ref: "#/components/schemas/model"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "409":
          description: The request could not be completed due to a conflict with the current state of the resource. The model already exists.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  /models#MultipartFormData:
    post:
      operationId: importModelByMultipartForm
      tags:
        - Models
      summary: Import a model from an SPK file
      description: Imports a model from a SAS package (SPK) file. Select an SPK file from a local machine and then import it. The folder ID or project version ID is required. If importing a model into a folder, use folder ID. Otherwise, use project version ID.
      parameters:
        - name: name
          in: query
          required: true
          description: The name of the model.
          schema:
            type: string
        - name: type
          in: query
          required: true
          description: The type of model. The value must be "SPK".
          schema:
            type: string
            format: sort-criteria
            default: SPK
        - name: folderId
          in: query
          required: false
          description: The unique identifier for the folder. The `folderId` or `projectVersionId` parameter must be specified.
          schema:
            type: string
            format: sort-criteria
        - name: projectVersionId
          in: query
          required: false
          description: The unique identifier for the project version. The `folderId` or `projectVersionId` parameter must be specified.
          schema:
            type: string
            format: sort-criteria
        - name: function
          in: query
          required: false
          description: The function of the model.
          schema:
            type: string
            format: sort-criteria
        - name: description
          in: query
          required: false
          description: The description of the model.
          schema:
            type: string
            format: sort-criteria
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                files:
                  description: Select an SPK file from your local client machine.
                  type: string
                  format: binary
              required:
                - files
      responses:
        "201":
          description: The model was imported.
          headers:
            Location:
              description: The location of this model.
              schema:
                type: string
            ETag:
              description: A tag that identifies this revision of this object.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "409":
          description: The request could not be completed due to a conflict with the current state of the resource. The model already exists.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  /models#octetStream:
    post:
      operationId: importModelByOctetstream
      tags:
        - Models
      summary: Import a model through an octet stream
      description: Imports a model through input stream. The folder ID or project version ID is required. If the model should be imported into a folder, use the folder ID. Otherwise, use project version ID.
      parameters:
        - name: name
          in: query
          required: true
          description: The model name.
          schema:
            type: string
        - name: type
          in: query
          required: true
          description: The value for type can be SPK, ZIP, or CAS.
          schema:
            type: string
            format: sort-criteria
            default: SPK
        - name: folderId
          in: query
          required: false
          description: You must specify a folder ID or project version ID.
          schema:
            type: string
            format: sort-criteria
        - name: projectVersionId
          in: query
          required: false
          description: You must specify a folder ID or project version ID.
          schema:
            type: string
            format: sort-criteria
        - name: projectName
          in: query
          required: false
          description: The model is imported into this project.
          schema:
            type: string
            format: sort-criteria
        - name: versionOption
          in: query
          required: false
          description: This parameter indicates to create a new version, use the latest version, or use an existing version to import the model into. Valid values are NEW, LATEST, or a number.
          schema:
            type: string
            format: sort-criteria
        - name: function
          in: query
          required: false
          description: The function of the model.
          schema:
            type: string
            format: sort-criteria
        - name: description
          in: query
          required: false
          description: The description of the model.
          schema:
            type: string
            format: sort-criteria
      requestBody:
        content:
          application/octet-stream:
            schema:
              type: string
              format: binary
        description: Select a model content from your local machine to import a model.
        required: true
      responses:
        "201":
          description: The model was imported.
          headers:
            Location:
              description: The location of the model.
              schema:
                type: string
            ETag:
              description: The entity tag for the model.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "409":
          description: The request could not be completed due to a conflict with the current state of the resource. The model already exists.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}":
    get:
      operationId: getModel
      tags:
        - Models
      summary: Get a model
      description: Returns the model information for the specified model ID.
      parameters:
        - name: modelId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The model information is returned.
          headers:
            Etag:
              description: A tag that identifies the revision of this object.
              schema:
                type: string
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/model"
            application/json:
              schema:
                $ref: "#/components/schemas/model"
        "404":
          description: Not found
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    head:
      operationId: headersForModel
      tags:
        - Models
      summary: Check if a model exists
      description: Returns the header information for the specified model ID. Also used to determine whether a model exists.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The model information was returned.
          headers:
            Etag:
              description: The entity tag for the model.
              schema:
                type: string
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/model"
            application/json:
              schema:
                $ref: "#/components/schemas/model"
        "404":
          description: No model exists at the requested path.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    put:
      operationId: updateModel
      tags:
        - Models
      summary: Update a model
      description: Updates the model information for the model that matches the specified criteria and model ID.
      parameters:
        - name: If-Match
          in: header
          required: true
          description: Client needs to specify the previously pulled <b>ETag</b> as <b>If-Match</b>header.
          schema:
            type: string
        - name: modelId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/vnd.sas.models.model:
            schema:
              $ref: "#/components/schemas/model"
          application/json:
            schema:
              $ref: "#/components/schemas/model"
        description: If the model is defined, then this information is mandatory.
      responses:
        "200":
          description: The model was updated.
          headers:
            Etag:
              description: The entity tag for the model.
              schema:
                type: string
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/model"
            application/json:
              schema:
                $ref: "#/components/schemas/model"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No model exists at the requested path.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "412":
          description: The `If-Match` request header did not match the resource's entity tag, or the `If-Unmodified-Since` request header did not match the resource's last modified timestamp.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "428":
          description: The request headers did not include a `If-Match` or `If-Unmodified-Since` precondition.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    delete:
      operationId: deleteModel
      tags:
        - Models
      summary: Delete a model
      description: Deletes the model with the specified ID from the model repository.
      parameters:
        - name: modelId
          in: path
          required: true
          schema:
            type: string
      responses:
        "204":
          description: The model was deleted.
        "404":
          description: No model exists at the requested path for the specified model ID.
  "/models/{modelId}/analyticStore":
    get:
      operationId: getModelAnalyticStores
      tags:
        - Models
      summary: Get a list of model analytic stores
      description: Returns a list of metadata for analytic stores (application/vnd.sas.models.analytic.store) that are associated with the model. Note that this does not allow retrieval of the analytic store, only the metadata.
      parameters:
        - name: modelId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: The collection of analytic stores for the model was returned. The collection contains application/vnd.sas.models.analytic.store.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/analyticStoreCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/analyticStoreCollection"
        "404":
          description: No model exists at the requested path.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    put:
      operationId: copyModelAnalyticStores
      tags:
        - Models
      summary: Copy analytic stores for a model
      description: "Copies all of the analytic stores for a model to the predefined server location (<SASHOME>/config/data/modelsvr/astore) that is used for integration with Event Stream Processing and others. This request invokes an asynchronous call to copy the analytic store files. Check the individual analytic store URIs to get the completion state: pending, copying, success, or failure. Please review the SAS Model Manager documentation before using this operation. Returns a collection of application/vnd.sas.models.analytic.store."
      parameters:
        - name: If-Match
          in: header
          description: The client must specify the previously pulled `ETag` as an `If-Match` header.
          schema:
            type: string
        - name: modelId
          in: path
          required: true
          schema:
            type: string
      responses:
        "202":
          description: The analytic store copy request has been accepted for processing, but the processing has not been completed. The collection contains application/vnd.sas.models.analytic.store.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/analyticStoreCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/analyticStoreCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No model exists at the requested path.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "412":
          description: The `If-Match` request header did not match the resource's entity tag, or the `If-Unmodified-Since` request header did not match the resource's last modified timestamp.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "428":
          description: The request headers did not include a `If-Match` or `If-Unmodified-Since` precondition.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/analyticStore/{analyticStoreName}":
    get:
      operationId: getModelAnalyticStore
      tags:
        - Models
      summary: Get an analytic store
      description: Returns the detailed metadata for an analytic store that is associated with the model.
      parameters:
        - name: modelId
          in: path
          required: true
          schema:
            type: string
        - name: analyticStoreName
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: The collection of analytic stores for the model was returned.
          content:
            application/vnd.sas.model.analytic.store:
              schema:
                $ref: "#/components/schemas/analyticStore"
            application/json:
              schema:
                $ref: "#/components/schemas/analyticStore"
        "404":
          description: No model or analytic store name exists at the requested path.
          content:
            application/vnd.sas.model.analytic.store:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    put:
      operationId: copyModelAnalyticStore
      tags:
        - Models
      summary: Copy an analytic store for a model
      description: "Copy one of the analytic stores for this model to the predefined server location (<SASHOME>/config/data/modelsvr/astore) that is used for integration with SAS Event Stream Processing and others. This request invokes an asynchronous call to copy the analytic store file. Access the URI again to get the completion state: pending, copying, success, or failure. Please review the SAS Model Manager documentation before using this operation."
      parameters:
        - name: If-Match
          in: header
          description: The client must specify the previously pulled `ETag` as an `If-Match` header.
          schema:
            type: string
        - name: modelId
          in: path
          required: true
          schema:
            type: string
        - name: analyticStoreName
          in: path
          required: true
          schema:
            type: string
      responses:
        "202":
          description: The analytic store copy request has been accepted for processing, but the processing has not been completed.
          content:
            application/vnd.sas.model.analytic.store:
              schema:
                $ref: "#/components/schemas/analyticStore"
            application/json:
              schema:
                $ref: "#/components/schemas/analyticStore"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.model.analytic.store:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No model or analytic store name exists at the requested path.
          content:
            application/vnd.sas.model.analytic.store:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "412":
          description: The `If-Match` request header did not match the resource's entity tag, or the `If-Unmodified-Since` request header did not match the resource's last modified timestamp.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "428":
          description: The request headers did not include a `If-Match` or `If-Unmodified-Since` precondition.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/code":
    get:
      operationId: getModelScoreCode
      tags:
        - Models
      summary: Get model score code
      description: Returns the model score code for the specified model ID.
      parameters:
        - name: modelId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: The model score code was returned.
          content:
            text/vnd.sas.models.score.code.ds2package:
              schema:
                type: string
                format: byte
            text/vnd.sas.models.score.code.ds2:
              schema:
                type: string
                format: byte
            text/vnd.sas.models.score.code.ds2ep:
              schema:
                type: string
                format: byte
            text/vnd.sas.models.score.code.container:
              schema:
                type: string
                format: byte
            text/vnd.sas.models.score.code.raw:
              schema:
                type: string
                format: byte
            text/plain:
              schema:
                type: string
                format: byte
            application/json:
              schema:
                type: string
                format: byte
        "404":
          description: No model exists at the requested path.
          content:
            text/vnd.sas.models.score.code.ds2package:
              schema:
                $ref: "#/components/schemas/error2"
            text/vnd.sas.models.score.code.ds2:
              schema:
                $ref: "#/components/schemas/error2"
            text/vnd.sas.models.score.code.ds2ep:
              schema:
                $ref: "#/components/schemas/error2"
            text/vnd.sas.models.score.code.container:
              schema:
                $ref: "#/components/schemas/error2"
            text/vnd.sas.models.score.code.raw:
              schema:
                $ref: "#/components/schemas/error2"
            text/plain:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/contents":
    get:
      operationId: getModelContents
      tags:
        - Models
      summary: Get model contents
      description: "Returns the contents of a model for the specified model ID. "
      parameters:
        - name: modelId
          in: path
          required: true
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: >
            The maximum number of items to return in this request.


            __Note:__ The default limit was set with the 2025.10 stable release. There was previously no default limit.
          schema:
            type: integer
            format: int32
            default: 1000
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the models. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering).
          schema:
            type: string
            format: filter-criteria
        - name: sortBy
          in: query
          required: false
          description: The criteria for sorting the models. For more information, see [Sorting in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#sorting).
          schema:
            type: string
      responses:
        "200":
          description: The contents of the model was returned.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelContentCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelContentCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No model exists at the requested path.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    post:
      operationId: createModelContents
      tags:
        - Models
      summary: Add model contents
      description: Adds the specified model contents to the model associated with the specified model ID.
      parameters:
        - name: modelId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  description: Select a file from your local client machine.
                  type: string
                  format: binary
              required:
                - file
      responses:
        "201":
          description: The model contents were added successfully.
          headers:
            Location:
              description: /modelRepository/models/{modelId}/contents
              schema:
                type: string
            ETag:
              description: A tag that identifies the revision of this object.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelContentCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelContentCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No model exists at the requested path.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/contents/{contentId}":
    get:
      operationId: getModelContentMetadata
      tags:
        - Models
      summary: Get model content metadata
      description: Returns the metadata information for the model content that is associated with the specified model ID and content ID.
      parameters:
        - name: modelId
          in: path
          required: true
          schema:
            type: string
        - name: contentId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: The model content and its metadata information was returned.
          headers:
            ETag:
              description: The entity tag for the model content.
              schema:
                type: string
          content:
            application/vnd.sas.models.model.content+json:
              schema:
                $ref: "#/components/schemas/modelContent"
            application/json:
              schema:
                $ref: "#/components/schemas/modelContent"
        "404":
          description: No model content exists at the requested path.
          content:
            application/vnd.sas.models.model.content+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    head:
      operationId: headersForModelContent
      tags:
        - Models
      summary: Check if model content exists
      description: Returns the metadata and header information for the model content that is associated with the specified model ID and content ID. Also used to determine whether model content exists.
      parameters:
        - name: modelId
          in: path
          required: true
          schema:
            type: string
        - name: contentId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The metadata information for the model content was returned.
          headers:
            ETag:
              description: The entity tag for the model content.
              schema:
                type: string
          content:
            application/vnd.sas.models.model.content+json:
              schema:
                $ref: "#/components/schemas/modelContent"
            application/json:
              schema:
                $ref: "#/components/schemas/modelContent"
        "404":
          description: No model content exists at the requested path.
          content:
            application/vnd.sas.models.model.content+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    put:
      operationId: updateModelContentMetadata
      tags:
        - Models
      summary: Update model content metadata
      description: Updates the metadata information for the model content that is associated with the specified model ID and content ID.
      parameters:
        - name: If-Match
          in: header
          description: The client must specify the previously pulled `ETag` as an `If-Match` header.
          schema:
            type: string
        - name: modelId
          in: path
          required: true
          schema:
            type: string
        - name: contentId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: The metadata information for the model content was updated.
          headers:
            Etag:
              description: The entity tag for the model content.
              schema:
                type: string
          content:
            application/vnd.sas.models.model.content+json:
              schema:
                $ref: "#/components/schemas/modelContent"
            application/json:
              schema:
                $ref: "#/components/schemas/modelContent"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.model.content+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No model or content exists at the requested path.
          content:
            application/vnd.sas.models.model.content+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "412":
          description: The `If-Match` request header did not match the resource's entity tag, or the `If-Unmodified-Since` request header did not match the resource's last modified timestamp.
          content:
            application/vnd.sas.models.model.content+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "428":
          description: The request headers did not include a `If-Match` or `If-Unmodified-Since` precondition.
          content:
            application/vnd.sas.models.model.content+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    delete:
      operationId: deleteModelContent
      tags:
        - Models
      summary: Delete model content
      description: Deletes the model content that is associated with the specified model ID and content ID.
      parameters:
        - name: modelId
          in: path
          required: true
          schema:
            type: string
        - name: contentId
          in: path
          required: true
          schema:
            type: string
      responses:
        "204":
          description: The model content was deleted.
        "404":
          description: No model content exits at the requested path.
          content:
            "*/*":
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/contents/{contentId}/content":
    get:
      operationId: getModelContent
      tags:
        - Models
      summary: Get model content
      description: Returns the model content that is associated with the specified model ID and content ID.
      parameters:
        - name: modelId
          in: path
          required: true
          schema:
            type: string
        - name: contentId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The model content was returned.
          headers:
            Etag:
              description: The entity tag for the model content.
              schema:
                type: string
        "404":
          description: No model or content exists at the requested path.
          content:
            text/plain:
              schema:
                $ref: "#/components/schemas/error2"
            application/octet-stream:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/contents/{contentId}/stream":
    get:
      operationId: getModelContentStream
      tags:
        - Models
      summary: Get model content in stream
      description: Returns the model content in stream that is associated with the specified model ID and content ID.
      parameters:
        - name: modelId
          in: path
          required: true
          schema:
            type: string
        - name: contentId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The model content in stream was returned.
          headers:
            ETag:
              description: The entity tag for the model content in stream.
              schema:
                type: string
        "404":
          description: No model or content exists at the requested path.
          content:
            application/octet-stream:
              schema:
                $ref: "#/components/schemas/error2"
    put:
      operationId: updateModelContent
      tags:
        - Models
      summary: Update model content
      description: Updates the model content that is associated with the specified model ID and content ID.
      parameters:
        - name: If-Match
          in: header
          required: true
          description: The entity tag obtained from the most recent `ETag` response header must match the current entity tag for the model content.
          schema:
            type: string
        - name: modelId
          in: path
          required: true
          schema:
            type: string
        - name: contentId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: The model content was updated.
          headers:
            Etag:
              description: The entity tag for the model content.
              schema:
                type: string
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.model.content+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: The model content could not be found.
          content:
            application/vnd.sas.models.model.content+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "412":
          description: The `If-Match` request header did not match the resource's entity tag, or the `If-Unmodified-Since` request header did not match the resource's last modified timestamp.
          content:
            application/vnd.sas.models.model.content+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "428":
          description: The request headers did not include a `If-Match` or `If-Unmodified-Since` precondition.
          content:
            application/vnd.sas.models.model.content+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/modelVersions":
    get:
      operationId: getModelVersions
      deprecated: true
      tags:
        - Deprecated
      summary: Get a list of model versions
      description: >
        Returns a list of model versions for the specified model ID.


        __Note:__ This endpoint has been deprecated. It was replaced by the `/models/{modelId}/history` endpoint.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded. The list of model versions was returned.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelVersionCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelVersionCollection"
        "404":
          description: The model could not be found.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    head:
      operationId: headersForModelVersions
      deprecated: true
      tags:
        - Deprecated
      summary: Check if model versions exist
      description: Returns the header information for the model versions that are associated with the specified model ID. Also used to determine whether model versions exist.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded. The list of model versions was returned.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelVersionCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelVersionCollection"
        "404":
          description: No model exists at the requested path.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    post:
      operationId: createModelVersion
      deprecated: true
      tags:
        - Deprecated
      summary: Create a model version
      description: Creates a new model version for the specified model ID.
      parameters:
        - name: modelId
          in: path
          description: You must specify a valid model ID.
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/vnd.sas.models.model.version:
            schema:
              $ref: "#/components/schemas/modelVersion"
          application/json:
            schema:
              $ref: "#/components/schemas/modelVersion"
        description: The new model version.
      responses:
        "201":
          description: A new model version was created.
          headers:
            Location:
              description: The location of the model version.
              schema:
                type: string
            ETag:
              description: The entity tag for the model version.
              schema:
                type: string
          content:
            application/vnd.sas.models.model.version+json:
              schema:
                $ref: "#/components/schemas/modelVersion"
            application/json:
              schema:
                $ref: "#/components/schemas/modelVersion"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.model.version+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/history":
    get:
      operationId: getModelHistory
      tags:
        - Models
      summary: Get model history
      description: Returns the model history, which is a list of the previous model versions for the specified model ID.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded. The list of model versions was returned from the model history.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelVersionHistoryCollection"
              examples:
                default:
                  $ref: "#/components/examples/getModelVersionHistoryList"
            application/json:
              schema:
                $ref: "#/components/schemas/modelVersionHistoryCollection"
              examples:
                default:
                  $ref: "#/components/examples/getModelVersionHistoryList"
        "404":
          description: The model could not be found.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    post:
      operationId: createModelVersionHistory
      tags:
        - Models
      summary: Add a model version to the model history
      description: Adds a new model version to the model history of the specified model ID.
      parameters:
        - name: modelId
          in: path
          description: You must specify a valid model ID.
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/vnd.sas.models.model.version:
            schema:
              $ref: "#/components/schemas/modelVersion"
            examples:
              default:
                $ref: "#/components/examples/getModelVersionResponse"
          application/json:
            schema:
              $ref: "#/components/schemas/modelVersion"
            examples:
              default:
                $ref: "#/components/examples/getModelVersionResponse"
        description: The new model version.
      responses:
        "201":
          description: A new model version was added to the model history.
          headers:
            Location:
              description: The location of the model version.
              schema:
                type: string
            ETag:
              description: The entity tag for the model version.
              schema:
                type: string
          content:
            application/vnd.sas.models.model.version+json:
              schema:
                $ref: "#/components/schemas/modelVersion"
            application/json:
              schema:
                $ref: "#/components/schemas/modelVersion"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.model.version+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/modelVersions/{versionId}":
    get:
      operationId: getModelVersion
      deprecated: true
      tags:
        - Deprecated
      summary: Get a model version
      description: >
        Returns the model version that is associated with the specified model ID

        and version ID.


        __Note:__ This endpoint has been deprecated. It was replaced by the `/models/{modelId}/history/{versionId}` endpoint.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: versionId
          in: path
          required: true
          description: The unique identifier for the model version.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The model version was returned.
          headers:
            ETag:
              description: The entity tag for the model version.
              schema:
                type: string
          content:
            application/vnd.sas.models.model.version+json:
              schema:
                $ref: "#/components/schemas/modelVersion"
            application/json:
              schema:
                $ref: "#/components/schemas/modelVersion"
        "404":
          description: No model version exists at the requested path.
          content:
            application/vnd.sas.models.model.version+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/history/{versionId}":
    get:
      operationId: getModelVersionHistory
      tags:
        - Models
      summary: Get a model version from model history
      description: Returns the model version from the model history that is associated with the specified model ID and version ID.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: versionId
          in: path
          required: true
          description: The unique identifier for the model version.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The model version was returned from the model history.
          headers:
            ETag:
              description: The entity tag for the model version.
              schema:
                type: string
          content:
            application/vnd.sas.models.model.version+json:
              schema:
                $ref: "#/components/schemas/modelVersion"
              examples:
                default:
                  $ref: "#/components/examples/getModelVersionHistory"
            application/json:
              schema:
                $ref: "#/components/schemas/modelVersion"
              examples:
                default:
                  $ref: "#/components/examples/getModelVersionHistory"
        "404":
          description: No model version exists at the requested path.
          content:
            application/vnd.sas.models.model.version+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/modelVersions/{versionId}/contents":
    get:
      operationId: getModelVersionContents
      deprecated: true
      tags:
        - Deprecated
      summary: Get the contents of a model version
      description: >
        Returns the contents for the model version that is associated with the

        specified model ID and version ID. The contents of a model version

        includes a list of model contents and metadata information.


        __Note:__ This endpoint has been deprecated. It was replaced by the `/models/{modelId}/history/{versionId}/contents` endpoint.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: versionId
          in: path
          required: true
          description: The unique identifier for the model version.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The contents of the model version was returned.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelContentCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelContentCollection"
        "404":
          description: No model version exists at the requested path.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/history/{versionId}/contents":
    get:
      operationId: getModelVersionHistoryContents
      tags:
        - Models
      summary: Get the contents of a model version
      description: Returns the contents for the model version from the model history that is associated with the specified model ID and version ID. The contents of a model version includes a list of model contents and metadata information.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: versionId
          in: path
          required: true
          description: The unique identifier for the model version.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The contents of the model version was returned from the model history.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelContentCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelContentCollection"
        "404":
          description: No model version exists at the requested path.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/getModelContentList"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/getModelContentList"
  "/models/{modelId}/modelVersions/{versionId}/contents/{contentId}":
    get:
      operationId: getModelVersionContentMetadata
      deprecated: true
      tags:
        - Deprecated
      summary: Get metadata for model version content
      description: >
        Returns the metadata information for the model version content that is

        associated with the specified model ID, version ID, and content ID.


        __Note:__ This endpoint has been deprecated. It was replaced by the `/models/{modelId}/history/{versionId}/contents/{contentId}` endpoint.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: versionId
          in: path
          required: true
          description: The unique identifier for the model version.
          schema:
            type: string
        - name: contentId
          in: path
          required: true
          description: The unique identifier for the model version content.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The metadata information for the model version content was returned.
          headers:
            ETag:
              description: The entity tag for the model version content.
              schema:
                type: string
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/modelContent"
            application/json:
              schema:
                $ref: "#/components/schemas/modelContent"
        "404":
          description: No model version exists at the requested path.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/history/{versionId}/contents/{contentId}":
    get:
      operationId: getModelVersionHistoryContentMetadata
      tags:
        - Models
      summary: Get metadata for model version content
      description: Returns the metadata information for the model version content from the model history that is associated with the specified model ID, version ID, and content ID.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: versionId
          in: path
          required: true
          description: The unique identifier for the model version.
          schema:
            type: string
        - name: contentId
          in: path
          required: true
          description: The unique identifier for the model version content.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The metadata information for the model version content was returned from the model history.
          headers:
            ETag:
              description: The entity tag for the model version content.
              schema:
                type: string
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/modelContent"
            application/json:
              schema:
                $ref: "#/components/schemas/modelContent"
        "404":
          description: No model version exists at the requested path.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/getModelContent"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/getModelContent"
  "/models/{modelId}/modelVersions/{versionId}/contents/{contentId}/content":
    get:
      operationId: getModelVersionContent
      deprecated: true
      tags:
        - Deprecated
      summary: Get model version content
      description: >
        Returns the model version content that is associated with the specified

        model ID, version ID, and content ID.


        __Note:__ This endpoint has been deprecated. It was replaced by the `/models/{modelId}/history/{versionId}/contents/{contentId}/content` endpoint.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: versionId
          in: path
          required: true
          description: The unique identifier for the model version.
          schema:
            type: string
        - name: contentId
          in: path
          required: true
          description: The unique identifier for the model version content.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The model version content was returned.
        "404":
          description: No model version content exists at the requested path.
          content:
            text/plain:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/history/{versionId}/contents/{contentId}/content":
    get:
      operationId: getModelVersionHistoryContent
      tags:
        - Models
      summary: Get model version content
      description: Returns the model version content from the model history that is associated with the specified model ID, version ID, and content ID.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: versionId
          in: path
          required: true
          description: The unique identifier for the model version.
          schema:
            type: string
        - name: contentId
          in: path
          required: true
          description: The unique identifier for the model version content.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The model version content from the model history was returned.
        "404":
          description: No model version content exists at the requested path.
          content:
            text/plain:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/versions":
    get:
      operationId: getModelWithVersions
      tags:
        - Models
      summary: Get a model with a list of versions
      description: Returns a list of model versions with the model itself for the specified model ID.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded. The list of model versions was returned.
          headers:
            ETag:
              description: The entity tag for the model version.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelVersionCollection"
              examples:
                default:
                  $ref: "#/components/examples/getModelVersionListResponse"
            application/json:
              schema:
                $ref: "#/components/schemas/modelVersionCollection"
              examples:
                default:
                  $ref: "#/components/examples/getModelVersionListResponse"
        "404":
          description: No model exists at the requested path. The specified model ID could not be found.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/versions/{versionId}":
    get:
      operationId: getModelOrVersion
      tags:
        - Models
      summary: Get a model version or model
      description: >
        Returns the model version or the model that is associated with the specified model ID and version ID.

        If the model ID and version ID are the same, the model is returned.


        <b>Note:</b> You can also use `@{modelVersionName}` after the forward slash (/) to specify the name of a model version instead of the model version ID.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: versionId
          in: path
          required: true
          description: The unique identifier for the model version.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The model version was returned.
          headers:
            ETag:
              description: The entity tag for the model version.
              schema:
                type: string
          content:
            application/vnd.sas.models.model.version+json:
              schema:
                $ref: "#/components/schemas/modelVersion"
              examples:
                default:
                  $ref: "#/components/examples/getModelVersionResponse"
            application/json:
              schema:
                $ref: "#/components/schemas/modelVersion"
              examples:
                default:
                  $ref: "#/components/examples/getModelVersionResponse"
        "404":
          description: No model or model version exists at the requested path. The specified model ID or model version ID could not be found.
          content:
            application/vnd.sas.models.model.version+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/variables":
    get:
      operationId: getModelVariables
      tags:
        - Models
      summary: Get model variables
      description: Returns the input variables and output variables that are associated with the specified model ID.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded. The list of model input variables and output variables was returned.
          headers:
            ETag:
              description: The entity tag for the model variable collection.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/variableCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/variableCollection"
        "404":
          description: No model variables exist at the requested path.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    post:
      operationId: createModelVariable
      tags:
        - Models
      summary: Add model variables
      description: Adds one or more variables to the model that is associated with the specified model ID.
      parameters:
        - name: modelId
          in: path
          description: The unique identifier for the model.
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/vnd.sas.models.model.variable:
            schema:
              $ref: "#/components/schemas/variable"
          application/json:
            schema:
              $ref: "#/components/schemas/variable"
          application/vnd.sas.collection+json:
            schema:
              $ref: "#/components/schemas/variableCollection"
        description: The representation of the variable.
        required: true
      responses:
        "201":
          description: A new model variable was created.
          headers:
            Location:
              description: The location of the model variable.
              schema:
                type: string
            ETag:
              description: The entity tag for the model variable.
              schema:
                type: string
          content:
            application/vnd.sas.models.model.variable+json:
              schema:
                $ref: "#/components/schemas/variable"
            application/json:
              schema:
                $ref: "#/components/schemas/variable"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/variableCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.model.variable+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/variableCollection"
  "/models/{modelId}/variables/{variableId}":
    get:
      operationId: getModelVariable
      tags:
        - Models
      summary: Get a model variable
      description: Returns the model variable associated with the specified model ID and variable ID.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: variableId
          in: path
          required: true
          description: The unique identifier for the model variable.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. A model input variable or output variable was returned.
          headers:
            ETag:
              description: The entity tag for the model variable.
              schema:
                type: string
          content:
            application/vnd.sas.models.model.variable+json:
              schema:
                $ref: "#/components/schemas/variable"
            application/json:
              schema:
                $ref: "#/components/schemas/variable"
        "404":
          description: No model variable exists at the requested path.
          content:
            application/vnd.sas.models.model.variable+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    put:
      operationId: updateModelVariable
      tags:
        - Models
      summary: Update a model variable
      description: Updates the model variable that is associated with the specified model ID and variable ID.
      parameters:
        - name: If-Match
          in: header
          description: The entity tag obtained from the most recent `ETag` response header. Must match the current entity tag for the model variable.
          schema:
            type: string
        - name: modelId
          in: path
          description: The unique identifier for the model. You must specify a valid model ID.
          required: true
          schema:
            type: string
        - name: variableId
          in: path
          description: The unique identifier for the variable. You must specify a valid variable ID.
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/vnd.sas.models.model.variable:
            schema:
              $ref: "#/components/schemas/variable"
          application/json:
            schema:
              $ref: "#/components/schemas/variable"
        description: The representation of a new model variable.
      responses:
        "200":
          description: The request succeeded. The model variable was updated.
          headers:
            Etag:
              description: The entity tag for the model variable.
              schema:
                type: string
          content:
            application/vnd.sas.models.model.variable+json:
              schema:
                $ref: "#/components/schemas/variable"
            application/json:
              schema:
                $ref: "#/components/schemas/variable"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.model.variable+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "412":
          description: The `If-Match` request header did not match the resource's entity tag, or the `If-Unmodified-Since` request header did not match the resource's last modified timestamp.
          content:
            application/vnd.sas.models.model.variable+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "428":
          description: The request headers did not include a `If-Match` or `If-Unmodified-Since` precondition.
          content:
            application/vnd.sas.models.model.variable+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    delete:
      operationId: deleteModelVariable
      tags:
        - Models
      summary: Delete a model variable
      description: Deletes the model variable associated with the specified model ID and variable ID.
      parameters:
        - name: modelId
          in: path
          required: true
          schema:
            type: string
        - name: variableId
          in: path
          required: true
          schema:
            type: string
      responses:
        "204":
          description: The model variable was deleted.
        "404":
          description: No variable exists at the requested path.
          content:
            "*/*":
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/scoreResources":
    get:
      operationId: getModelScoreResourcesFile
      tags:
        - Models
      summary: Get a model's score resource files
      description: Returns the model files that have a file role of score resource, which are used for scoring.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded. Model score resources were returned.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelContentCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelContentCollection"
        "404":
          description: No score resource exists at the requested path.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    put:
      operationId: updateModelScoreResourcesFileLocation
      tags:
        - Models
      summary: Move the score resources to Compute server
      description: Moves a model's score resources to Compute server.
      parameters:
        - name: If-Match
          in: header
          description: The entity tag obtained from the most recent `ETag` response header. Must match the current entity tag for the model variable.
          schema:
            type: string
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. Model score resources were moved.
          headers:
            Etag:
              description: The entity tag for the model variable.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelContentCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelContentCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "406":
          description: Score resources files cannot be moved.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "412":
          description: The `If-Match` request header did not match the resource's entity tag, or the `If-Unmodified-Since` request header did not match the resource's last modified timestamp.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "428":
          description: The request headers did not include a `If-Match` or `If-Unmodified-Since` precondition.
  "/models/{modelId}/locks":
    get:
      operationId: getModelLocks
      tags:
        - Models
      summary: Get a list of locks for a model
      description: Returns a list of locks that are set for a model using the specified model ID.
      parameters:
        - name: modelId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: A list of locks for a model was returned.
          content:
            application/vnd.sas.collection+json:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
        "404":
          description: No model exists at the requested path.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/models/{modelId}/locks/{lockName}":
    get:
      operationId: getModelPublishLock
      tags:
        - Models
      summary: Get model publish lock
      description: Returns the model publish lock for the specified model ID.
      parameters:
        - name: modelId
          in: path
          schema:
            type: string
          required: true
        - name: lockName
          in: path
          schema:
            type: string
          required: true
      responses:
        "200":
          description: The model publish lock was returned.
          content:
            text/plain:
              schema:
                type: string
            application/json:
              schema:
                type: string
        "404":
          description: No model exists at the requested path.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    post:
      operationId: setModelPublishLock
      tags:
        - Models
      summary: Set model publish lock
      description: Sets the model publish lock for the specified model ID.
      parameters:
        - name: modelId
          in: path
          required: true
          schema:
            type: string
        - name: lockName
          in: path
          required: true
          schema:
            type: string
      responses:
        "201":
          description: The model publish lock was returned.
          headers:
            ETag:
              description: A tag that identifies the revision of this object.
              schema:
                type: string
          content:
            text/plain:
              schema:
                type: string
            application/json:
              schema:
                type: string
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No model exists at the requested path.
          content:
            text/plain:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    delete:
      operationId: unsetModelPublishLock
      tags:
        - Models
      summary: Unset model publish lock
      description: Clears the model publish lock for the specified model ID.
      parameters:
        - name: modelId
          in: path
          required: true
          schema:
            type: string
        - name: lockName
          in: path
          required: true
          schema:
            type: string
      responses:
        "204":
          description: The model publish lock was clear.
        "404":
          description: No model exists at the requested path.
          content:
            "*/*":
              schema:
                $ref: "#/components/schemas/error2"
  /models/userProperties:
    get:
      operationId: getModelUserProperties
      tags:
        - Models
      summary: Get all model user-defined properties
      description: Returns all distinct user-defined properties at the model-level.
      parameters:
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded.
          content:
            application/vnd.sas.collection+json:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
  "/models/{modelId}/userProperties":
    head:
      operationId: headersForModelUserProperties
      tags:
        - Models
      summary: Check if user-defined properties exist for a model
      description: Returns header information for user-defined properties in the specified model.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the user-defined properties.
          schema:
            type: string
            format: filter-criteria
      responses:
        "200":
          description: The request succeeded.
          headers:
            ETag:
              description: The entity tag for the collection.
              schema:
                type: string
    get:
      operationId: getModelUserPropertiesForModel
      tags:
        - Models
      summary: Get user-defined properties for a model
      description: Returns the user-defined properties for the specified model.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the user-defined properties.
          schema:
            type: string
            format: filter-criteria
      responses:
        "200":
          description: The request succeeded.
          headers:
            Cache-Control:
              description: Controls how the response is cached by the browser.
              schema:
                type: string
            Content-Type:
              description: The media type of the response.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/userPropertyCollection"
              examples:
                default:
                  $ref: "#/components/examples/getModelUserProperties"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/userPropertyCollection"
              examples:
                default:
                  $ref: "#/components/examples/getModelUserProperties"
        "404":
          description: No model exists at the requested path.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/notFoundError"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/notFoundError"
    post:
      operationId: createModelUserProperties
      tags:
        - Models
      summary: Create or update user-defined properties for a model
      description: Creates or updates one or more user-defined properties in the specified model.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/userPropertyCollection"
            examples:
              default:
                $ref: "#/components/examples/getModelUserProperties"
          application/vnd.sas.collection+json:
            schema:
              $ref: "#/components/schemas/userPropertyCollection"
            examples:
              default:
                $ref: "#/components/examples/getModelUserProperties"
      responses:
        "201":
          description: The user-defined properties were created or updated within the specified model.
          headers:
            Location:
              description: The location of the model's user-defined properties.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/userPropertyCollection"
              examples:
                default:
                  $ref: "#/components/examples/getModelUserProperties"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/userPropertyCollection"
              examples:
                default:
                  $ref: "#/components/examples/getModelUserProperties"
        "400":
          description: The request was invalid.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/badRequest"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/badRequest"
        "404":
          description: No model exists at the requested path.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/notFoundError"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/notFoundError"
  "/models/{modelId}/userProperties/{propertyKey}":
    head:
      operationId: headersForModelUserProperty
      tags:
        - Models
      summary: Check if a specific user-defined property exists in a model
      description: Returns header information for a specific user-defined property in the specified model.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: propertyKey
          in: path
          required: true
          description: The key of the user-defined property.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          headers:
            ETag:
              description: The entity tag for the resource.
              schema:
                type: string
    get:
      operationId: getModelUserProperty
      tags:
        - Models
      summary: Get a user-defined property for a model
      description: Returns the specified user-defined property for the specified model.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: propertyKey
          in: path
          required: true
          description: The key of the user-defined property.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          headers:
            Cache-Control:
              description: Controls how the response is cached by the browser.
              schema:
                type: string
            Content-Type:
              description: The media type of the response.
              schema:
                type: string
            ETag:
              description: The entity tag for the resource.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/userProperty"
              examples:
                default:
                  $ref: "#/components/examples/getModelUserProperty"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/userProperty"
              examples:
                default:
                  $ref: "#/components/examples/getModelUserProperty"
        "404":
          description: No model or property exists at the requested path.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/notFoundError"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/notFoundError"
    put:
      operationId: updateModelUserProperty
      tags:
        - Models
      summary: Update a user-defined property for a model
      description: Updates the value of the specified user-defined property within the specified model.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: propertyKey
          in: path
          required: true
          description: The key of the user-defined property.
          schema:
            type: string
        - name: If-Match
          in: header
          required: true
          description: Client must specify the previously pulled ETag as If-Match header.
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/userProperty"
            examples:
              default:
                $ref: "#/components/examples/getModelUserProperty"
          application/vnd.sas.collection+json:
            schema:
              $ref: "#/components/schemas/userProperty"
            examples:
              default:
                $ref: "#/components/examples/getModelUserProperty"
      responses:
        "200":
          description: The property was updated.
          headers:
            ETag:
              description: A tag that identifies the revision of this object.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/userProperty"
              examples:
                default:
                  $ref: "#/components/examples/getModelUserProperty"
            application/json:
              schema:
                $ref: "#/components/schemas/userProperty"
              examples:
                default:
                  $ref: "#/components/examples/getModelUserProperty"
        "400":
          description: The request was invalid.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/badRequest"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/badRequest"
        "404":
          description: No model or property exists at the requested path.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/generalNotFoundError"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/generalNotFoundError"
        "412":
          description: The request precondition failed.
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/preconditionFailed"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/preconditionFailed"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/preconditionFailed"
        "428":
          description: The request requires a precondition header.
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/preconditionRequired"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/preconditionRequired"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/preconditionRequired"
    delete:
      operationId: deleteModelUserProperty
      tags:
        - Models
      summary: Delete a user-defined property from a model
      description: Deletes the specified user-defined property from the specified model.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: propertyKey
          in: path
          required: true
          description: The key of the user-defined property.
          schema:
            type: string
      responses:
        "204":
          description: The property was deleted.
        "404":
          description: No model or property exists at the requested path.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/generalNotFoundError"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/generalNotFoundError"
  "/models/{modelId}/healthMetrics":
    get:
      operationId: getModelHealthMetrics
      tags:
        - Models
      summary: Get model health metrics
      description: Returns the model health metrics for the training data that are associated with the specified model ID and version ID.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: modelVersionId
          in: query
          required: false
          description: The unique identifier for the model version.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded.
          headers:
            Cache-Control:
              description: Controls how the response is cached by the browser.
              schema:
                type: string
            Content-Security-Policy:
              description: The security policy chosen to prevent code execution vulnerabilities.
              schema:
                type: string
            Content-Type:
              description: The media type of the response.
              schema:
                type: string
            Date:
              description: The date of the response.
              schema:
                type: string
                format: date-time
            Expires:
              description: The date after which the response is considered expired.
              schema:
                type: string
                format: date-time
            Pragma:
              description: Used for backward compatibility with HTTP/1.0 caches that do not support the Cache-Control HTTP/1.1 header.
              schema:
                type: string
            Sas-Service-Response-Flag:
              description: A service response flag that is specific to SAS.
              schema:
                type: boolean
            Strict-Transport-Security:
              description: Enforces secure connections to the server by specifying a duration during which browsers should communicate only using HTTPS.
              schema:
                type: string
            Vary:
              description: Specifies headers that a cache should consider when determining if a cached response is valid.
              schema:
                type: string
            X-Content-Type-Options:
              description: Prevents browsers from interpreting files as a different MIME type than what is specified in the `Content-Type` header.
              schema:
                type: string
            X-Xss-Protection:
              description: Configures browser-based cross-site scripting (XSS) filters.
              schema:
                type: string
            Connection:
              description: Controls whether the network connection stays open after the current transaction.
              schema:
                type: string
            Transfer-Encoding:
              description: Specifies how the response is encoded for transfer.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/modelHealthMetricsCollection"
              examples:
                default:
                  $ref: "#/components/examples/getModelHealthMetrics"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelHealthMetricsCollection"
              examples:
                default:
                  $ref: "#/components/examples/getModelHealthMetrics"
        "404":
          description: The file "dmcas_fitstat.json" does not exist for the specific model.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/fileFitstatNotFoundError"
              examples:
                default:
                  $ref: "#/components/examples/fileFitstatNotFoundError"
            application/json:
              schema:
                $ref: "#/components/schemas/fileFitstatNotFoundError"
              examples:
                default:
                  $ref: "#/components/examples/fileFitstatNotFoundError"
  "/models/{modelId}/classificationMatrix":
    get:
      operationId: getClassificationMatrix
      tags:
        - Models
      summary: Get misclassification metrics
      description: Returns the misclassification metrics that are associated with the specified model ID and versionID.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: modelVersionId
          in: query
          required: false
          description: The unique identifier for the model version.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded.
          headers:
            Cache-Control:
              description: Controls how the response is cached by the browser.
              schema:
                type: string
            Content-Security-Policy:
              description: The security policy chosen to prevent code execution vulnerabilities.
              schema:
                type: string
            Content-Type:
              description: The media type of the response.
              schema:
                type: string
            Date:
              description: The date of the response.
              schema:
                type: string
                format: date-time
            Expires:
              description: The date after which the response is considered expired.
              schema:
                type: string
                format: date-time
            Pragma:
              description: Used for backward compatibility with HTTP/1.0 caches that do not support the Cache-Control HTTP/1.1 header.
              schema:
                type: string
            Sas-Service-Response-Flag:
              description: A service response flag that is specific to SAS.
              schema:
                type: boolean
            Strict-Transport-Security:
              description: Enforces secure connections to the server by specifying a duration during which browsers should communicate only using HTTPS.
              schema:
                type: string
            Vary:
              description: Specifies headers that a cache should consider when determining if a cached response is valid.
              schema:
                type: string
            X-Content-Type-Options:
              description: Prevents browsers from interpreting files as a different MIME type than what is specified in the `Content-Type` header.
              schema:
                type: string
            X-Xss-Protection:
              description: Configures browser-based cross-site scripting (XSS) filters.
              schema:
                type: string
            Connection:
              description: Controls whether the network connection stays open after the current transaction.
              schema:
                type: string
            Transfer-Encoding:
              description: Specifies how the response is encoded for transfer.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/classificationMatrix"
              examples:
                default:
                  $ref: "#/components/examples/getClassificationMatrix"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/classificationMatrix"
              examples:
                default:
                  $ref: "#/components/examples/getClassificationMatrix"
        "404":
          description: The file "dmcas_misc.json" does not exist for the specific model.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/fileMiscNotFoundError"
              examples:
                default:
                  $ref: "#/components/examples/fileMiscNotFoundError"
            application/json:
              schema:
                $ref: "#/components/schemas/fileMiscNotFoundError"
              examples:
                default:
                  $ref: "#/components/examples/fileMiscNotFoundError"
  "/models/{modelId}/metrics":
    get:
      operationId: getMetrics
      tags:
        - Models
      summary: Get model metrics
      description: Returns the training, validation, and testing metrics that is associated with the specified model ID and version ID.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: modelVersionId
          in: query
          required: false
          description: The unique identifier for the model version.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded.
          headers:
            Cache-Control:
              description: Controls how the response is cached by the browser.
              schema:
                type: string
            Content-Security-Policy:
              description: The security policy chosen to prevent code execution vulnerabilities.
              schema:
                type: string
            Content-Type:
              description: The media type of the response.
              schema:
                type: string
            Date:
              description: The date of the response.
              schema:
                type: string
                format: date-time
            Expires:
              description: The date after which the response is considered expired.
              schema:
                type: string
                format: date-time
            Pragma:
              description: Used for backward compatibility with HTTP/1.0 caches that do not support the Cache-Control HTTP/1.1 header.
              schema:
                type: string
            Sas-Service-Response-Flag:
              description: A service response flag that is specific to SAS.
              schema:
                type: boolean
            Strict-Transport-Security:
              description: Enforces secure connections to the server by specifying a duration during which browsers should communicate only using HTTPS.
              schema:
                type: string
            Vary:
              description: Specifies headers that a cache should consider when determining if a cached response is valid.
              schema:
                type: string
            X-Content-Type-Options:
              description: Prevents browsers from interpreting files as a different MIME type than what is specified in the `Content-Type` header.
              schema:
                type: string
            X-Xss-Protection:
              description: Configures browser-based cross-site scripting (XSS) filters.
              schema:
                type: string
            Connection:
              description: Controls whether the network connection stays open after the current transaction.
              schema:
                type: string
            Transfer-Encoding:
              description: Specifies how the response is encoded for transfer.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/metricsCollection"
              examples:
                default:
                  $ref: "#/components/examples/getMetrics"
            application/json:
              schema:
                $ref: "#/components/schemas/metricsCollection"
              examples:
                default:
                  $ref: "#/components/examples/getMetrics"
        "404":
          description: The file "dmcas_fitstat.json" does not exist for the specific model.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/fileFitstatNotFoundError"
              examples:
                default:
                  $ref: "#/components/examples/fileFitstatNotFoundError"
            application/json:
              schema:
                $ref: "#/components/schemas/fileFitstatNotFoundError"
              examples:
                default:
                  $ref: "#/components/examples/fileFitstatNotFoundError"
  "/models/{modelId}/generalizability":
    get:
      operationId: getGeneralizability
      tags:
        - Models
      summary: Get generalizability metrics
      description: Returns the generalizability metrics for the specified model ID and version ID.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: modelVersionId
          in: query
          required: false
          description: The unique identifier for the model version.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded.
          headers:
            Cache-Control:
              description: Controls how the response is cached by the browser.
              schema:
                type: string
            Content-Security-Policy:
              description: The security policy chosen to prevent code execution vulnerabilities.
              schema:
                type: string
            Content-Type:
              description: The media type of the response.
              schema:
                type: string
            Date:
              description: The date of the response.
              schema:
                type: string
                format: date-time
            Expires:
              description: The date after which the response is considered expired.
              schema:
                type: string
                format: date-time
            Pragma:
              description: Used for backward compatibility with HTTP/1.0 caches that do not support the Cache-Control HTTP/1.1 header.
              schema:
                type: string
            Sas-Service-Response-Flag:
              description: A service response flag that is specific to SAS.
              schema:
                type: boolean
            Strict-Transport-Security:
              description: Enforces secure connections to the server by specifying a duration during which browsers should communicate only using HTTPS.
              schema:
                type: string
            Vary:
              description: Specifies headers that a cache should consider when determining if a cached response is valid.
              schema:
                type: string
            X-Content-Type-Options:
              description: Prevents browsers from interpreting files as a different MIME type than what is specified in the `Content-Type` header.
              schema:
                type: string
            X-Xss-Protection:
              description: Configures browser-based cross-site scripting (XSS) filters.
              schema:
                type: string
            Connection:
              description: Controls whether the network connection stays open after the current transaction.
              schema:
                type: string
            Transfer-Encoding:
              description: Specifies how the response is encoded for transfer.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/generalizability"
              examples:
                default:
                  $ref: "#/components/examples/getGeneralizability"
            application/json:
              schema:
                $ref: "#/components/schemas/generalizability"
              examples:
                default:
                  $ref: "#/components/examples/getGeneralizability"
        "404":
          description: The file "dmcas_fitstat.json" does not exist for the specific model.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/fileFitstatNotFoundError"
              examples:
                default:
                  $ref: "#/components/examples/fileFitstatNotFoundError"
            application/json:
              schema:
                $ref: "#/components/schemas/fileFitstatNotFoundError"
              examples:
                default:
                  $ref: "#/components/examples/fileFitstatNotFoundError"
  "/models/{modelId}/variableImportance":
    get:
      operationId: getVariableImportance
      tags:
        - Models
      summary: Get variable importance
      description: Returns the variable importance for the model variables that are associated with the specified model ID and versionID.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: modelVersionId
          in: query
          required: false
          description: The unique identifier for the model version.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded.
          headers:
            Cache-Control:
              description: Controls how the response is cached by the browser.
              schema:
                type: string
            Content-Security-Policy:
              description: The security policy chosen to prevent code execution vulnerabilities.
              schema:
                type: string
            Content-Type:
              description: The media type of the response.
              schema:
                type: string
            Date:
              description: The date of the response.
              schema:
                type: string
                format: date-time
            Expires:
              description: The date after which the response is considered expired.
              schema:
                type: string
                format: date-time
            Pragma:
              description: Used for backward compatibility with HTTP/1.0 caches that do not support the Cache-Control HTTP/1.1 header.
              schema:
                type: string
            Sas-Service-Response-Flag:
              description: A service response flag that is specific to SAS.
              schema:
                type: boolean
            Strict-Transport-Security:
              description: Enforces secure connections to the server by specifying a duration during which browsers should communicate only using HTTPS.
              schema:
                type: string
            Vary:
              description: Specifies headers that a cache should consider when determining if a cached response is valid.
              schema:
                type: string
            X-Content-Type-Options:
              description: Prevents browsers from interpreting files as a different media type than what is specified in the `Content-Type` header.
              schema:
                type: string
            X-Xss-Protection:
              description: Configures browser-based cross-site scripting (XSS) filters.
              schema:
                type: string
            Connection:
              description: Controls whether the network connection stays open after the current transaction.
              schema:
                type: string
            Transfer-Encoding:
              description: Specifies how the response is encoded for transfer.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/variableImportanceCollection"
              examples:
                default:
                  $ref: "#/components/examples/getVariableImportance"
            application/json:
              schema:
                $ref: "#/components/schemas/variableImportanceCollection"
              examples:
                default:
                  $ref: "#/components/examples/getVariableImportance"
        "404":
          description: The file "dmcas_relativeimportance.json" does not exist for the specific model.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/fileRelativeImportanceNotFoundError"
              examples:
                default:
                  $ref: "#/components/examples/fileRelativeImportanceNotFoundError"
            application/json:
              schema:
                $ref: "#/components/schemas/fileRelativeImportanceNotFoundError"
              examples:
                default:
                  $ref: "#/components/examples/fileRelativeImportanceNotFoundError"
  "/models/{modelId}/fairnessMetrics":
    get:
      operationId: getFairnessMetrics
      tags:
        - Models
      summary: Get fairness metrics
      description: Returns the fairness metrics that are associated with the specified model ID and version ID.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: modelVersionId
          in: query
          required: false
          description: The unique identifier for the model version.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded.
          headers:
            Cache-Control:
              description: Controls how the response is cached by the browser.
              schema:
                type: string
            Content-Security-Policy:
              description: The security policy chosen to prevent code execution vulnerabilities.
              schema:
                type: string
            Content-Type:
              description: The media type of the response.
              schema:
                type: string
            Date:
              description: The date of the response.
              schema:
                type: string
                format: date-time
            Expires:
              description: The date after which the response is considered expired.
              schema:
                type: string
                format: date-time
            Pragma:
              description: Used for backward compatibility with HTTP/1.0 caches that do not support the Cache-Control HTTP/1.1 header.
              schema:
                type: string
            Sas-Service-Response-Flag:
              description: A service response flag that is specific to SAS.
              schema:
                type: boolean
            Strict-Transport-Security:
              description: Enforces secure connections to the server by specifying a duration during which browsers should communicate only using HTTPS.
              schema:
                type: string
            Vary:
              description: Specifies headers that a cache should consider when determining if a cached response is valid.
              schema:
                type: string
            X-Content-Type-Options:
              description: Prevents browsers from interpreting files as a different MIME type than what is specified in the `Content-Type` header.
              schema:
                type: string
            X-Xss-Protection:
              description: Configures browser-based cross-site scripting (XSS) filters.
              schema:
                type: string
            Connection:
              description: Controls whether the network connection stays open after the current transaction.
              schema:
                type: string
            Transfer-Encoding:
              description: Specifies how the response is encoded for transfer.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/fairnessMetricsCollection"
              examples:
                default:
                  $ref: "#/components/examples/getFairnessMetrics"
            application/json:
              schema:
                $ref: "#/components/schemas/fairnessMetricsCollection"
              examples:
                default:
                  $ref: "#/components/examples/getFairnessMetrics"
        "404":
          description: No model exists at the requested path.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/notFoundError"
              examples:
                default:
                  $ref: "#/components/examples/notFoundError"
            application/json:
              schema:
                $ref: "#/components/schemas/notFoundError"
              examples:
                default:
                  $ref: "#/components/examples/notFoundError"
  "/models/{modelId}/liftData":
    get:
      operationId: getLiftData
      tags:
        - Models
      summary: Get lift statistics
      description: Returns the lift statistics that are associated with the specified model ID and version ID.
      parameters:
        - name: modelId
          in: path
          required: true
          description: The unique identifier for the model.
          schema:
            type: string
        - name: modelVersionId
          in: query
          required: false
          description: The unique identifier for the model version.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded.
          headers:
            Cache-Control:
              description: Controls how the response is cached by the browser.
              schema:
                type: string
            Content-Security-Policy:
              description: The security policy chosen to prevent code execution vulnerabilities.
              schema:
                type: string
            Content-Type:
              description: The media type of the response.
              schema:
                type: string
            Date:
              description: The date of the response.
              schema:
                type: string
                format: date-time
            Expires:
              description: The date after which the response is considered expired.
              schema:
                type: string
                format: date-time
            Pragma:
              description: Used for backward compatibility with HTTP/1.0 caches that do not support the Cache-Control HTTP/1.1 header.
              schema:
                type: string
            Sas-Service-Response-Flag:
              description: A service response flag that is specific to SAS.
              schema:
                type: boolean
            Strict-Transport-Security:
              description: Enforces secure connections to the server by specifying a duration during which browsers should communicate only using HTTPS.
              schema:
                type: string
            Vary:
              description: Specifies headers that a cache should consider when determining if a cached response is valid.
              schema:
                type: string
            X-Content-Type-Options:
              description: Prevents browsers from interpreting files as a different MIME type than what is specified in the `Content-Type` header.
              schema:
                type: string
            X-Xss-Protection:
              description: Configures browser-based cross-site scripting (XSS) filters.
              schema:
                type: string
            Connection:
              description: Controls whether the network connection stays open after the current transaction.
              schema:
                type: string
            Transfer-Encoding:
              description: Specifies how the response is encoded for transfer.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/liftData"
              examples:
                default:
                  $ref: "#/components/examples/getLiftData"
            application/json:
              schema:
                $ref: "#/components/schemas/liftData"
              examples:
                default:
                  $ref: "#/components/examples/getLiftData"
        "404":
          description: No model exists at the requested path.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/notFoundError"
              examples:
                default:
                  $ref: "#/components/examples/notFoundError"
            application/json:
              schema:
                $ref: "#/components/schemas/notFoundError"
              examples:
                default:
                  $ref: "#/components/examples/notFoundError"
  /repositories:
    head:
      operationId: headersForRepositories
      tags:
        - Repositories
      summary: Check if repositories exist
      description: Returns a list of header information for repositories. Also used to determine whether repositories exist.
      parameters:
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 10
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the repository. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering). For example, ?filter=eq(name, a repository name) returns the repository by name.
          schema:
            type: string
            format: filter-criteria
        - name: sortBy
          in: query
          required: false
          description: The criteria for sorting the models. For more information, see [Sorting in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#sorting).
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelRepositoryCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelRepositoryCollection"
    get:
      operationId: getRepositories
      tags:
        - Repositories
      summary: Get a list of repositories
      description: Returns a paginated list of repositories.
      parameters:
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 10
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the repository. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering). For example, ?filter=eq(name, a repository name) returns the repository by name.
          schema:
            type: string
            format: filter-criteria
        - name: sortBy
          in: query
          required: false
          description: The criteria for sorting the models. For more information, see [Sorting in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#sorting).
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelRepositoryCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelRepositoryCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    post:
      operationId: createRepository
      tags:
        - Repositories
      summary: Create a repository
      description: Creates a new repository. The Model Repository service supports multiple repositories to manage models.
      requestBody:
        content:
          application/vnd.sas.models.repository:
            schema:
              $ref: "#/components/schemas/modelRepository"
          application/json:
            schema:
              $ref: "#/components/schemas/modelRepository"
        description: The representation of a new model repository.
      responses:
        "201":
          description: The request has been fulfilled and resulted in a new resource being created.
          headers:
            Location:
              description: "For example: /modelRepository/repositories/{id}"
              schema:
                type: string
            ETag:
              description: A tag that identifies the revision of this object.
              schema:
                type: string
          content:
            application/vnd.sas.models.repository+json:
              schema:
                $ref: "#/components/schemas/modelRepository"
            application/json:
              schema:
                $ref: "#/components/schemas/modelRepository"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.repository+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/repositories/{repositoryId}":
    get:
      operationId: getRepository
      tags:
        - Repositories
      summary: Get a repository
      description: Returns the repository information for the specified repository ID.
      parameters:
        - name: repositoryId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: The repository information was returned.
          headers:
            ETag:
              description: A tag that identifies the revision of this object.
              schema:
                type: string
          content:
            application/vnd.sas.models.repository+json:
              schema:
                $ref: "#/components/schemas/modelRepository"
            application/json:
              schema:
                $ref: "#/components/schemas/modelRepository"
        "404":
          description: No repository exists at the requested path.
          content:
            application/vnd.sas.models.repository+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    put:
      operationId: updateRepository
      tags:
        - Repositories
      summary: Update a repository
      description: Updates the repository information for the specified repository ID. This information includes the name and description of the repository.
      parameters:
        - name: If-Match
          in: header
          description: The entity tag obtained from the most recent `ETag` response header. Must match the current entity tag for the repository.
          schema:
            type: string
        - name: repositoryId
          in: path
          required: true
          description: The unique identifier for the repository.
          schema:
            type: string
      requestBody:
        content:
          application/vnd.sas.models.repository:
            schema:
              $ref: "#/components/schemas/modelRepository"
          application/json:
            schema:
              $ref: "#/components/schemas/modelRepository"
        description: The representation of the updates for the model repository.
      responses:
        "200":
          description: The request succeeded. The repository was updated.
          headers:
            Etag:
              description: The entity tag of the repository.
              schema:
                type: string
          content:
            application/vnd.sas.models.repository+json:
              schema:
                $ref: "#/components/schemas/modelRepository"
            application/json:
              schema:
                $ref: "#/components/schemas/modelRepository"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.repository+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No repository exists at the requested path.
          content:
            application/vnd.sas.models.repository+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "412":
          description: The `If-Match` request header did not match the resource's entity tag, or the `If-Unmodified-Since` request header did not match the resource's last modified timestamp.
          content:
            application/vnd.sas.models.repository+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "428":
          description: The request headers did not include a `If-Match` or `If-Unmodified-Since` precondition.
          content:
            application/vnd.sas.models.repository+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    delete:
      operationId: deleteRepository
      tags:
        - Repositories
      summary: Delete a repository
      description: Deletes the repository with the specified repository ID.
      parameters:
        - name: repositoryId
          in: path
          required: true
          schema:
            type: string
      responses:
        "204":
          description: The repository was deleted.
        "404":
          description: No repository exists at the requested path.
          content:
            "*/*":
              schema:
                $ref: "#/components/schemas/error2"
  /projects:
    head:
      operationId: headersForProjects
      tags:
        - Projects
      summary: Check if projects exist
      description: Returns a paginated list of header information for projects that are within the common model repository. Also used to determine whether projects exist.
      parameters:
        - name: name
          in: query
          required: false
          description: A query string that allows a search by name to find projects.
          schema:
            type: string
            format: sort-criteria
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 10
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the models. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering).
          schema:
            type: string
            format: filter-criteria
        - name: sortBy
          in: query
          required: false
          description: The criteria for sorting the projects. For more information, see [Sorting in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#sorting).
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelProjectCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelProjectCollection"
    get:
      operationId: getProjects
      tags:
        - Projects
      summary: Get a list of projects
      description: Returns a paginated list of projects that are within the common model repository.
      parameters:
        - name: name
          in: query
          required: false
          description: A query string that allows a search by name to find projects.
          schema:
            type: string
            format: sort-criteria
        - name: inputVariables
          in: query
          required: false
          description: A query string that allows a search for projects with input variables.
          schema:
            type: string
        - name: outputVariables
          in: query
          required: false
          description: A query string that allows a search for projects with output variables.
          schema:
            type: string
        - name: properties
          in: query
          required: false
          description: A query string that allows a search for projects with user-defined properties
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: >
            The maximum number of items to return in this request.  

            The maximum value that can be specified is 1000.  


            __Note:__ The maximum value for the limit parameter was added with the 2026.07 release.
          schema:
            type: integer
            format: int32
            default: 20
            maximum: 1000
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the models. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering).
          schema:
            type: string
            format: filter-criteria
        - name: sortBy
          in: query
          required: false
          description: The criteria for sorting the projects. For more information, see [Sorting in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#sorting).
          schema:
            type: string
        - name: expand
          in: query
          required: false
          description: Specifies additional information to include in the response. Use `count` to include the number of project versions and models for each project.
          schema:
            type: string
        - name: includeChampionModel
          in: query
          required: false
          description: Specifies whether to include the champion model ID in the response. When set to true, the `championModelId` parameter is included for each project.
          schema:
            type: boolean
            default: false
      responses:
        "200":
          description: The request succeeded.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelProjectCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelProjectCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    post:
      operationId: createProject
      tags:
        - Projects
      summary: Create a project
      description: Creates a project associated with the specified path or folder.
      requestBody:
        content:
          application/vnd.sas.models.project:
            schema:
              $ref: "#/components/schemas/modelProject"
          application/json:
            schema:
              $ref: "#/components/schemas/modelProject"
        description: The representation of a new project.
      responses:
        "201":
          description: A project was created.
          headers:
            Location:
              description: /modelRepository/projects/{projectId}
              schema:
                type: string
            ETag:
              description: The entity tag for the project.
              schema:
                type: string
          content:
            application/vnd.sas.models.project+json:
              schema:
                $ref: "#/components/schemas/modelProject"
            application/json:
              schema:
                $ref: "#/components/schemas/modelProject"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.project+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/projects/{projectId}":
    get:
      operationId: getProject
      tags:
        - Projects
      summary: Get a project
      description: Returns the project information for the specified project ID.
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The project information was returned.
          headers:
            ETag:
              description: The entity tag for the project.
              schema:
                type: string
          content:
            application/vnd.sas.models.project+json:
              schema:
                $ref: "#/components/schemas/modelProject"
            application/vnd.sas.models.project.summary+json:
              schema:
                $ref: "#/components/schemas/modelProject"
            application/json:
              schema:
                $ref: "#/components/schemas/modelProject"
        "404":
          description: No project exists at the requested path.
          content:
            application/vnd.sas.models.project:
              schema:
                $ref: "#/components/schemas/error2"
            application/vnd.sas.models.project.summary:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    put:
      operationId: updateProject
      tags:
        - Projects
      summary: Update a project
      description: Updates the information for the project that matches the specified criteria and project ID.
      parameters:
        - name: If-Match
          in: header
          description: The entity tag obtained from the most recent `ETag` response header. Must match the current entity tag for the project.
          schema:
            type: string
        - name: projectId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/vnd.sas.models.project+json:
            schema:
              $ref: "#/components/schemas/modelProject"
          application/json:
            schema:
              $ref: "#/components/schemas/modelProject"
        description: The representation of the updates for a project.
      responses:
        "200":
          description: The request succeeded. The project was updated.
          headers:
            Etag:
              description: The entity tag for the project.
              schema:
                type: string
          content:
            application/vnd.sas.models.project+json:
              schema:
                $ref: "#/components/schemas/modelProject"
            application/json:
              schema:
                $ref: "#/components/schemas/modelProject"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.project+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No project exists at the requested path.
          content:
            application/vnd.sas.models.project+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "412":
          description: The `If-Match` request header did not match the resource's entity tag, or the `If-Unmodified-Since` request header did not match the resource's last modified timestamp.
          content:
            application/vnd.sas.models.project+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "428":
          description: The request headers did not include a `If-Match` or `If-Unmodified-Since` precondition.
          content:
            application/vnd.sas.models.project+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    delete:
      operationId: deleteProject
      tags:
        - Projects
      summary: Delete a project
      description: Deletes the project with the specified ID from the common model repository.
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
      responses:
        "204":
          description: The project was deleted.
        "404":
          description: No project exists at the requested path.
          content:
            "*/*":
              schema:
                $ref: "#/components/schemas/error2"
  "/projects/{projectId}/champion":
    get:
      operationId: getProjectChampionModel
      tags:
        - Projects
      summary: Get the project champion model
      description: Returns the champion model for the specified project ID. If a project champion has not been set, an error message is returned. The error message is "No model is currently set as the project champion."
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The project champion model was returned.
          headers:
            ETag:
              description: The entity tag for the project champion model.
              schema:
                type: string
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/model"
              examples:
                default:
                  $ref: "#/components/examples/getChampionResponse"
            application/json:
              schema:
                $ref: "#/components/schemas/model"
              examples:
                default:
                  $ref: "#/components/examples/getChampionResponse"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No model exists at the requested path.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    post:
      operationId: setProjectChampion
      tags:
        - Projects
      summary: Set a project champion model
      description: Sets the model role to champion for the specified project ID and model ID.
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
        - name: modelId
          in: query
          description: The unique identifier for the model.
          schema:
            type: string
      responses:
        "200":
          description: The model was set as the project champion.
          headers:
            ETag:
              description: The entity tag for the model.
              schema:
                type: string
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/model"
            application/json:
              schema:
                $ref: "#/components/schemas/model"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: If there is not a champion set for the project. The error message is "No model is currently set as the project champion." If there is invalid project ID, the error message is "The project ID is not valid."
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    delete:
      operationId: deleteProjectChampion
      tags:
        - Projects
      summary: Clear a project champion model
      description: Clears the champion model for the specified project ID.
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
      responses:
        "204":
          description: The project champion model was cleared.
        "400":
          description: The request was invalid.
          content:
            "*/*":
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No model exists at the requested path.
          content:
            "*/*":
              schema:
                $ref: "#/components/schemas/error2"
  "/projects/{projectId}/champion/code":
    get:
      operationId: getProjectChampionCode
      tags:
        - Projects
      summary: Get the champion model score code
      description: "Returns the score code for the project champion model in these formats: ds2package, ds2, application/json, raw, and text/plain."
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The champion model score code was returned.
          headers:
            ETag:
              description: The entity tag for the model score code.
              schema:
                type: string
          content:
            text/vnd.sas.models.score.code.ds2package:
              schema:
                type: object
                format: ds2package
              examples:
                default:
                  $ref: "#/components/examples/getChampionScoreCodeDS2PackageResponse"
            text/vnd.sas.models.score.code.ds2:
              schema:
                type: object
                format: ds2
              examples:
                default:
                  $ref: "#/components/examples/getChampionScoreCodeResponse"
            text/vnd.sas.models.score.code.raw:
              schema:
                type: object
              examples:
                default:
                  $ref: "#/components/examples/getChampionScoreCodeResponse"
            text/plain:
              schema:
                type: object
              examples:
                default:
                  $ref: "#/components/examples/getChampionScoreCodeResponse"
            application/json:
              schema:
                type: object
              examples:
                default:
                  $ref: "#/components/examples/getChampionScoreCodeResponse"
        "400":
          description: The request was invalid.
          content:
            text/vnd.sas.models.score.code.ds2package:
              schema:
                $ref: "#/components/schemas/error2"
            text/vnd.sas.models.score.code.ds2:
              schema:
                $ref: "#/components/schemas/error2"
            text/vnd.sas.models.score.code.raw:
              schema:
                $ref: "#/components/schemas/error2"
            text/plain:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No model score code exists at the requested path.
          content:
            text/vnd.sas.models.score.code.ds2package:
              schema:
                $ref: "#/components/schemas/error2"
            text/vnd.sas.models.score.code.ds2:
              schema:
                $ref: "#/components/schemas/error2"
            text/vnd.sas.models.score.code.raw:
              schema:
                $ref: "#/components/schemas/error2"
            text/plain:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/projects/{projectId}/challengers":
    get:
      operationId: getProjectChallengers
      tags:
        - Projects
      summary: Get a list of challenger models
      description: Returns a list of models for the specified project ID that have a model role of challenger.
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The list of project challenger models was returned successfully.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No challenger models exists at the requested path.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    post:
      operationId: setProjectChallenger
      tags:
        - Projects
      summary: Set a model as a challenger
      description: Sets the model role as challenger for the model that is associated with the specified project ID and model ID. A project can have no challengers, as well as one or more challengers. The challenger is added to the challengers list.
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
        - name: modelId
          in: query
          description: description
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The model was set as a project challenger model.
          headers:
            ETag:
              description: The entity tag for the model.
              schema:
                type: string
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/model"
            application/json:
              schema:
                $ref: "#/components/schemas/model"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No model exists at the requested path.
          content:
            application/vnd.sas.models.model+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    delete:
      operationId: deleteUnsetProjectChallengers
      tags:
        - Projects
      summary: Clear project challenger models
      description: Clears the challenger models for the specified project ID.
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
      responses:
        "204":
          description: The project challenger models were cleared.
        "400":
          description: The request was invalid.
          content:
            "*/*":
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No project challenger models exits at the requested path.
          content:
            "*/*":
              schema:
                $ref: "#/components/schemas/error2"
  "/projects/{projectId}/models":
    head:
      operationId: headersForProjectModels
      tags:
        - Projects
      summary: Check if models exist within a project
      description: Returns a list of header information for models associated with the specified project ID. Also used to determine whether models exist.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: name
          in: query
          required: false
          description: A query string that allows a search by name to find models in a project.
          schema:
            type: string
            format: sort-criteria
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the models. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering).
          schema:
            type: string
            format: filter-criteria
        - name: sortBy
          in: query
          required: false
          description: The criteria for sorting the projects. For more information, see [Sorting in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#sorting)
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelCollection"
    get:
      operationId: getProjectModels
      tags:
        - Projects
      summary: Get a list of models within a project
      description: Returns a list of models for the specified project ID.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: name
          in: query
          required: false
          description: A query string that allows a search by name to find models in a project.
          schema:
            type: string
            format: sort-criteria
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the models. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering).
          schema:
            type: string
            format: filter-criteria
        - name: sortBy
          in: query
          required: false
          description: The criteria for sorting the projects. For more information, see [Sorting in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#sorting)
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/projects/{projectId}/projectVersions":
    head:
      operationId: headersForProjectVersions
      tags:
        - Projects
      summary: Check if project versions exist
      description: Returns a list of header information for the project versions that are associated with the specified project ID. Also used to determine whether project versions exist.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: name
          in: query
          required: false
          description: A query string that allows a search by name to find models in a project.
          schema:
            type: string
            format: sort-criteria
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the models. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering).
          schema:
            type: string
            format: filter-criteria
        - name: sortBy
          in: query
          required: false
          description: The criteria for sorting the projects. For more information, see [Sorting in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#sorting).
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/baseCollection2"
            application/json:
              schema:
                $ref: "#/components/schemas/baseCollection2"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    get:
      operationId: getProjectVersions
      tags:
        - Projects
      summary: Get a list of project versions
      description: Returns a list of project versions for the specified project ID.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: name
          in: query
          required: false
          description: A query string that allows a search by name to find models in a project.
          schema:
            type: string
            format: sort-criteria
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the models. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering).
          schema:
            type: string
            format: filter-criteria
        - name: sortBy
          in: query
          required: false
          description: The criteria for sorting the projects. For more information, see [Sorting in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#sorting).
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelProjectVersionCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelProjectVersionCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    post:
      operationId: createProjectVersion
      tags:
        - Projects
      summary: Create a project version
      description: Creates a new project version for the specified project ID.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
      requestBody:
        content:
          application/vnd.sas.models.project.version+json:
            schema:
              $ref: "#/components/schemas/versionInformation"
          application/json:
            schema:
              $ref: "#/components/schemas/versionInformation"
        description: The representation of a new project version.
      responses:
        "201":
          description: The project version was created.
          headers:
            Location:
              description: /modelRepository/projects/{projectId}/projectVersions/{versionId}
              schema:
                type: string
            ETag:
              description: The entity tag for the project version.
              schema:
                type: string
          content:
            application/vnd.sas.models.project.version+json:
              schema:
                $ref: "#/components/schemas/modelProjectVersion"
            application/json:
              schema:
                $ref: "#/components/schemas/modelProjectVersion"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.project.version+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/projects/{projectId}/projectVersions/{versionId}":
    get:
      operationId: getProjectVersion
      tags:
        - Projects
      summary: Get a project version
      description: Returns the information for the project version that is associated with the specified version ID.
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
        - name: versionId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The project version was returned.
          headers:
            ETag:
              description: The entity tag for the project version.
              schema:
                type: string
          content:
            application/vnd.sas.models.project.version+json:
              schema:
                $ref: "#/components/schemas/modelProjectVersion"
            application/json:
              schema:
                $ref: "#/components/schemas/modelProjectVersion"
        "404":
          description: No project version exists at the requested path.
          content:
            application/vnd.sas.models.project.version+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    put:
      operationId: updateProjectVersion
      tags:
        - Projects
      summary: Update a project version
      description: Updates the project version that is associated with the specified version ID.
      parameters:
        - name: If-Match
          in: header
          description: The entity tag obtained from the most recent `ETag` response header. Must match the current entity tag for the project version.
          schema:
            type: string
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: versionId
          in: path
          required: true
          description: The unique identifier for the project version.
          schema:
            type: string
      requestBody:
        content:
          application/vnd.sas.models.project.version+json:
            schema:
              $ref: "#/components/schemas/versionInformation"
          application/json:
            schema:
              $ref: "#/components/schemas/versionInformation"
        description: The representation of the project version.
      responses:
        "200":
          description: The request succeeded. The project version was updated.
          headers:
            Etag:
              description: The entity tag of the project version.
              schema:
                type: string
          content:
            application/vnd.sas.models.project.version+json:
              schema:
                $ref: "#/components/schemas/modelProjectVersion"
            application/json:
              schema:
                $ref: "#/components/schemas/modelProjectVersion"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.project.version+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No project version exists at the requested path.
          content:
            application/vnd.sas.models.project.version+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "412":
          description: The `If-Match` request header did not match the resource's entity tag, or the `If-Unmodified-Since` request header did not match the resource's last modified timestamp.
          content:
            application/vnd.sas.models.project.version+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "428":
          description: The request headers did not include a `If-Match` or `If-Unmodified-Since` precondition.
          content:
            application/vnd.sas.models.project.version+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    delete:
      operationId: deleteProjectVersion
      tags:
        - Projects
      summary: Delete a project version
      description: Deletes the project version that is associated with the specified version ID.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: versionId
          in: path
          required: true
          description: The unique identifier for the project version.
          schema:
            type: string
      responses:
        "204":
          description: The project version was deleted.
        "404":
          description: No project exists at the requested path.
          content:
            "*/*":
              schema:
                $ref: "#/components/schemas/error2"
  "/projects/{projectId}/projectVersions/{versionId}/models":
    head:
      operationId: headersForProjectVersionModels
      tags:
        - Projects
      summary: Check if models exist within a project version
      description: Returns a list of header information for the models that are within the project version and that are associated with the specified version ID.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: versionId
          in: path
          required: true
          description: The unique identifier for the project version.
          schema:
            type: string
        - name: name
          in: query
          required: false
          description: A query string that allows a search by name to find models in a project.
          schema:
            type: string
            format: sort-criteria
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the models. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering).
          schema:
            type: string
            format: filter-criteria
        - name: sortBy
          in: query
          required: false
          description: The criteria for sorting the projects. For more information, see [Sorting in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#sorting).
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          headers:
            ETag:
              description: The entity tag for the project version.
              schema:
                type: string
    get:
      operationId: getProjectVersionModels
      tags:
        - Projects
      summary: Get a list of models within a project version
      description: Returns a list of models within the project version that is associated with the specified version ID.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: versionId
          in: path
          required: true
          description: The unique identifier for the project version.
          schema:
            type: string
        - name: name
          in: query
          required: false
          description: A query string that allows a search by name to find models in a project.
          schema:
            type: string
            format: sort-criteria
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the models. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering).
          schema:
            type: string
            format: filter-criteria
        - name: sortBy
          in: query
          required: false
          description: The criteria for sorting the projects. For more information, see [Sorting in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#sorting).
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          headers:
            ETag:
              description: The entity tag for the project version.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/modelCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/modelCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/projects/{projectId}/variables":
    head:
      operationId: headersForProjectVariables
      tags:
        - Projects
      summary: Check if project variables exist
      description: Returns the header information for the project input variables and output variables that are associated with the specified project ID. Also used to determine whether project variables exist.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: name
          in: query
          required: false
          description: A query string that allows a search by name to find a variable in a project.
          schema:
            type: string
            format: sort-criteria
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the projects. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering).
          schema:
            type: string
            format: filter-criteria
        - name: sortBy
          in: query
          required: false
          description: The criteria for sorting the projects. For more information, see [Sorting in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#sorting).
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/variableCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/variableCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    get:
      operationId: getProjectVariables
      tags:
        - Projects
      summary: Get project variables
      description: Returns the input variables and output variables for the project that is associated with the specified project ID.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: name
          in: query
          required: false
          description: A query string that allows a search by name to find a variable in a project.
          schema:
            type: string
            format: sort-criteria
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the projects. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering).
          schema:
            type: string
            format: filter-criteria
        - name: sortBy
          in: query
          required: false
          description: The criteria for sorting the projects. For more information, see [Sorting in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#sorting).
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/variableCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/variableCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    post:
      operationId: createProjectVariable
      tags:
        - Projects
      summary: Add project variables
      description: Adds one or more variables to the project that is associated with the specified project ID.
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/vnd.sas.models.variable:
            schema:
              $ref: "#/components/schemas/variable"
          application/json:
            schema:
              $ref: "#/components/schemas/variable"
        description: The representation of the new project variable.
      responses:
        "201":
          description: A project variable was added.
          headers:
            Location:
              description: /modelRepository/projects/{projectId}/variables/{versionId}
              schema:
                type: string
            ETag:
              description: The entity tag for the project variable.
              schema:
                type: string
          content:
            application/vnd.sas.models.variable+json:
              schema:
                $ref: "#/components/schemas/variable"
            application/json:
              schema:
                $ref: "#/components/schemas/variable"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.variable+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/projects/{projectId}/variables/{variableId}":
    get:
      operationId: getProjectVariable
      tags:
        - Projects
      summary: Get a project variable
      description: Returns the project variable associated with the specified project ID and variable ID.
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
        - name: variableId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The project variable was returned.
          headers:
            ETag:
              description: The entity tag of the project variable.
              schema:
                type: string
          content:
            application/vnd.sas.models.variable+json:
              schema:
                $ref: "#/components/schemas/variable"
            application/json:
              schema:
                $ref: "#/components/schemas/variable"
        "404":
          description: No project variable exists at the requested path
          content:
            application/vnd.sas.models.variable+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    put:
      operationId: updateProjectVariable
      tags:
        - Projects
      summary: Update a project variable
      description: Updates the project variable that is associated with the specified project ID and variable ID.
      parameters:
        - name: If-Match
          in: header
          description: The entity tag obtained from the most recent `ETag` response header. Must match the current entity tag for the project variable.
          schema:
            type: string
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: variableId
          in: path
          required: true
          description: The unique identifier for the project variable.
          schema:
            type: string
      requestBody:
        content:
          application/vnd.sas.models.variable+json:
            schema:
              $ref: "#/components/schemas/variable"
          application/json:
            schema:
              $ref: "#/components/schemas/variable"
        description: The representation of the updated project variable.
      responses:
        "200":
          description: The request succeeded. The project variable was updated.
          headers:
            Etag:
              description: The entity tag for the project variable.
              schema:
                type: string
          content:
            application/vnd.sas.models.variable+json:
              schema:
                $ref: "#/components/schemas/variable"
            application/json:
              schema:
                $ref: "#/components/schemas/variable"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.models.variable+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No project variable exists at the requested path.
          content:
            application/vnd.sas.models.variable+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "412":
          description: The `If-Match` request header did not match the resource's entity tag, or the `If-Unmodified-Since` request header did not match the resource's last modified timestamp.
          content:
            application/vnd.sas.models.variable+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "428":
          description: The request headers did not include a `If-Match` or `If-Unmodified-Since` precondition.
          content:
            application/vnd.sas.models.variable+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    delete:
      operationId: deleteProjectVariable
      tags:
        - Projects
      summary: Delete a project variable
      description: Deletes the project variable associated with the specified project ID and variable ID.
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
        - name: variableId
          in: path
          required: true
          schema:
            type: string
      responses:
        "204":
          description: The project variable was deleted.
        "404":
          description: No project exists at the requested path.
          content:
            "*/*":
              schema:
                $ref: "#/components/schemas/error2"
  "/projects/{projectId}/contents":
    get:
      operationId: getProjectContents
      tags:
        - Projects
      summary: Get project contents
      description: Returns the project contents associated with the specified project ID. Each entry is of the media type application/vnd.sas.models.project.content.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded. The contents of the project was returned.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/projectContentCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/projectContentCollection"
    post:
      operationId: createProjectContent
      tags:
        - Projects
      summary: Add project content
      description: Adds the content to the project that is associated with the specified project ID.
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
      responses:
        "201":
          description: The request succeeded. The project content was added.
          headers:
            Location:
              description: /modelRepository/projects/{projectId}/contents
              schema:
                type: string
            ETag:
              description: The entity tag for the project contents.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/projectContentCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/projectContentCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No project exists at the requested path.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/projects/{projectId}/contents/{contentId}":
    get:
      operationId: getProjectContentMetadata
      tags:
        - Projects
      summary: Get project content metadata
      description: Returns the metadata information for the project content that is associated with the specified project ID and content ID.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: contentId
          in: path
          required: true
          description: The unique identifier for the project content.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The project content metadata information was returned.
          headers:
            ETag:
              description: The entity tag for the project content.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/projectContent"
        "404":
          description: No project content exists at the requested path.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    put:
      operationId: updateProjectContentMetadata
      tags:
        - Projects
      summary: Update project content metadata
      description: Updates the metadata information for the project content that is associated with the specified model ID and content ID.
      parameters:
        - name: If-Match
          in: header
          description: The entity tag obtained from the most recent `ETag` response header. Must match the current entity tag for the project content.
          schema:
            type: string
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: contentId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The metadata information for the project content was updated.
          headers:
            Etag:
              description: The entity tag for the project content.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/projectContent"
        "400":
          description: The request was invalid.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No project or content exists at the requested path.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "412":
          description: The `If-Match` request header did not match the resource's entity tag, or the `If-Unmodified-Since` request header did not match the resource's last modified timestamp.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "428":
          description: The request headers did not include a `If-Match` or `If-Unmodified-Since` precondition.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
    delete:
      operationId: deleteProjectContent
      tags:
        - Projects
      summary: Delete project contents
      description: Deletes the contents of the project that is associated with the specified project ID and content ID.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: contentId
          in: path
          required: true
          description: The unique identifier for the project content.
          schema:
            type: string
      responses:
        "204":
          description: The project contents was deleted.
        "404":
          description: No project contents exist at the requested path.
          content:
            "*/*":
              schema:
                $ref: "#/components/schemas/error2"
  "/projects/{projectId}/contents/{contentId}/content":
    get:
      operationId: getProjectContent
      tags:
        - Projects
      summary: Get project content
      description: Returns the project content that is associated with the specified project ID and content ID.
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
        - name: contentId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: The project content was returned successfully.
          headers:
            ETag:
              description: A tag that identifies the revision of this object.
              schema:
                type: string
        "404":
          description: project or content not found
          content:
            text/plain:
              schema:
                $ref: "#/components/schemas/error2"
            application/octet-stream:
              schema:
                $ref: "#/components/schemas/error2"
    put:
      operationId: updateProjectContent
      tags:
        - Projects
      summary: Update project content
      description: Updates the project content that is associated with the specified project ID and content ID.
      parameters:
        - name: If-Match
          in: header
          required: true
          description: The entity tag obtained from the most recent `ETag` response header. Must match the current entity tag for the project content.
          schema:
            type: string
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: contentId
          in: path
          required: true
          description: The unique identifier for the project content.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The project content was updated.
          headers:
            Etag:
              description: The entity tag for the project content.
              schema:
                type: string
        "400":
          description: The request was invalid.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "404":
          description: No project content exists at the requested path.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "412":
          description: The `If-Match` request header did not match the resource's entity tag, or the `If-Unmodified-Since` request header did not match the resource's last modified timestamp.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
        "428":
          description: The request headers did not include a `If-Match` or `If-Unmodified-Since` precondition.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  "/projects/{projectId}/history":
    get:
      operationId: getProjectHistory
      tags:
        - Projects
      summary: Get a project's history
      description: Returns the project's key historical events.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: If-None-Match
          in: header
          required: false
          description: The entity tag obtained from the most recent ETag response header.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded. The project's key historical events were returned.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/projectHistoricalActionCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/projectHistoricalActionCollection"
  "/projects/{projectId}/userProperties":
    head:
      operationId: headersForProjectUserProperties
      tags:
        - Projects
      summary: Check if project user-defined properties exist
      description: Returns the header information for the user-defined properties that are associated with the specified project ID. Also used to determine whether project user-defined properties exist.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: If-None-Match
          in: header
          required: false
          description: The entity tag obtained from the most recent ETag response header.
          schema:
            type: string
        - name: name
          in: query
          required: false
          description: Filter by property name.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the user-defined properties.
          schema:
            type: string
            format: filter-criteria
      responses:
        "200":
          description: The request succeeded.
          headers:
            ETag:
              description: The entity tag for the collection.
              schema:
                type: string
    get:
      operationId: getProjectUserPropertiesForProject
      tags:
        - Projects
      summary: Get user-defined properties for a project
      description: Returns the user-defined properties for the specified project.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: If-None-Match
          in: header
          required: false
          description: The entity tag obtained from the most recent ETag response header.
          schema:
            type: string
        - name: name
          in: query
          required: false
          description: Filter by property name.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the user-defined properties.
          schema:
            type: string
            format: filter-criteria
      responses:
        "200":
          description: The request succeeded.
          headers:
            Cache-Control:
              description: Controls how the response is cached by the browser.
              schema:
                type: string
            Content-Type:
              description: The media type of the response.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/userPropertyCollection"
              examples:
                default:
                  $ref: "#/components/examples/getProjectUserProperties"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/userPropertyCollection"
              examples:
                default:
                  $ref: "#/components/examples/getProjectUserProperties"
        "404":
          description: No project exists at the requested path.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/projectNotFoundError"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/projectNotFoundError"
    post:
      operationId: createProjectUserProperties
      tags:
        - Projects
      summary: Create or update user-defined properties for a project
      description: Creates or updates one or more user-defined properties in the specified project.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/userPropertyCollection"
            examples:
              default:
                $ref: "#/components/examples/getProjectUserProperties"
          application/vnd.sas.collection+json:
            schema:
              $ref: "#/components/schemas/userPropertyCollection"
            examples:
              default:
                $ref: "#/components/examples/getProjectUserProperties"
      responses:
        "201":
          description: The user-defined properties were created or updated within the specified project.
          headers:
            Location:
              description: The location of the project's user-defined properties.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/userPropertyCollection"
              examples:
                default:
                  $ref: "#/components/examples/getProjectUserProperties"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/userPropertyCollection"
              examples:
                default:
                  $ref: "#/components/examples/getProjectUserProperties"
        "400":
          description: The request was invalid.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/badRequest"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/badRequest"
        "404":
          description: No project exists at the requested path.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/projectNotFoundError"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/projectNotFoundError"
  "/projects/{projectId}/userProperties/{propertyKey}":
    head:
      operationId: headersForProjectUserProperty
      tags:
        - Projects
      summary: Check if a specific user-defined property exists in a project
      description: Returns header information for a specific user-defined property in the specified project.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: propertyKey
          in: path
          required: true
          description: The key of the user-defined property.
          schema:
            type: string
        - name: If-None-Match
          in: header
          required: false
          description: The entity tag obtained from the most recent ETag response header.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          headers:
            ETag:
              description: The entity tag for the resource.
              schema:
                type: string
    get:
      operationId: getProjectUserProperty
      tags:
        - Projects
      summary: Get a user-defined property for a project
      description: Returns the specified user-defined property for the specified project.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: propertyKey
          in: path
          required: true
          description: The key of the user-defined property.
          schema:
            type: string
        - name: If-None-Match
          in: header
          required: false
          description: The entity tag obtained from the most recent ETag response header.
          schema:
            type: string
      responses:
        "200":
          description: The request succeeded.
          headers:
            Cache-Control:
              description: Controls how the response is cached by the browser.
              schema:
                type: string
            Content-Type:
              description: The media type of the response.
              schema:
                type: string
            ETag:
              description: The entity tag for the resource.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/userProperty"
              examples:
                default:
                  $ref: "#/components/examples/getProjectUserProperty"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/userProperty"
              examples:
                default:
                  $ref: "#/components/examples/getProjectUserProperty"
        "404":
          description: No project or property exists at the requested path.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/projectNotFoundError"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/projectNotFoundError"
    put:
      operationId: updateProjectUserProperty
      tags:
        - Projects
      summary: Update a user-defined property for a project
      description: Updates the value of the specified user-defined property within the specified project.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: propertyKey
          in: path
          required: true
          description: The key of the user-defined property.
          schema:
            type: string
        - name: If-Match
          in: header
          required: true
          description: Client must specify the previously pulled ETag as If-Match header.
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/userProperty"
            examples:
              default:
                $ref: "#/components/examples/getProjectUserProperty"
          application/vnd.sas.collection+json:
            schema:
              $ref: "#/components/schemas/userProperty"
            examples:
              default:
                $ref: "#/components/examples/getProjectUserProperty"
      responses:
        "200":
          description: The property was updated.
          headers:
            ETag:
              description: A tag that identifies the revision of this object.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/userProperty"
              examples:
                default:
                  $ref: "#/components/examples/getProjectUserProperty"
            application/json:
              schema:
                $ref: "#/components/schemas/userProperty"
              examples:
                default:
                  $ref: "#/components/examples/getProjectUserProperty"
        "400":
          description: The request was invalid.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/badRequest"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/badRequest"
        "404":
          description: No project or property exists at the requested path.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/generalNotFoundError"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/generalNotFoundError"
        "412":
          description: The request precondition failed.
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/preconditionFailed"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/preconditionFailed"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/preconditionFailed"
        "428":
          description: The request requires a precondition header.
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/preconditionRequired"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/preconditionRequired"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/preconditionRequired"
    delete:
      operationId: deleteProjectUserProperty
      tags:
        - Projects
      summary: Delete a user-defined property from a project
      description: Deletes the specified user-defined property from the specified project.
      parameters:
        - name: projectId
          in: path
          required: true
          description: The unique identifier for the project.
          schema:
            type: string
        - name: propertyKey
          in: path
          required: true
          description: The key of the user-defined property.
          schema:
            type: string
      responses:
        "204":
          description: The property was deleted.
        "404":
          description: No project or property exists at the requested path.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/generalNotFoundError"
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              examples:
                default:
                  $ref: "#/components/examples/generalNotFoundError"
  /projects/summary:
    get:
      operationId: getProjectsSummary
      tags:
        - Projects
      summary: Get aggregated project counts
      description: Returns aggregated project counts grouped by the specified field. This endpoint is used to retrieve summary statistics about projects without fetching full project details.
      parameters:
        - name: groupBy
          in: query
          required: true
          description: The field to group the project counts by. Supported values are `function`, `status`, and `publishStatus`.
          schema:
            type: string
            enum:
              - function
              - status
              - publishStatus
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the projects before aggregation. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering).
          schema:
            type: string
            format: filter-criteria
      responses:
        "200":
          description: The request succeeded. An array of summary items was returned.
          headers:
            ETag:
              description: A tag that identifies the revision of this object.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    category:
                      type: string
                      description: The category value for the group.
                    count:
                      type: integer
                      format: int64
                      description: The number of projects in this category.
              example:
                - category: classification
                  count: 8
                - category: regression
                  count: 12
                - category: unknown
                  count: 3
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    category:
                      type: string
                      description: The category value for the group.
                    count:
                      type: integer
                      format: int64
                      description: The number of projects in this category.
              example:
                - category: classification
                  count: 8
                - category: regression
                  count: 12
                - category: unknown
                  count: 3
        "400":
          description: The request was invalid. The `groupBy` parameter is missing or contains an unsupported value.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
              example:
                errorCode: 0
                message: The value "invalidField" for the "groupBy" parameter is not valid.
                httpStatusCode: 400
                version: 2
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
              example:
                errorCode: 0
                message: The value "invalidField" for the "groupBy" parameter is not valid.
                httpStatusCode: 400
                version: 2
  /projects/userProperties:
    get:
      operationId: getProjectUserProperties
      tags:
        - Projects
      summary: Get all project user-defined properties
      description: Returns all distinct user-defined properties on the project-level.
      parameters:
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded.
          content:
            application/vnd.sas.collection+json:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
  /userDefinedTags:
    get:
      operationId: getUserDefinedTags
      tags:
        - User-Defined Tags
      summary: Get a list of user-defined tags
      description: Returns a list of user-defined tags.
      parameters:
        - name: ObjectType
          in: query
          required: false
          description: A query string that allows a search for tags by object type (project or model).
          schema:
            type: string
        - name: name
          in: query
          required: false
          description: A query string that allows a search for tags by name.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The starting index for the first item in a page. The index is 0-based. For more information about how pagination is applied to collections, see [Pagination in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#pagination).
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: "The maximum number of items to return in the request. "
          schema:
            type: integer
            format: int32
            default: 20
        - name: filter
          in: query
          required: false
          description: The criteria for filtering the tags. For more information, see [Filtering in REST APIs](https://developer.sas.com/rest-apis/modelRepository/docs/getting-started/usage-notes#filtering).
          schema:
            type: string
            format: filter-criteria
      responses:
        "200":
          description: The request succeeded. The tags were returned.
          headers:
            Etag:
              description: The entity tag of the repository.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json":
              schema:
                $ref: "#/components/schemas/userDefinedTagCollection"
            application/json:
              schema:
                $ref: "#/components/schemas/userDefinedTagCollection"
        "400":
          description: The request was invalid.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/error2"
            application/json:
              schema:
                $ref: "#/components/schemas/error2"
  /commons/tableInfo:
    get:
      operationId: getTableInfo
      tags:
        - Models
      summary: Get data table information
      description: Returns the information for the data table that is associated with the specified URL.
      parameters:
        - name: url
          in: query
          required: true
          description: The URL for the data table.
          schema:
            type: string
        - name: start
          in: query
          required: false
          description: The 0-based start index of a paginated request.
          schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
        - name: limit
          in: query
          required: false
          description: The maximum number of items to return in this request.
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        "200":
          description: The request succeeded.
          headers:
            Cache-Control:
              description: Controls how the response is cached by the browser.
              schema:
                type: string
            Content-Security-Policy:
              description: The security policy chosen to prevent code execution vulnerabilities.
              schema:
                type: string
            Content-Type:
              description: The media type of the response.
              schema:
                type: string
            Date:
              description: The date of the response.
              schema:
                type: string
                format: date-time
            Expires:
              description: The date after which the response is considered expired.
              schema:
                type: string
                format: date-time
            Pragma:
              description: Used for backward compatibility with HTTP/1.0 caches that do not support the Cache-Control HTTP/1.1 header.
              schema:
                type: string
            Sas-Service-Response-Flag:
              description: A service response flag that is specific to SAS.
              schema:
                type: boolean
            Strict-Transport-Security:
              description: Enforces secure connections to the server by specifying a duration during which browsers should communicate only using HTTPS.
              schema:
                type: string
            Vary:
              description: Specifies headers that a cache should consider when determining if a cached response is valid.
              schema:
                type: string
            X-Content-Type-Options:
              description: Prevents browsers from interpreting files as a different MIME type than what is specified in the `Content-Type` header.
              schema:
                type: string
            X-Xss-Protection:
              description: Configures browser-based cross-site scripting (XSS) filters.
              schema:
                type: string
            Connection:
              description: Controls whether the network connection stays open after the current transaction.
              schema:
                type: string
            Transfer-Encoding:
              description: Specifies how the response is encoded for transfer.
              schema:
                type: string
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/tableInfo"
              examples:
                default:
                  $ref: "#/components/examples/getTableInfo"
            application/json:
              schema:
                $ref: "#/components/schemas/tableInfo"
              examples:
                default:
                  $ref: "#/components/examples/getTableInfo"
        "404":
          description: No data table exists at the requested URL.
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/notFoundError"
              examples:
                default:
                  $ref: "#/components/examples/notFoundError"
            application/json:
              schema:
                $ref: "#/components/schemas/notFoundError"
              examples:
                default:
                  $ref: "#/components/examples/notFoundError"
components:
  schemas:
    userPropertyCollection:
      title: User Property Collection
      description: A collection of user-defined properties.
      allOf:
        - $ref: "#/components/schemas/baseCollection2"
        - type: object
          properties:
            items:
              type: array
              items:
                $ref: "#/components/schemas/userProperty"
              description: The array of user-defined property representations.
    userProperty:
      title: User Property
      description: Contains information about a user-defined property.
      properties:
        name:
          type: string
          description: The user-defined property key.
        type:
          type: string
          description: The data type of the user-defined property value.
        value:
          type: string
          description: The user-defined property value.
    fileMiscNotFoundError:
      title: Misclassification Metrics File Not Found (dmcas_misc.json)
      description: The misclassification metrics file (dmcas_misc.json) does not exist for the specified model.
      properties:
        version:
          type: integer
          description: The version number of the error representation.
        httpStatusCode:
          type: integer
          description: The HTTP status code for the error.
        message:
          type: string
          description: The message for the error.
        details:
          type: array
          description: Messages that provide additional details about the cause of the error.
          items:
            type: string
    fileFitstatNotFoundError:
      title: Fit Statistics File Not Found (dmcas_fitstat.json)
      description: The fit statistics file (dmcas_fitstat.json) does not exist for the specified model.
      properties:
        version:
          type: integer
          description: The version number of the error representation.
        httpStatusCode:
          type: integer
          description: The HTTP status code for the error.
        message:
          type: string
          description: The message for the error.
        details:
          type: array
          description: Messages that provide additional details about the cause of the error.
          items:
            type: string
    notFoundError:
      title: Not Found Error
      description: An error thrown when a required resource does not exist.
      properties:
        version:
          type: integer
          description: The version number of the error representation.
        httpStatusCode:
          type: integer
          description: The HTTP status code for the error.
        message:
          type: string
          description: The message for the error.
        details:
          type: array
          description: Messages that provide additional details about the cause of the error.
          items:
            type: string
    fileRelativeImportanceNotFoundError:
      title: Variable Relative Importance File Not Found (dmcas_relativeimportance.json)
      description: The variable relative importance file (dmcas_relativeimportance.json) does not exist for the specified model.
      properties:
        version:
          type: integer
          description: The version number of the error representation.
        httpStatusCode:
          type: integer
          description: The HTTP status code for the error.
        message:
          type: string
          description: The message for the error.
        details:
          type: array
          description: Messages that provide additional details about the cause of the error.
          items:
            type: string
    modelProjectCollection:
      title: Model Project Collection
      description: A collection of project representations.
      allOf:
        - $ref: "#/components/schemas/baseCollection2"
        - type: object
          properties:
            items:
              type: array
              items:
                $ref: "#/components/schemas/modelProject"
              description: An array of project representations.
    modelProject:
      title: Model Project
      description: Contains information about a modeling project.
      properties:
        createdBy:
          type: string
          description: The user that created the project.
        modifiedBy:
          type: string
          description: The user that last modified the project.
        creationTimeStamp:
          type: string
          description: The timestamp for when the project was created, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        modifiedTimeStamp:
          type: string
          description: The timestamp for when the project was last modified, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        id:
          type: string
          description: The unique identifier for the project.
        name:
          type: string
          description: The name of the project.
        description:
          type: string
          description: The description of the project.
        function:
          type: string
          description: "The model function of the project. Valid values: analytical, classification, cluster, forecasting, prediction, Text categorization, Text extraction, Text sentiment, Text topics, transformation"
        status:
          type: string
          description: The status of the project.
        location:
          type: string
          description: The location of the project.
        repositoryId:
          type: string
          description: The repository ID for the repository that contains the project.
        folderId:
          type: string
          description: The project folder ID
        championModelName:
          type: string
          description: The name of the champion model.
        candidateChampionName:
          type: string
          description: The name of the candidate champion model.
        externalProjectId:
          type: string
          description: The identifier for the external project.
        externalUrl:
          type: string
          description: The url for the external project.
        candidateChampionHonored:
          type: boolean
          description: Indicates to set the candidate champion as the project champion during import.
        variables:
          type: array
          items:
            $ref: "#/components/schemas/variable"
          description: The variables for the project.
        multiVariateTargetReps:
          type: array
          items:
            $ref: "#/components/schemas/multiVariateTargetRep"
        testTable:
          type: string
          description: The data table for testing.
        scoreInputTable:
          type: string
          description: The score input data table.
        scoreOutputTable:
          type: string
          description: The score output data table.
        performanceTable:
          type: string
          description: The model performance data table.
        trainTable:
          type: string
          description: The model train table.
        targetVariable:
          type: string
          description: The name of the target variable.
        targetEventValue:
          type: string
          description: The target event value.
        predictionVariable:
          type: string
          description: The name of the prediction variable.
        segmentationVariable:
          type: string
          description: The name of the segmentation variable.
        properties:
          type: array
          items:
            $ref: "#/components/schemas/modelProperty"
          description: The properties for the project.
        challengerModels:
          type: array
          description: A list of challenger models.
          items:
            type: string
        classTargetValues:
          type: string
          description: A list of target values.
        targetLevel:
          type: string
          description: Indicates a class target level of binary, nominal, ordinal, or interval.
        eventProbabilityVariable:
          type: string
          description: The name of the event probability variable.
        latestVersion:
          type: string
          description: The latest project version in the project.
        championModelId:
          type: string
          description: The unique identifier for the champion model in the project. This property is included only when the `includeChampionModel` parameter is set to true.
        projectVersionCount:
          type: integer
          description: The number of project versions. This property is included only when the value of the `expand` parameter is "count".
        modelCount:
          type: integer
          description: The number of models in the project. This property is included only when the value of the `expand` parameter is "count".
        version:
          type: integer
          description: The project representation version. The version is 2.
          default: 2
    modelProjectVersionCollection:
      title: Project Version Collection
      description: A collection of project version representations.
      allOf:
        - $ref: "#/components/schemas/baseCollection2"
        - type: object
          properties:
            items:
              type: array
              items:
                $ref: "#/components/schemas/modelProjectVersion"
              description: The array of project version representations.
    projectContentCollection:
      title: Project File Collection
      description: A collection of model content representations.
      allOf:
        - $ref: "#/components/schemas/baseCollection2"
        - type: object
          properties:
            items:
              type: array
              items:
                $ref: "#/components/schemas/projectContent"
              description: The array of application/vnd.sas.projects.project.content representations.
    modelProjectVersion:
      title: Project Version
      description: A project version contains models that were created for a specific period of time and that are associated with the same training data set.
      properties:
        createdBy:
          type: string
          description: The user that created the project version.
        modifiedBy:
          type: string
          description: The user that last modified the project version.
        creationTimeStamp:
          type: string
          description: The timestamp for when the project version was created, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        modifiedTimeStamp:
          type: string
          description: The timestamp for when the project version was last modified, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        id:
          type: string
          description: The unique identifier for the project version.
        name:
          type: string
          description: The name of the project version.
        description:
          type: string
          description: The description for the project version.
        versionNumber:
          type: string
          description: The version number for the project version.
        projectId:
          type: string
          description: The unique identifier for the project.
        version:
          type: integer
          description: The project version representation version. The version is 2.
          default: 2
    projectRequest:
      title: Project Request
      description: A project request contains information about a project.
      properties:
        name:
          type: string
          description: The name of the project.
        description:
          type: string
          description: The description of the project.
        function:
          type: string
          description: "The model function from the project. Valid values are: classification, prediction, segmentation, and unknown"
        externalProjectId:
          type: string
          description: The external project ID. This is a reference to an external client project.
        versionOption:
          type: string
          description: "Import a model into a specific version. The options are: new, latest, or an existing version."
        modelList:
          type: array
          items:
            $ref: "#/components/schemas/link"
          description: A model list for the project request.
        version:
          type: integer
          description: The project request representation version. The version is 2.
          default: 2
    projectContent:
      title: Project Content
      description: The content of a project.
      properties:
        createdBy:
          type: string
          description: The user that created the project content.
        modifiedBy:
          type: string
          description: The user that last modified the project content.
        creationTimeStamp:
          type: string
          description: The timestamp in `YYYY-MM-DDThh:mm:ss.sssZ` format when the project content was created.
          format: date-time
        modifiedTimeStamp:
          type: string
          description: The timestamp in `YYYY-MM-DDThh:mm:ss.sssZ` format when the content was last modified.
          format: date-time
        name:
          type: string
          description: The name of the project content.
        projectId:
          type: string
          description: The unique identifier for the project that the project content is associated with.
        fileUri:
          type: string
          description: The URI for the project content.
        role:
          type: string
          description: The project content role to determine how the project content should be displayed or processed.
        key:
          type: string
          description: The key is the sha1 key for only the analytic store file.
        version:
          type: integer
          description: The project content representation version. The version is 2.
          default: 2
    modelProperty:
      title: Model Property
      description: Contains information about a model property.
      properties:
        name:
          type: string
          description: The name of the property.
        value:
          type: string
          description: The value for the property.
        type:
          type: string
          description: "The data type for the property. Valid values: string, decimal, integer, date, datetime"
    variableCollection:
      title: Variable Collection
      description: A collection of variable representations.
      allOf:
        - $ref: "#/components/schemas/baseCollection2"
        - type: object
          properties:
            items:
              type: array
              items:
                $ref: "#/components/schemas/variable"
              description: The array of application/vnd.sas.models.variable representations.
    variable:
      title: Variable
      description: Contains information about a variable.
      properties:
        createdBy:
          type: string
          description: The user that created the variable.
        modifiedBy:
          type: string
          description: The user that last modified the variable.
        creationTimeStamp:
          type: string
          description: The timestamp for when the variable was created, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        modifiedTimeStamp:
          type: string
          description: The timestamp for when the variable was last modified, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        name:
          type: string
          description: The name of the variable.
        description:
          type: string
          description: The description of this variable.
        role:
          type: string
          description: "The role of the variable. Valid values are: input, output, target"
        type:
          type: string
          description: "The type of variable. Valid values are: string, decimal, integer, boolean, date, datetime"
        level:
          type: string
          description: "The measurement level of the variable. Valid values are: binary, interval, nominal, ordinal"
        format:
          type: string
          description: The format of the variable. An example is int32.
        length:
          type: integer
          description: The length of the variable.
        version:
          type: integer
          description: The variable representation version. The version is 2.
          default: 2
        tableName:
          type: string
          description: The name of the table that contains the variable.
    multiVariateTargetRep:
      title: Multivariate Target Event Values
      description: Indicates the association between the target event values and a column within the specified training table.
      properties:
        predictedValue:
          type: string
          description: The name of the target event value.
        predictedTargetColumn:
          type: string
          description: The column name in the training table.
    projectHistoricalActionCollection:
      title: Project Historical Action Collection
      description: A collection of historical action representations for a project.
      allOf:
        - $ref: "#/components/schemas/baseCollection2"
        - type: object
          properties:
            items:
              type: array
              items:
                $ref: "#/components/schemas/projectHistory"
              description: The array of historical event representations.
    projectHistory:
      title: Historical Action
      description: Contains information about the history of actions that have been performed for a project.
      properties:
        action:
          type: string
          description: The name of the action.
        user:
          type: string
          description: The user who performed the action.
        dateTime:
          type: string
          format: date
          description: When the action is performed.
        projectVersion:
          type: string
          description: The name of the project version.
        attributeJson:
          type: string
          description: Attribute information in JSON format.
    modelContentCollection:
      title: Model Content Collection
      description: A collection of model content representations.
      allOf:
        - $ref: "#/components/schemas/baseCollection2"
        - type: object
          properties:
            items:
              type: array
              items:
                $ref: "#/components/schemas/modelContent"
              description: The array of application/vnd.sas.models.model.content representations.
    modelContent:
      title: Model Content
      description: Contains information about model content.
      properties:
        creationTimeStamp:
          type: string
          description: The timestamp for when the model content was created, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        createdBy:
          type: string
          description: The user that created the model content.
        modifiedTimeStamp:
          type: string
          description: The timestamp for when the model content was last modified, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        modifiedBy:
          type: string
          description: The user that last modified the model content.
        id:
          type: string
          description: The unique identifier for the model content.
        name:
          type: string
          description: The name of the model content.
        fileUri:
          type: string
          description: The URI for the model content.
        modelId:
          type: string
          description: The unique identifier for the model that the model content is associated with.
        versionId:
          type: string
          description: The unique identifier for the version that the model content is associated with.
        links:
          type: array
          description: Links that apply to this model content.
          items:
            $ref: "#/components/schemas/link"
    modelCollection:
      title: Model Collection
      description: A collection of model representations.
      allOf:
        - $ref: "#/components/schemas/baseCollection2"
        - type: object
          properties:
            items:
              type: array
              items:
                $ref: "#/components/schemas/model"
              description: An array of model representations.
    model:
      title: Model
      description: Contains information about a model.
      properties:
        createdBy:
          type: string
          description: The user that created the model.
        modifiedBy:
          type: string
          description: The user that last modified the model.
        creationTimeStamp:
          type: string
          description: The timestamp for when the model was created, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        modifiedTimeStamp:
          type: string
          description: The timestamp for when the model was last modified, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        id:
          type: string
          description: The unique identifier for the model.
        name:
          type: string
          description: The name of the model.
        description:
          type: string
          description: The description of the model.
        function:
          type: string
          description: "The function of the model. Valid values: analytical, classification, cluster, forecasting, prediction, Text analytics, transformation"
        algorithm:
          type: string
          description: The name of model algorithm.
        tool:
          type: string
          description: The name of the model tool.
        modeler:
          type: string
          description: This is the user that created or built the model.
        scoreCodeType:
          type: string
          description: The score code type for the model.
        trainTable:
          type: string
          description: The train data table.
        eventProbVar:
          type: string
          description: The name of the event probability variable.
        targetEvent:
          type: string
          description: The target event value.
        champion:
          type: boolean
          description: Indicates whether the project has champion model or not.
        role:
          type: string
          description: "The role of the model. Valid values: plain, champion, challenger"
        location:
          type: string
          description: The location of this model.
        targetLevel:
          type: string
          description: The level of the target.
        targetVariable:
          type: string
          description: The name of the target variable.
        projectId:
          type: string
          description: The unique identifier for the project that contains the model.
        projectName:
          type: string
          description: The name of the project that contains the model.
        projectVersionId:
          type: string
          description: The unique identifier for the project version that contains the model.
        projectVersionName:
          type: string
          description: The display name of the project version that contains the model
        folderId:
          type: string
          description: The unique identifier for the folder that contains the model
        repositoryId:
          type: string
          description: The unique identifier for the repository that contains the model.
        championStartTime:
          type: string
          description: The time at which the model was set as the project champion model.
        championEndTime:
          type: string
          description: The time at which the model was unset (cleared) as the project champion model.
        suggestedChampion:
          type: boolean
          description: Indicates the model that was suggested as the champion model at import time.
        retrainable:
          type: boolean
          description: Indicates whether the model can be retrained or not.
        immutable:
          type: boolean
          description: Indicates whether the model can be changed or not.
        modelVersionName:
          type: string
          description: The display name for a model version.
        dataUris:
          type: array
          description: The URI reference point to an analytic report. It can have zero or multiple URI references.
          items:
            $ref: "#/components/schemas/uriReference"
        properties:
          type: array
          items:
            $ref: "#/components/schemas/modelProperty"
          description: The properties for the model.
        inputVariables:
          type: array
          items:
            $ref: "#/components/schemas/variable"
          description: The input variables for the model.
        outputVariables:
          type: array
          items:
            $ref: "#/components/schemas/variable"
          description: The output variables for the model.
        modelVersionCount:
          type: integer
          description: The number of model versions. This property is included only when the value of the `expand` parameter is "count".
        isAstoreModel:
          type: boolean
          description: Indicates whether the model is an ASTORE model, which is determined by checking for the presence of the AstoreMetadata.json file. This property is included only when the value of the `expand` parameter is "astore".
        version:
          type: integer
          description: The model representation version. The version is 2.
          default: 2
    modelVersionCollection:
      title: Model Version Collection
      description: A collection of model version representations.
      allOf:
        - $ref: "#/components/schemas/baseCollection2"
        - type: object
          properties:
            items:
              type: array
              items:
                $ref: "#/components/schemas/modelVersion"
              description: The array of application/vnd.sas.models.model.version representations.
    modelVersion:
      title: Model Version
      description: Contains information about a model version.
      properties:
        createdBy:
          type: string
          description: The user that created the model.
        modifiedBy:
          type: string
          description: The user that last modified the model.
        creationTimeStamp:
          type: string
          description: The timestamp for when the model version was created, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        modifiedTimeStamp:
          type: string
          description: The timestamp for when the model version was last modified, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        id:
          type: string
          description: Model ID
        name:
          type: string
          description: The name of the model.
        description:
          type: string
          description: The description of this model.
        function:
          type: string
          description: "The function of the model. Valid values are: classification, prediction, segmentation, unknown"
        algorithm:
          type: string
          description: The name of model algorithm.
        tool:
          type: string
          description: The tool name that was used to create the model.
        modeler:
          type: string
          description: The user that created or built the model.
        scoreCodeType:
          type: string
          description: The score code type of the model.
        trainTable:
          type: string
          description: The name of the train data table.
        eventProbVar:
          type: string
          description: The name of the classification event probability variable.
        targetEvent:
          type: string
          description: The classification target event value.
        champion:
          type: boolean
          description: Indicates whether the project has a champion model or not.
        role:
          type: string
          description: "The role of a model. Valid values are: plain, champion, challenger"
        location:
          type: string
          description: The location of this model.
        targetVariable:
          type: string
          description: The name of the target variable.
        projectId:
          type: string
          description: The unique identifier for the project that contains the model.
        projectName:
          type: string
          description: The project name for the project that contains the model.
        projectVersionId:
          type: string
          description: The project version ID for the project version that contains the model
        projectVersionName:
          type: string
          description: The project version display name for the project version that contains the model
        folderId:
          type: string
          description: The folder ID for the folder that contains the model
        repositoryId:
          type: string
          description: The repository ID for the repository that contains the model.
        championStartTime:
          type: string
          description: The time at which the model was set as the project champion model.
        championEndTime:
          type: string
          description: The time at which the model was unset (cleared) as the project champion model.
        suggestedChampion:
          type: boolean
          description: Indicates that the model was the suggested champion model at import time.
        retrainable:
          type: boolean
          description: Indicates whether the model can be retrained or not.
        immutable:
          type: boolean
          description: Indicates whether the model can be changed or not.
        modelVersionName:
          type: string
          description: The model version display name.
        properties:
          type: array
          items:
            $ref: "#/components/schemas/modelProperty"
          description: The properties for the model version.
        inputVariables:
          type: array
          items:
            $ref: "#/components/schemas/variable"
          description: The input variables for the model version.
        outputVariables:
          type: array
          items:
            $ref: "#/components/schemas/variable"
          description: The output variables for the model version.
        version:
          type: integer
          description: The model version representation version. The version is 2.
          default: 2
    modelVersionHistoryCollection:
      title: Model Version History
      description: A collection of previous model version representations.
      allOf:
        - $ref: "#/components/schemas/baseCollection2"
        - type: object
          properties:
            items:
              type: array
              items:
                $ref: "#/components/schemas/modelVersionHistory"
              description: The array of application/vnd.sas.models.model.version representations.
    modelVersionHistory:
      title: Model Version
      description: Contains information about a model version.
      properties:
        creationTimeStamp:
          type: string
          description: The timestamp for when the model version was created, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        createdBy:
          type: string
          description: The user that created the model.
        modifiedTimeStamp:
          type: string
          description: The timestamp for when the model version was last modified, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        modifiedBy:
          type: string
          description: The user that last modified the model.
        id:
          type: string
          description: Model ID
        name:
          type: string
          description: The name of the model.
        role:
          type: string
          description: "The role of a model. Valid values are: plain, champion, challenger"
        scoreCodeType:
          type: string
          description: The score code type of the model.
        algorithm:
          type: string
          description: The name of model algorithm.
        function:
          type: string
          description: "The function of the model. Valid values are: classification, prediction, segmentation, unknown"
        modeler:
          type: string
          description: The user that created or built the model.
        modelType:
          type: string
          description: The type of the model.
        trainTable:
          type: string
          description: The name of the train data table.
        eventProbVar:
          type: string
          description: The name of the classification event probability variable.
        targetVariable:
          type: string
          description: The name of the target variable.
        targetEvent:
          type: string
          description: The classification target event value.
        targetLevel:
          type: string
          description: Indicates a class target level of binary, nominal, ordinal, or interval.
        tool:
          type: string
          description: The tool name that was used to create the model.
        toolVersion:
          type: string
          description: The version of the tool that was used to create the model.
        candidateChampion:
          type: boolean
          description: Indicated whether the model is a candidate champion.
        externalModelId:
          type: string
          description: The external model ID.
        selectionStatistic:
          type: string
          description: The selection statistic of the model.
        selectionStatisticValue:
          type: string
          description: The value of the selection statistic.
        partitionLevel:
          type: string
          description: The partition level of the model.
        eventPercentage:
          type: string
          description: Percentage of event occurrences in the associated partition level.
        costPerCall:
          type: string
          description: The cost per call.
        immutable:
          type: boolean
          description: Indicates whether the model can be changed or not.
        folderRef:
          type: string
          description: Reference to the folder containing the model.
        modelVersionName:
          type: string
          description: The model version display name.
        inputVariables:
          type: array
          items:
            $ref: "#/components/schemas/variable"
          description: The input variables for the model version.
        outputVariables:
          type: array
          items:
            $ref: "#/components/schemas/variable"
          description: The output variables for the model version.
        modelLocks:
          type: array
          items:
            type: string
          description: The list of locks on the model.
        globalTags:
          type: array
          items:
            type: string
          description: The tags associated with the model.
        links:
          type: array
          description: Links that apply to this file resource.
          items:
            $ref: "#/components/schemas/link"
        version:
          type: integer
          description: The model version representation version. The version is 2.
          default: 2
        modelId:
          type: string
          description: The unique identifier for the model.
        modelLastModifiedBy:
          type: string
          description: The user that last modified the model.
        modelLastModifiedTimeStamp:
          type: string
          description: The timestamp for when the model was last modified, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        modelCreatedBy:
          type: string
          description: The user that created the model.
        modelCreatedTimeStamp:
          type: string
          description: The timestamp for when the model was created, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
    modelRequest:
      title: Model Request
      description: Contains information about a model request.
      properties:
        id:
          type: string
          description: The unique identifier for the model.
        name:
          type: string
          description: The name of the model.
        description:
          type: string
          description: The description of the model.
        function:
          type: string
          description: "The function of the model. Valid values are: classification, prediction, segmentation, unknown"
        algorithm:
          type: string
          description: The name of model algorithm.
        tool:
          type: string
          description: The name of the tool that was used to create the model.
        toolVersion:
          type: string
          description: The version of the tool that was used to create the model.
        modeler:
          type: string
          description: The user that created the model.
        dataUris:
          type: array
          description: The URI reference point to an analytic report. It can have zero or multiple UI references.
          items:
            $ref: "#/components/schemas/uriReference"
        scoreCodeUri:
          $ref: "#/components/schemas/uriReference"
        trainCodeUri:
          $ref: "#/components/schemas/uriReference"
        targetEvent:
          type: string
          description: The target event.
        nondeterministic:
          type: boolean
          description: nondeterministic
        dataSourceUri:
          $ref: "#/components/schemas/uriReference"
        dataSourceNotes:
          type: string
          description: Additional data source information. This property can contain an intermediate data table.
        externalModelId:
          type: string
          description: The external model ID.
        trainTableSummaryUri:
          $ref: "#/components/schemas/uriReference"
        fitStatUri:
          $ref: "#/components/schemas/uriReference"
        sasOptions:
          type: string
          description: Additional SAS options for this model.
        dataPlanUri:
          $ref: "#/components/schemas/uriReference"
        rocDataUri:
          $ref: "#/components/schemas/uriReference"
        liftDataUri:
          $ref: "#/components/schemas/uriReference"
        partitionLevels:
          $ref: "#/components/schemas/partitionLevelCollection"
        eventLevels:
          $ref: "#/components/schemas/eventLevelCollection"
        modelTransformation:
          $ref: "#/components/schemas/modelTransformation"
        trainInputs:
          type: array
          description: The training input variables.
          items:
            $ref: "#/components/schemas/variable"
        version:
          type: integer
          description: The model request representation version. The version is 2.
          default: 2
    modelTransformation:
      title: Model Transformation
      description: Contains information about the content that is included within a model transformation.
      type: array
      properties:
        inputVariables:
          type: array
          description: A list of the input variables.
          items:
            $ref: "#/components/schemas/variable"
        outputVariables:
          type: array
          description: A list of the output variables.
          items:
            $ref: "#/components/schemas/variable"
        steps:
          type: array
          description: A collection of transformation steps.
          items:
            $ref: "#/components/schemas/stepCollection"
    stepCollection:
      title: Step Collection
      description: A collection of step representations.
      allOf:
        - $ref: "#/components/schemas/baseCollection2"
        - type: object
          properties:
            items:
              type: array
              items:
                $ref: "#/components/schemas/step"
              description: The array of step representations of visual analytic transformation.
    step:
      title: Step
      description: Contains information about a step.
      properties:
        sequence:
          type: integer
          description: The step's order number.
        type:
          type: string
          description: The content type (for example, dataStep).
        stepUri:
          $ref: "#/components/schemas/uriReference"
    partitionLevelCollection:
      title: Partition Level Collection
      description: A collection of partition level representations.
      type: array
      allOf:
        - $ref: "#/components/schemas/baseCollection2"
        - type: object
          properties:
            items:
              type: array
              items:
                $ref: "#/components/schemas/partitionLevel"
              description: The array of partition level representations.
    partitionLevel:
      title: Partition Level
      description: Contains information about a partition level.
      properties:
        dataRole:
          type: string
          description: The data role.
        value:
          type: string
          description: The value of the data role.
    eventLevelCollection:
      title: Event Level Collection
      description: A collection of partition level representations.
      type: array
      allOf:
        - $ref: "#/components/schemas/baseCollection2"
        - type: object
          properties:
            items:
              type: array
              items:
                $ref: "#/components/schemas/eventLevel"
              description: The array of event level representations.
    eventLevel:
      title: Event Level
      description: Contains information about the event level.
      type: string
      properties:
        variableName:
          type: string
          description: The variable name.
        eventValue:
          type: string
          description: The value of the event.
    uriReference:
      title: URI Reference
      description: Contains information about the URI reference.
      type: string
      properties:
        name:
          type: string
          description: The name of the URI reference.
        uri:
          type: string
          description: The value of the URI.
        uriType:
          type: string
          description: The child or reference of the URI.
        mediaType:
          type: string
          description: The media type of this URI.
        contentType:
          type: string
          description: The content type that the URI points to.
    modelRepositoryCollection:
      title: Model Repository Collection
      description: A collection of model repository representations.
      allOf:
        - $ref: "#/components/schemas/baseCollection2"
        - type: object
          properties:
            items:
              type: array
              items:
                $ref: "#/components/schemas/modelRepository"
              description: The array of application/vnd.sas.models.repository representations.
    modelRepository:
      title: Model Repository
      description: Contains information about a model repository.
      properties:
        createdBy:
          type: string
          description: The user that created the repository.
        modifiedBy:
          type: string
          description: The user that last modified the repository.
        creationTimeStamp:
          type: string
          description: The timestamp for when the repository was created, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        modifiedTimeStamp:
          type: string
          description: The timestamp for when the repository was last modified, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
          format: date-time
        id:
          type: string
          description: The repository ID.
        name:
          type: string
          description: The repository name.
        description:
          type: string
          description: The description of the repository.
        folderId:
          type: string
          description: The folder that is associated with the repository.
        defaultRepository:
          type: boolean
          description: Indicates whether the repository is a default repository or not.
        version:
          type: integer
          description: The repository representation version. The version is 2.
          default: 2
    versionInformation:
      title: Version Information
      description: >
        Contains information about a project version.

        Note: To update a project version using the PUT operation, you must include all of the properties.

        You can retrieve the values by performing a GET operation for a project version (getProjectVersion).

        These are the properties that are required for a PUT operation: id, projectId, name, and description.
      properties:
        id:
          type: string
          description: The unique identifier for the project version. This is required for GET and PUT REST operations.
        name:
          type: string
          description: The name of the project version.
        description:
          type: string
          description: The description of the project version.
        projectId:
          type: string
          description: The identifier for the project.
      required:
        - name
        - projectId
    analyticStore:
      title: Analytic Store
      description: Contains information about an analytic store.
      properties:
        name:
          type: string
          description: The name of the analytic store in the CAS library.
        uri:
          type: string
          description: The URI to the CAS library location for the analytic store.
        key:
          type: string
          description: The unique key assigned to the analytic store.
        caslib:
          type: string
          description: The name of the CAS library where this analytic store is stored.
        location:
          type: string
          description: The integration URI for SAS Event Stream Processing and SAS Micro Analytic Service integration.
        errorCode:
          type: string
          description: The error code that is returned when moving the analytic store to the integration location has failed.
        host:
          type: string
          description: The server host name of the integration location.
        fullPath:
          type: string
          description: The full filepath of the integration location.
        state:
          type: string
          description: The state of the last integration copy request.
        version:
          type: integer
          description: The repository representation version. The version is 2.
          default: 1
        links:
          type: array
          description: 'Links that apply to this file resource. The links are: "self", "content", "patch", "update", and "delete".'
          items:
            $ref: "#/components/schemas/link"
    analyticStoreCollection:
      title: Analytic Store Collection
      description: A collection of analytic store representations.
      allOf:
        - $ref: "#/components/schemas/baseCollection2"
        - type: object
          properties:
            name:
              type: string
              description: The name of the `analyticStores` collection in the context of the request.
            accept:
              type: string
              description: application/vnd.sas.collection
            items:
              type: array
              description: An array of `application/vnd.sas.models.analytic.store`.
              items:
                $ref: "#/components/schemas/analyticStore"
    userDefinedTagCollection:
      title: User-Defined Tags Collection
      description: A collection of user-defined tags.
      allOf:
        - $ref: "#/components/schemas/baseCollection2"
        - type: object
          properties:
            items:
              type: array
              description: An array of model representations.
              items:
                $ref: "#/components/schemas/userDefinedTag"
    userDefinedTag:
      title: User-Defined Tags
      description: Contains information about a user-defined tag.
      properties:
        version:
          type: integer
          description: The version of the user-defined tag.
          default: 0
        id:
          type: string
          description: The UUID of user-defined tag.
        name:
          type: string
          description: The name of user-defined tag.
        creationTimeStamp:
          type: string
          description: The create timeStamp of the user-defined tags.
          default: 0001-01-01T00:00:00Z
        modifiedTimeStamp:
          type: string
          description: The last modify timeStamp of the user-defined tags.
          default: 0001-01-01T00:00:00Z
    modelHealthMetricsCollection:
      title: Model Health Metrics Collection
      description: A collection of training health metrics for a model.
      properties:
        items:
          $ref: "#/components/schemas/modelHealthMetrics"
        isDefault:
          type: boolean
          description: Whether the metric thresholds are the default.
    modelHealthMetrics:
      title: Model Health Metrics
      description: Contains model health metrics for the training data that is associated with a model.
      properties:
        category:
          type: string
          description: The category of the metric.
        metric:
          type: string
          description: The name of the metric.
        variable:
          type: string
          description: The variable associated with the metric (if applicable).
        threshold:
          type: string
          description: The alert threshold associated with the metric.
        value:
          type: string
          description: The value of the metric with respect to the training data.
        success:
          type: boolean
          description: Whether the model is passing or failing this metric.
    classificationMatrix:
      title: Misclassification Metrics
      description: Contains the misclassification metrics for a model.
      properties:
        validateEventCorrect:
          type: integer
          description: The number of true positives (TP) during the validation phase.
        validateEventIncorrect:
          type: integer
          description: The number of false positives (FP) during the validation phase.
        validateNonEventCorrect:
          type: integer
          description: The number of true negatives (TN) during the validation phase.
        validateNonEventIncorrect:
          type: integer
          description: The number of false negatives (FN) during the validation phase.
        trainEventCorrect:
          type: integer
          description: The number of true positives (TP) during the training phase.
        trainEventIncorrect:
          type: integer
          description: The number of false positives (FP) during the training phase.
        trainNonEventCorrect:
          type: integer
          description: The number of true negatives (TN) during the training phase.
        trainNonEventIncorrect:
          type: integer
          description: The number of false negatives (FN) during the training phase.
        testEventCorrect:
          type: integer
          description: The number of true positives (TP) during the testing phase.
        testEventIncorrect:
          type: integer
          description: The number of false positives (FP) during the testing phase.
        testNonEventCorrect:
          type: integer
          description: The number of true negatives (TN) during the testing phase.
        testNonEventIncorrect:
          type: integer
          description: The number of false negatives (FN) during the testing phase.
        event:
          type: string
          description: The label or type of the event being predicted (positive case).
        nEvent:
          type: string
          description: The label or type of the non-event being predicted (negative case).
    metricsCollection:
      title: Collection of Model Metrics
      description: Contains a list of evaluation metrics for a model in each phase (training, validation, testing).
      properties:
        train:
          $ref: "#/components/schemas/metrics"
        validate:
          $ref: "#/components/schemas/metrics"
        test:
          $ref: "#/components/schemas/metrics"
    numericMetric:
      title: Model Numeric Metric
      description: A numeric evaluation metric that is associated with the model.
      properties:
        label:
          type: string
          description: The name of the metric.
        value:
          type: number
          description: The value of the metric.
    categoricalMetric:
      title: Model Categorical Metric
      description: A categorical evaluation metric associated with the model.
      properties:
        label:
          type: string
          description: The name of the metric.
        value:
          type: string
          description: The value of the metric.
    metrics:
      title: Model Metrics
      description: Contains evaluation metrics for a model.
      properties:
        ase:
          $ref: "#/components/schemas/numericMetric"
        c:
          $ref: "#/components/schemas/numericMetric"
        div:
          $ref: "#/components/schemas/numericMetric"
        gamma:
          $ref: "#/components/schemas/numericMetric"
        gini:
          $ref: "#/components/schemas/numericMetric"
        ksPostCutoff:
          $ref: "#/components/schemas/numericMetric"
        ks:
          $ref: "#/components/schemas/numericMetric"
        mce:
          $ref: "#/components/schemas/numericMetric"
        mcll:
          $ref: "#/components/schemas/numericMetric"
        rase:
          $ref: "#/components/schemas/numericMetric"
        tau:
          $ref: "#/components/schemas/numericMetric"
        miscEvent:
          $ref: "#/components/schemas/numericMetric"
        miscKS:
          $ref: "#/components/schemas/numericMetric"
        mae:
          $ref: "#/components/schemas/numericMetric"
        msle:
          $ref: "#/components/schemas/numericMetric"
        rmae:
          $ref: "#/components/schemas/numericMetric"
        rmsle:
          $ref: "#/components/schemas/numericMetric"
        rsqaure:
          $ref: "#/components/schemas/numericMetric"
    generalizability:
      title: Generalizability Metrics
      description: Contains generalizability metrics of a model.
      properties:
        state:
          type: string
          description: The fit state of the model (for example, underfit, fit, or overfit).
        dataRole:
          type: string
          enum:
            - validate
            - test
          description: The data partition used for comparison with the training data.
    variableImportanceCollection:
      title: Collection of Variable Importances
      description: Contains importance of model variables.
      type: array
      items:
        $ref: "#/components/schemas/variableImportance"
    variableImportance:
      title: Variable Importance
      description: Importance of a specific model variable.
      properties:
        variable:
          type: string
          description: The name of the variable.
        importance:
          type: number
          description: The importance of the variables (0 to 1).
    fairnessMetricsCollection:
      title: Collection of Fairness Metrics
      description: The list of fairness metrics for a model.
      properties:
        items:
          type: object
          properties:
            variableName:
              type: array
              items:
                $ref: "#/components/schemas/fairnessMetrics"
    fairnessMetrics:
      title: Fairness Metrics
      description: The fairness metrics for a particular variable level.
      properties:
        mce:
          $ref: "#/components/schemas/numericMetric"
        mcll:
          $ref: "#/components/schemas/numericMetric"
        tpr:
          $ref: "#/components/schemas/numericMetric"
        ks:
          $ref: "#/components/schemas/numericMetric"
        ase:
          $ref: "#/components/schemas/numericMetric"
        rase:
          $ref: "#/components/schemas/numericMetric"
        predictedEvent:
          $ref: "#/components/schemas/numericMetric"
        avgyhat:
          $ref: "#/components/schemas/numericMetric"
        nobs:
          $ref: "#/components/schemas/numericMetric"
        level:
          $ref: "#/components/schemas/categoricalMetric"
    liftData:
      title: Lift Statistics
      description: Contains the lift statistics for a model.
      properties:
        depth:
          type: array
          description: The cumulative percentage of the data that is evaluated.
        meanP:
          type: array
          description: The predicted mean.
        meanT:
          type: array
          description: The target mean.
    tableInfo:
      title: Data Table Information
      description: Contains the information about a data table.
      properties:
        id:
          type: string
          description: The unique identifier of the table.
        name:
          type: string
          description: The name of the table.
        uri:
          type: string
          description: The URI of the table.
        label:
          type: string
          description: The label assigned to the table.
        description:
          type: string
          description: The description of the table.
        attributes:
          description: The attributes of the table.
          type: object
          properties:
            characterSet:
              type: string
              description: The character set that the table uses.
            columnCount:
              type: number
              description: The number of columns in the table.
            creator:
              type: string
              description: The name of the user that created the table.
            dateCreated:
              type: string
              description: The date on which the table was created.
            dateModified:
              type: string
              description: The date on which the table was last modified.
            editor:
              type: string
              description: The name of the user that last modified the table.
            encoding:
              type: string
              description: The string encoding the table uses.
            isLoaded:
              type: boolean
              description: Indicates whether the table is loaded into memory.
            reviewStatus:
              type: string
              description: The review status of the table.
            rowCount:
              type: number
              description: The number of rows in the table.
            source:
              type: string
              description: The source code of the table.
            sourceCaslib:
              type: string
              description: The source directory of the library in CAS.
            sourceName:
              type: string
              description: The table name in the source.
        sourceTableName:
          type: string
          description: The table name in the source.
        library:
          type: string
          description: The library where the table is located.
        server:
          type: string
          description: The server where the table is located.
        engine:
          type: string
          description: The engine table is on.
        path:
          type: string
          description: The path of the table.
        rowCount:
          type: number
          description: The number of rows in the table.
        dataSizeBytes:
          type: number
          description: The table size in bytes.
        columnCount:
          type: number
          description: The number of columns in the table.
        encoding:
          type: string
          description: The string encoding that the table uses.
        responsiblePart:
          type: string
          description: The party responsible for the table.
        createdBy:
          $ref: "#/components/schemas/userInformation"
        modifiedBy:
          $ref: "#/components/schemas/userInformation"
        dateCreated:
          type: string
          description: The date on which the table was created.
        dateModified:
          type: string
          description: The date on which the table was last modified.
        dateAnalyzed:
          type: string
          description: The date on which the table was last analyzed.
        tags:
          type: array
          description: The tags associated with the table.
        stats:
          description: The statistics associated with the data table.
          type: object
          properties:
            completenessPercent:
              type: number
              description: The percentage of the table rows that are complete.
            informationPrivacy:
              type: string
              description: The privacy classification of the table.
            minTimestamp:
              type: string
              description: The earliest timestamp present in the table.
            maxTimestamp:
              type: string
              description: The latest timestamp present in the table.
        region:
          type: string
          description: The region associated with data that is in the table.
        dataLocale:
          type: string
          description: The language locale used in the table.
        extendedTableAttributes:
          type: object
          description: Additional attributes of the table.
        businessDescription:
          type: string
          description: The business description of the table.
        reviewStatus:
          type: object
          description: The information about reviews of the table.
          properties:
            name:
              type: string
              description: The name of the review.
            label:
              type: string
              description: The review status label.
            ordinal:
              type: number
              description: The numerical representation of the review status.
        informationPrivacy:
          type: object
          description: The information privacy level of the table.
          properties:
            candidate:
              $ref: "#/components/schemas/informationPrivacy"
            notSensitive:
              $ref: "#/components/schemas/informationPrivacy"
            sensitive:
              $ref: "#/components/schemas/informationPrivacy"
            private:
              $ref: "#/components/schemas/informationPrivacy"
        columns:
          type: object
          description: The information about the columns in the data set.
    emailAddress:
      title: Email Address
      description: The email address that is associated with the table.
      properties:
        type:
          type: string
          description: The type of email address.
        email:
          type: string
          description: The email address.
    address:
      title: Physical Address
      description: The physical address associated with the table.
      properties:
        type:
          type: string
          description: The type of address.
        locality:
          type: string
          description: The locality of the address
        region:
          type: string
          description: The region for the address.
    informationPrivacy:
      description: Information privacy content that is associated with the table.
      properties:
        level:
          type: number
          description: The level of information privacy.
        label:
          type: string
          description: The information privacy label.
        description:
          type: string
          description: The description of information privacy.
        semanticTypes:
          type: array
          description: The types of data in the table.
        columnsBySemanticType:
          type: object
          description: The mapping between columns and their semantic types.
    userInformation:
      description: The information about the user of the table.
      properties:
        id:
          type: string
          description: The ID of the user.
        name:
          type: string
          description: The name of the user.
        title:
          type: string
          description: The title of the user.
        phoneNumbers:
          type: array
          description: The phone numbers for the user.
        emailAddresses:
          type: array
          description: The email addresses for the user.
          items:
            $ref: "#/components/schemas/emailAddress"
        addresses:
          type: array
          description: The addresses for the user.
          items:
            $ref: "#/components/schemas/address"
    link:
      title: Link
      type: object
      description: A link to a related operation or resource.
      required:
        - rel
      properties:
        method:
          type: string
          description: The HTTP method for the link.
        rel:
          type: string
          description: The relationship of the link to the resource.
        uri:
          type: string
          description: The relative URI for the link.
        href:
          type: string
          description: The URL for the link.
        title:
          type: string
          description: The title for the link.
        type:
          type: string
          description: The media type or link type for the link.
        itemType:
          type: string
          description: If this is a link to a container, `itemType` is the media type or link type for the items in the container.
        responseType:
          type: string
          description: The media type or link type of the response body for a `PUT`, `POST`, or `PATCH` operation.
        responseItemType:
          type: string
          description: The media type or link type of the items in the response body for a `PUT`, `POST`, or `PATCH` operation.
    baseCollection2:
      title: Base Collection
      description: This is a base schema used to define paginated collections of resources. This base schema is extended by other schemas in APIs by adding an 'items' array property. These extensions define the application/vnd.sas.collection media type (version 2)
      properties:
        name:
          type: string
          description: The name of the collection.
        start:
          type: integer
          description: The zero-based index of the first item in the collection.
          format: int64
        limit:
          type: integer
          description: The number of items that were requested for the collection.
        count:
          type: integer
          description: If populated indicates the number of items in the collection.
          format: int64
        accept:
          type: string
          description: A space-delimited list of media types from which an `Accept` header may be constructed.
        links:
          type: array
          description: The links that apply to the collection.
          items:
            $ref: "#/components/schemas/link"
        version:
          type: integer
          description: The version number of the collection representation. This representation is version 2.
    api:
      title: API
      description: The list of links to top-level resources and operations available from the root of the API.
      x-sas-media-type:
        name: application/vnd.sas.api
        version: 1
      required:
        - version
        - links
      properties:
        version:
          type: integer
          description: The version number of the API representation. This is version 1.
          minimum: 1
        links:
          description: The API's top-level links.
          type: array
          items:
            $ref: "#/components/schemas/link"
    error2:
      title: Error
      type: object
      description: The representation of an error.
      x-sas-media-type:
        name: application/vnd.sas.error
        version: 2
      required:
        - httpStatusCode
        - version
      properties:
        message:
          type: string
          description: The message for the error.
        id:
          type: string
          description: The string ID for the error.
        errorCode:
          type: integer
          description: The numeric ID for the error.
        httpStatusCode:
          type: integer
          description: The HTTP status code for the error.
        details:
          type: array
          description: Messages that provide additional details about the cause of the error.
          items:
            type: string
        remediation:
          type: string
          description: A message that describes how to resolve the error.
        errors:
          type: array
          description: Any additional errors that occurred.
          items:
            $ref: "#/components/schemas/error2"
        links:
          type: array
          description: The links that apply to the error.
          items:
            $ref: "#/components/schemas/link"
        version:
          type: integer
          description: The version number of the error representation. This representation is version 2.
  examples:
    getProjectUserProperties:
      description: The response showing all user-defined properties for a project.
      value:
        version: 2
        accept: application/json
        count: 22
        start: 0
        limit: 20
        name: userProperties
        items:
          - name: keyA
            value: valueB
            type: string
          - name: keyB
            value: valueA
            type: string
          - name: priority
            value: high
            type: string
          - name: priority2
            value: high
            type: string
        links:
          - method: GET
            rel: collection
            href: /modelRepository/projects/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties
            uri: /modelRepository/projects/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties
            type: application/vnd.sas.collection
            itemType: application/json
          - method: GET
            rel: next
            href: /modelRepository/projects/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties?start=20&limit=20&filter=eq%28projectId%2C+%27aaf8ff18-8c32-4772-8e47-40876cafbff7%27%29
            uri: /modelRepository/projects/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties?start=20&limit=20&filter=eq%28projectId%2C+%27aaf8ff18-8c32-4772-8e47-40876cafbff7%27%29
            type: application/vnd.sas.collection
            itemType: application/json
          - method: GET
            rel: self
            href: /modelRepository/projects/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties?start=0&limit=20&filter=eq%28projectId%2C+%27aaf8ff18-8c32-4772-8e47-40876cafbff7%27%29
            uri: /modelRepository/projects/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties?start=0&limit=20&filter=eq%28projectId%2C+%27aaf8ff18-8c32-4772-8e47-40876cafbff7%27%29
            type: application/vnd.sas.collection
            itemType: application/json
          - method: POST
            rel: create
            href: /modelRepository/projects/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties
            uri: /modelRepository/projects/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties
            type: application/json
    generalNotFoundError:
      description: The response for a not found error.
      value:
        version: 2
        httpStatusCode: 404
    getChampionResponse:
      description: The response for retrieving the project champion model.
      value:
        creationTimeStamp: 2024-03-26T21:17:42.157Z
        createdBy: sasdemo
        modifiedTimeStamp: 2024-03-26T21:18:18.544Z
        modifiedBy: sasdemo
        id: 2ba7d14e-616f-49fd-9a87-875f92704e8f
        name: Logistic Regression (Pipeline 1)
        role: champion
        scoreCodeType: dataStep
        algorithm: logisticreg
        function: classification
        modeler: sasdemo
        modelType: dataStep
        trainTable: /dataTables/dataSources/cas~fs~cas-shared-default~fs~Public/tables/HMEQ_TRAIN
        eventProbVar: P_BAD1
        targetVariable: BAD
        targetEvent: "1"
        targetLevel: binary
        tool: Model Studio
        toolVersion: V2024.04
        candidateChampion: true
        externalModelId: 962e6bc4-5c51-431d-9ed8-69fda31de9e6
        eventPercentage: "19.9916"
        version: 2
        indirectFolderId: 9df1ea1f-8a1f-4691-ac81-394b1718cd72
        repositoryId: 7e81f6d1-fe19-411a-b45d-671fb6e1fea3
        projectId: aa5f2979-89f2-466f-8ecd-04f02abf776a
        projectVersionId: 51170394-1acf-4a28-8cce-8e2da94ae094
        immutable: false
        folderRef: /folders/folders/0c3e019a-e932-43c3-abfd-da58fe41d6d8
        location: /Model Repositories/DMRepository/MyProject1/Version 1
        modelVersionName: "1.1"
        projectName: MyProject1
        projectVersionName: Version 1
        projectVersionNum: "1.0"
        files:
          - creationTimeStamp: 2024-03-26T21:17:42.711174Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:42.711174Z
            modifiedBy: sasdemo
            version: 2
            id: d3fcb628-8826-4385-a13f-6c3ea4221375
            name: master.json
            fileUri: /files/files/d9f0b901-64cd-4928-8aa0-46e5f95ff0ab
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/d3fcb628-8826-4385-a13f-6c3ea4221375
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/d3fcb628-8826-4385-a13f-6c3ea4221375
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/d3fcb628-8826-4385-a13f-6c3ea4221375/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/d3fcb628-8826-4385-a13f-6c3ea4221375
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/d3fcb628-8826-4385-a13f-6c3ea4221375
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/d3fcb628-8826-4385-a13f-6c3ea4221375
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/d3fcb628-8826-4385-a13f-6c3ea4221375
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/d3fcb628-8826-4385-a13f-6c3ea4221375
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/d3fcb628-8826-4385-a13f-6c3ea4221375
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/d3fcb628-8826-4385-a13f-6c3ea4221375
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/d3fcb628-8826-4385-a13f-6c3ea4221375
          - creationTimeStamp: 2024-03-26T21:17:43.004753Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:43.004754Z
            modifiedBy: sasdemo
            version: 2
            id: b14043ca-8cd7-49b7-98da-7ff190e9c2cb
            name: ScoreCode188726180996081256.sas
            fileUri: /files/files/b6688731-9eb5-4bb1-914d-181ef5da2c14
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b14043ca-8cd7-49b7-98da-7ff190e9c2cb
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b14043ca-8cd7-49b7-98da-7ff190e9c2cb
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b14043ca-8cd7-49b7-98da-7ff190e9c2cb/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b14043ca-8cd7-49b7-98da-7ff190e9c2cb
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b14043ca-8cd7-49b7-98da-7ff190e9c2cb
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b14043ca-8cd7-49b7-98da-7ff190e9c2cb
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b14043ca-8cd7-49b7-98da-7ff190e9c2cb
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b14043ca-8cd7-49b7-98da-7ff190e9c2cb
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b14043ca-8cd7-49b7-98da-7ff190e9c2cb
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b14043ca-8cd7-49b7-98da-7ff190e9c2cb
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b14043ca-8cd7-49b7-98da-7ff190e9c2cb
          - creationTimeStamp: 2024-03-26T21:17:43.322212Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:43.322212Z
            modifiedBy: sasdemo
            version: 2
            id: 14411f3c-1208-4973-9425-38a57338ecec
            name: ModelProperties.json
            fileUri: /files/files/117c53b1-ddd5-4620-95ab-dc8d18e163c5
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/14411f3c-1208-4973-9425-38a57338ecec
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/14411f3c-1208-4973-9425-38a57338ecec
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/14411f3c-1208-4973-9425-38a57338ecec/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/14411f3c-1208-4973-9425-38a57338ecec
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/14411f3c-1208-4973-9425-38a57338ecec
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/14411f3c-1208-4973-9425-38a57338ecec
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/14411f3c-1208-4973-9425-38a57338ecec
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/14411f3c-1208-4973-9425-38a57338ecec
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/14411f3c-1208-4973-9425-38a57338ecec
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/14411f3c-1208-4973-9425-38a57338ecec
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/14411f3c-1208-4973-9425-38a57338ecec
          - creationTimeStamp: 2024-03-26T21:17:43.698358Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:43.698359Z
            modifiedBy: sasdemo
            version: 2
            id: 6fdc3e0d-c077-4921-9183-fe8ebb24de30
            name: dmcas_properties.json
            fileUri: /files/files/3f20d507-658f-4dda-bc08-78a7025ff017
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6fdc3e0d-c077-4921-9183-fe8ebb24de30
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6fdc3e0d-c077-4921-9183-fe8ebb24de30
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6fdc3e0d-c077-4921-9183-fe8ebb24de30/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6fdc3e0d-c077-4921-9183-fe8ebb24de30
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6fdc3e0d-c077-4921-9183-fe8ebb24de30
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6fdc3e0d-c077-4921-9183-fe8ebb24de30
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6fdc3e0d-c077-4921-9183-fe8ebb24de30
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6fdc3e0d-c077-4921-9183-fe8ebb24de30
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6fdc3e0d-c077-4921-9183-fe8ebb24de30
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6fdc3e0d-c077-4921-9183-fe8ebb24de30
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6fdc3e0d-c077-4921-9183-fe8ebb24de30
          - creationTimeStamp: 2024-03-26T21:17:44.066954Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:44.066955Z
            modifiedBy: sasdemo
            version: 2
            id: 6f49b705-1ec2-4310-8666-31f4cde1c926
            name: dmcas_roc.json
            fileUri: /files/files/a7709861-4d42-4873-9285-b0e0679615d8
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6f49b705-1ec2-4310-8666-31f4cde1c926
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6f49b705-1ec2-4310-8666-31f4cde1c926
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6f49b705-1ec2-4310-8666-31f4cde1c926/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6f49b705-1ec2-4310-8666-31f4cde1c926
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6f49b705-1ec2-4310-8666-31f4cde1c926
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6f49b705-1ec2-4310-8666-31f4cde1c926
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6f49b705-1ec2-4310-8666-31f4cde1c926
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6f49b705-1ec2-4310-8666-31f4cde1c926
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6f49b705-1ec2-4310-8666-31f4cde1c926
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6f49b705-1ec2-4310-8666-31f4cde1c926
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/6f49b705-1ec2-4310-8666-31f4cde1c926
          - creationTimeStamp: 2024-03-26T21:17:44.394016Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:44.394016Z
            modifiedBy: sasdemo
            version: 2
            id: 24ca7e40-7913-419d-9956-6d539a7652e3
            name: dmcas_modelInfo.json
            fileUri: /files/files/631c3d3f-ffaa-40de-b101-e5cb9232bbcd
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/24ca7e40-7913-419d-9956-6d539a7652e3
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/24ca7e40-7913-419d-9956-6d539a7652e3
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/24ca7e40-7913-419d-9956-6d539a7652e3/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/24ca7e40-7913-419d-9956-6d539a7652e3
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/24ca7e40-7913-419d-9956-6d539a7652e3
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/24ca7e40-7913-419d-9956-6d539a7652e3
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/24ca7e40-7913-419d-9956-6d539a7652e3
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/24ca7e40-7913-419d-9956-6d539a7652e3
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/24ca7e40-7913-419d-9956-6d539a7652e3
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/24ca7e40-7913-419d-9956-6d539a7652e3
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/24ca7e40-7913-419d-9956-6d539a7652e3
          - creationTimeStamp: 2024-03-26T21:17:44.580432Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:44.580432Z
            modifiedBy: sasdemo
            version: 2
            id: b6370dd4-e2f7-48e4-bcf2-52cdeb04892b
            name: dmcas_packagemetadata.json
            fileUri: /files/files/1ed8a0b1-91c0-4b64-8af2-d8689722680e
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b6370dd4-e2f7-48e4-bcf2-52cdeb04892b
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b6370dd4-e2f7-48e4-bcf2-52cdeb04892b
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b6370dd4-e2f7-48e4-bcf2-52cdeb04892b/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b6370dd4-e2f7-48e4-bcf2-52cdeb04892b
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b6370dd4-e2f7-48e4-bcf2-52cdeb04892b
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b6370dd4-e2f7-48e4-bcf2-52cdeb04892b
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b6370dd4-e2f7-48e4-bcf2-52cdeb04892b
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b6370dd4-e2f7-48e4-bcf2-52cdeb04892b
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b6370dd4-e2f7-48e4-bcf2-52cdeb04892b
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b6370dd4-e2f7-48e4-bcf2-52cdeb04892b
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b6370dd4-e2f7-48e4-bcf2-52cdeb04892b
          - creationTimeStamp: 2024-03-26T21:17:44.830377Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:44.830377Z
            modifiedBy: sasdemo
            version: 2
            id: c9e5e841-87dc-4f2b-8400-22df8eb4be06
            name: dmcas_relativeimportance.json
            fileUri: /files/files/a952e49f-185e-4de1-a1a5-58f71d2e074a
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/c9e5e841-87dc-4f2b-8400-22df8eb4be06
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/c9e5e841-87dc-4f2b-8400-22df8eb4be06
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/c9e5e841-87dc-4f2b-8400-22df8eb4be06/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/c9e5e841-87dc-4f2b-8400-22df8eb4be06
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/c9e5e841-87dc-4f2b-8400-22df8eb4be06
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/c9e5e841-87dc-4f2b-8400-22df8eb4be06
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/c9e5e841-87dc-4f2b-8400-22df8eb4be06
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/c9e5e841-87dc-4f2b-8400-22df8eb4be06
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/c9e5e841-87dc-4f2b-8400-22df8eb4be06
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/c9e5e841-87dc-4f2b-8400-22df8eb4be06
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/c9e5e841-87dc-4f2b-8400-22df8eb4be06
          - creationTimeStamp: 2024-03-26T21:17:45.265282Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:45.265283Z
            modifiedBy: sasdemo
            version: 2
            id: 3be56c5c-6412-4ffc-8843-0e113c6c1314
            name: dmcas_miscTable.json
            fileUri: /files/files/27ef7aaf-074a-4b03-bd40-132b1d688030
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/3be56c5c-6412-4ffc-8843-0e113c6c1314
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/3be56c5c-6412-4ffc-8843-0e113c6c1314
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/3be56c5c-6412-4ffc-8843-0e113c6c1314/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/3be56c5c-6412-4ffc-8843-0e113c6c1314
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/3be56c5c-6412-4ffc-8843-0e113c6c1314
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/3be56c5c-6412-4ffc-8843-0e113c6c1314
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/3be56c5c-6412-4ffc-8843-0e113c6c1314
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/3be56c5c-6412-4ffc-8843-0e113c6c1314
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/3be56c5c-6412-4ffc-8843-0e113c6c1314
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/3be56c5c-6412-4ffc-8843-0e113c6c1314
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/3be56c5c-6412-4ffc-8843-0e113c6c1314
          - creationTimeStamp: 2024-03-26T21:17:45.792553Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:45.792554Z
            modifiedBy: sasdemo
            version: 2
            id: b71e3f50-d13f-4b12-af90-d1fc027f4795
            name: dmcas_lift.json
            fileUri: /files/files/4c877e54-08a6-4b9b-858b-945da024ca60
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b71e3f50-d13f-4b12-af90-d1fc027f4795
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b71e3f50-d13f-4b12-af90-d1fc027f4795
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b71e3f50-d13f-4b12-af90-d1fc027f4795/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b71e3f50-d13f-4b12-af90-d1fc027f4795
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b71e3f50-d13f-4b12-af90-d1fc027f4795
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b71e3f50-d13f-4b12-af90-d1fc027f4795
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b71e3f50-d13f-4b12-af90-d1fc027f4795
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b71e3f50-d13f-4b12-af90-d1fc027f4795
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b71e3f50-d13f-4b12-af90-d1fc027f4795
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b71e3f50-d13f-4b12-af90-d1fc027f4795
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/b71e3f50-d13f-4b12-af90-d1fc027f4795
          - creationTimeStamp: 2024-03-26T21:17:46.319545Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:46.319545Z
            modifiedBy: sasdemo
            version: 2
            id: aa521f46-1a6c-410a-b3f1-7ff746738df5
            name: dmcas_targetInfo.json
            fileUri: /files/files/c6946d29-56d8-47d2-aed7-cd0cf72bb942
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/aa521f46-1a6c-410a-b3f1-7ff746738df5
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/aa521f46-1a6c-410a-b3f1-7ff746738df5
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/aa521f46-1a6c-410a-b3f1-7ff746738df5/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/aa521f46-1a6c-410a-b3f1-7ff746738df5
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/aa521f46-1a6c-410a-b3f1-7ff746738df5
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/aa521f46-1a6c-410a-b3f1-7ff746738df5
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/aa521f46-1a6c-410a-b3f1-7ff746738df5
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/aa521f46-1a6c-410a-b3f1-7ff746738df5
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/aa521f46-1a6c-410a-b3f1-7ff746738df5
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/aa521f46-1a6c-410a-b3f1-7ff746738df5
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/aa521f46-1a6c-410a-b3f1-7ff746738df5
          - creationTimeStamp: 2024-03-26T21:17:46.593545Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:46.593545Z
            modifiedBy: sasdemo
            version: 2
            id: 90718368-dea9-4e95-8539-4f7cbc9fd8f6
            name: dmcas_fitstat.json
            fileUri: /files/files/8912ef39-5b2b-4a68-8233-df4b5e1dc42c
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/90718368-dea9-4e95-8539-4f7cbc9fd8f6
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/90718368-dea9-4e95-8539-4f7cbc9fd8f6
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/90718368-dea9-4e95-8539-4f7cbc9fd8f6/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/90718368-dea9-4e95-8539-4f7cbc9fd8f6
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/90718368-dea9-4e95-8539-4f7cbc9fd8f6
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/90718368-dea9-4e95-8539-4f7cbc9fd8f6
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/90718368-dea9-4e95-8539-4f7cbc9fd8f6
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/90718368-dea9-4e95-8539-4f7cbc9fd8f6
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/90718368-dea9-4e95-8539-4f7cbc9fd8f6
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/90718368-dea9-4e95-8539-4f7cbc9fd8f6
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/90718368-dea9-4e95-8539-4f7cbc9fd8f6
          - creationTimeStamp: 2024-03-26T21:17:46.896109Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:46.89611Z
            modifiedBy: sasdemo
            version: 2
            id: 74b2021b-7dd1-4cef-87dd-bc7d61e16dec
            name: dmcas_packagescorecode.sas
            fileUri: /files/files/ce004fa1-364c-40ab-917d-a4f1ded36e49
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/74b2021b-7dd1-4cef-87dd-bc7d61e16dec
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/74b2021b-7dd1-4cef-87dd-bc7d61e16dec
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/74b2021b-7dd1-4cef-87dd-bc7d61e16dec/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/74b2021b-7dd1-4cef-87dd-bc7d61e16dec
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/74b2021b-7dd1-4cef-87dd-bc7d61e16dec
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/74b2021b-7dd1-4cef-87dd-bc7d61e16dec
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/74b2021b-7dd1-4cef-87dd-bc7d61e16dec
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/74b2021b-7dd1-4cef-87dd-bc7d61e16dec
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/74b2021b-7dd1-4cef-87dd-bc7d61e16dec
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/74b2021b-7dd1-4cef-87dd-bc7d61e16dec
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/74b2021b-7dd1-4cef-87dd-bc7d61e16dec
          - creationTimeStamp: 2024-03-26T21:17:47.188294Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:47.188295Z
            modifiedBy: sasdemo
            version: 2
            id: 18c338f0-4f0c-4de9-bc28-61e04e287627
            name: dmcas_misc.json
            fileUri: /files/files/b1b85756-9427-4e42-92c7-df157013af57
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/18c338f0-4f0c-4de9-bc28-61e04e287627
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/18c338f0-4f0c-4de9-bc28-61e04e287627
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/18c338f0-4f0c-4de9-bc28-61e04e287627/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/18c338f0-4f0c-4de9-bc28-61e04e287627
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/18c338f0-4f0c-4de9-bc28-61e04e287627
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/18c338f0-4f0c-4de9-bc28-61e04e287627
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/18c338f0-4f0c-4de9-bc28-61e04e287627
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/18c338f0-4f0c-4de9-bc28-61e04e287627
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/18c338f0-4f0c-4de9-bc28-61e04e287627
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/18c338f0-4f0c-4de9-bc28-61e04e287627
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/18c338f0-4f0c-4de9-bc28-61e04e287627
          - creationTimeStamp: 2024-03-26T21:17:47.704164Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:47.704165Z
            modifiedBy: sasdemo
            version: 2
            id: a447fba4-0e2a-4b8e-820f-f7177571f15a
            name: dmcas_scorecode.sas
            role: score
            fileUri: /files/files/182880e6-b3f4-4019-8c2a-4ec63fe93c3a
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a447fba4-0e2a-4b8e-820f-f7177571f15a
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a447fba4-0e2a-4b8e-820f-f7177571f15a
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a447fba4-0e2a-4b8e-820f-f7177571f15a/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a447fba4-0e2a-4b8e-820f-f7177571f15a
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a447fba4-0e2a-4b8e-820f-f7177571f15a
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a447fba4-0e2a-4b8e-820f-f7177571f15a
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a447fba4-0e2a-4b8e-820f-f7177571f15a
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a447fba4-0e2a-4b8e-820f-f7177571f15a
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a447fba4-0e2a-4b8e-820f-f7177571f15a
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a447fba4-0e2a-4b8e-820f-f7177571f15a
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a447fba4-0e2a-4b8e-820f-f7177571f15a
          - creationTimeStamp: 2024-03-26T21:17:48.162785Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:48.162785Z
            modifiedBy: sasdemo
            version: 2
            id: 1a26035a-002b-4d77-bb58-de559850304f
            name: paramests.json
            fileUri: /files/files/c5009a6e-fb65-43da-a5a6-573f10ea9088
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/1a26035a-002b-4d77-bb58-de559850304f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/1a26035a-002b-4d77-bb58-de559850304f
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/1a26035a-002b-4d77-bb58-de559850304f/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/1a26035a-002b-4d77-bb58-de559850304f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/1a26035a-002b-4d77-bb58-de559850304f
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/1a26035a-002b-4d77-bb58-de559850304f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/1a26035a-002b-4d77-bb58-de559850304f
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/1a26035a-002b-4d77-bb58-de559850304f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/1a26035a-002b-4d77-bb58-de559850304f
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/1a26035a-002b-4d77-bb58-de559850304f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/1a26035a-002b-4d77-bb58-de559850304f
          - creationTimeStamp: 2024-03-26T21:17:48.582651Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:48.582651Z
            modifiedBy: sasdemo
            version: 2
            id: a950b3a5-3549-45d3-9d08-fa0c241dcaf4
            name: dmcas_scoreinputs.json
            fileUri: /files/files/f1b60226-5868-4b46-8918-40d75d21931c
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a950b3a5-3549-45d3-9d08-fa0c241dcaf4
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a950b3a5-3549-45d3-9d08-fa0c241dcaf4
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a950b3a5-3549-45d3-9d08-fa0c241dcaf4/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a950b3a5-3549-45d3-9d08-fa0c241dcaf4
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a950b3a5-3549-45d3-9d08-fa0c241dcaf4
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a950b3a5-3549-45d3-9d08-fa0c241dcaf4
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a950b3a5-3549-45d3-9d08-fa0c241dcaf4
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a950b3a5-3549-45d3-9d08-fa0c241dcaf4
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a950b3a5-3549-45d3-9d08-fa0c241dcaf4
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a950b3a5-3549-45d3-9d08-fa0c241dcaf4
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/a950b3a5-3549-45d3-9d08-fa0c241dcaf4
          - creationTimeStamp: 2024-03-26T21:17:48.998656Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:48.998657Z
            modifiedBy: sasdemo
            version: 2
            id: f3e1cdf3-a84c-4153-8986-3dfdfd1059cb
            name: dmcas_scoreoutputs.json
            fileUri: /files/files/86dce0ec-ad8d-4387-aadb-b95910a81ec0
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/f3e1cdf3-a84c-4153-8986-3dfdfd1059cb
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/f3e1cdf3-a84c-4153-8986-3dfdfd1059cb
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/f3e1cdf3-a84c-4153-8986-3dfdfd1059cb/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/f3e1cdf3-a84c-4153-8986-3dfdfd1059cb
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/f3e1cdf3-a84c-4153-8986-3dfdfd1059cb
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/f3e1cdf3-a84c-4153-8986-3dfdfd1059cb
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/f3e1cdf3-a84c-4153-8986-3dfdfd1059cb
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/f3e1cdf3-a84c-4153-8986-3dfdfd1059cb
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/f3e1cdf3-a84c-4153-8986-3dfdfd1059cb
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/f3e1cdf3-a84c-4153-8986-3dfdfd1059cb
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/f3e1cdf3-a84c-4153-8986-3dfdfd1059cb
          - creationTimeStamp: 2024-03-26T21:17:49.242853Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:49.242853Z
            modifiedBy: sasdemo
            version: 2
            id: 26b39c46-816b-4402-abd1-6c49d6ec05b5
            name: traincode.sas
            fileUri: /files/files/3366947f-697d-4196-9987-cf39e8299250
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/26b39c46-816b-4402-abd1-6c49d6ec05b5
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/26b39c46-816b-4402-abd1-6c49d6ec05b5
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/26b39c46-816b-4402-abd1-6c49d6ec05b5/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/26b39c46-816b-4402-abd1-6c49d6ec05b5
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/26b39c46-816b-4402-abd1-6c49d6ec05b5
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/26b39c46-816b-4402-abd1-6c49d6ec05b5
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/26b39c46-816b-4402-abd1-6c49d6ec05b5
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/26b39c46-816b-4402-abd1-6c49d6ec05b5
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/26b39c46-816b-4402-abd1-6c49d6ec05b5
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/26b39c46-816b-4402-abd1-6c49d6ec05b5
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/26b39c46-816b-4402-abd1-6c49d6ec05b5
          - creationTimeStamp: 2024-03-26T21:18:18.263404Z
            createdBy: anonymous
            modifiedTimeStamp: 2024-03-26T21:18:18.263405Z
            modifiedBy: anonymous
            version: 2
            id: 902eba00-da22-4eea-82e1-d5e67890a244
            name: ScoreCodeGen-ds2Package.sas
            fileUri: /files/files/5673541a-69fd-44ed-9b3f-b0a62f6e7128
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/902eba00-da22-4eea-82e1-d5e67890a244
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/902eba00-da22-4eea-82e1-d5e67890a244
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/902eba00-da22-4eea-82e1-d5e67890a244/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/902eba00-da22-4eea-82e1-d5e67890a244
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/902eba00-da22-4eea-82e1-d5e67890a244
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/902eba00-da22-4eea-82e1-d5e67890a244
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/902eba00-da22-4eea-82e1-d5e67890a244
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/902eba00-da22-4eea-82e1-d5e67890a244
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/902eba00-da22-4eea-82e1-d5e67890a244
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/902eba00-da22-4eea-82e1-d5e67890a244
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/902eba00-da22-4eea-82e1-d5e67890a244
          - creationTimeStamp: 2024-03-26T21:18:18.412664Z
            createdBy: anonymous
            modifiedTimeStamp: 2024-03-26T21:18:18.412664Z
            modifiedBy: anonymous
            version: 2
            id: fa76d8d0-7097-4808-a220-91aaf07a07d3
            name: ScoreCodeGen-ds2Package.log
            fileUri: /files/files/086b9c2a-6bd1-428e-a713-aad4593160a9
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/fa76d8d0-7097-4808-a220-91aaf07a07d3
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/fa76d8d0-7097-4808-a220-91aaf07a07d3
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/fa76d8d0-7097-4808-a220-91aaf07a07d3/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/fa76d8d0-7097-4808-a220-91aaf07a07d3
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/fa76d8d0-7097-4808-a220-91aaf07a07d3
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/fa76d8d0-7097-4808-a220-91aaf07a07d3
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/fa76d8d0-7097-4808-a220-91aaf07a07d3
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/fa76d8d0-7097-4808-a220-91aaf07a07d3
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/fa76d8d0-7097-4808-a220-91aaf07a07d3
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/fa76d8d0-7097-4808-a220-91aaf07a07d3
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/fa76d8d0-7097-4808-a220-91aaf07a07d3
          - creationTimeStamp: 2024-03-26T21:18:18.533608Z
            createdBy: anonymous
            modifiedTimeStamp: 2024-03-26T21:18:18.533609Z
            modifiedBy: anonymous
            version: 2
            id: e9a1e01f-8fea-40de-a992-d782c99c51c3
            name: ScoreCodeGen-ds2Package_code.sas
            fileUri: /files/files/f6e6d893-5da3-4b71-8b3a-b7b1afcc9cc2
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/e9a1e01f-8fea-40de-a992-d782c99c51c3
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/e9a1e01f-8fea-40de-a992-d782c99c51c3
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/e9a1e01f-8fea-40de-a992-d782c99c51c3/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/e9a1e01f-8fea-40de-a992-d782c99c51c3
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/e9a1e01f-8fea-40de-a992-d782c99c51c3
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/e9a1e01f-8fea-40de-a992-d782c99c51c3
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/e9a1e01f-8fea-40de-a992-d782c99c51c3
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/e9a1e01f-8fea-40de-a992-d782c99c51c3
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/e9a1e01f-8fea-40de-a992-d782c99c51c3
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/e9a1e01f-8fea-40de-a992-d782c99c51c3
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents/e9a1e01f-8fea-40de-a992-d782c99c51c3
        inputVariables:
          - creationTimeStamp: 2024-03-26T21:17:42.18182Z
            createdBy: anonymous
            modifiedTimeStamp: 2024-03-26T21:17:42.181821Z
            modifiedBy: anonymous
            name: DEROG
            description: ""
            role: input
            type: decimal
            level: nominal
            format: ""
            aggregation: ""
            length: 8
            id: f1348415-41d6-4577-be69-fc5639771e39
            holderId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: up
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/f1348415-41d6-4577-be69-fc5639771e39
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables
                type: application/vnd.sas.collection
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/f1348415-41d6-4577-be69-fc5639771e39
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/f1348415-41d6-4577-be69-fc5639771e39
                type: application/vnd.sas.models.model.variable
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/f1348415-41d6-4577-be69-fc5639771e39
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/f1348415-41d6-4577-be69-fc5639771e39
                type: application/vnd.sas.models.model.variable
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/f1348415-41d6-4577-be69-fc5639771e39
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/f1348415-41d6-4577-be69-fc5639771e39
                type: application/vnd.sas.models.model.variable
        outputVariables:
          - creationTimeStamp: 2024-03-26T21:17:42.181833Z
            createdBy: anonymous
            modifiedTimeStamp: 2024-03-26T21:17:42.181833Z
            modifiedBy: anonymous
            name: EM_CLASSIFICATION
            description: ""
            role: output
            type: string
            level: ""
            format: ""
            aggregation: ""
            length: 12
            id: 8a55a933-ae6b-4897-9a6e-81f307a18c08
            holderId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: up
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/8a55a933-ae6b-4897-9a6e-81f307a18c08
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables
                type: application/vnd.sas.collection
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/8a55a933-ae6b-4897-9a6e-81f307a18c08
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/8a55a933-ae6b-4897-9a6e-81f307a18c08
                type: application/vnd.sas.models.model.variable
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/8a55a933-ae6b-4897-9a6e-81f307a18c08
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/8a55a933-ae6b-4897-9a6e-81f307a18c08
                type: application/vnd.sas.models.model.variable
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/8a55a933-ae6b-4897-9a6e-81f307a18c08
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/8a55a933-ae6b-4897-9a6e-81f307a18c08
                type: application/vnd.sas.models.model.variable
          - creationTimeStamp: 2024-03-26T21:17:42.181836Z
            createdBy: anonymous
            modifiedTimeStamp: 2024-03-26T21:17:42.181836Z
            modifiedBy: anonymous
            name: I_BAD
            description: ""
            role: output
            type: string
            level: ""
            format: ""
            aggregation: ""
            length: 12
            id: d3ac839d-d7a0-4a21-a4c3-5bb08d3ef374
            holderId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            links:
              - method: GET
                rel: up
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/d3ac839d-d7a0-4a21-a4c3-5bb08d3ef374
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables
                type: application/vnd.sas.collection
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/d3ac839d-d7a0-4a21-a4c3-5bb08d3ef374
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/d3ac839d-d7a0-4a21-a4c3-5bb08d3ef374
                type: application/vnd.sas.models.model.variable
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/d3ac839d-d7a0-4a21-a4c3-5bb08d3ef374
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/d3ac839d-d7a0-4a21-a4c3-5bb08d3ef374
                type: application/vnd.sas.models.model.variable
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/d3ac839d-d7a0-4a21-a4c3-5bb08d3ef374
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/d3ac839d-d7a0-4a21-a4c3-5bb08d3ef374
                type: application/vnd.sas.models.model.variable
          - creationTimeStamp: 2024-03-26T21:17:42.181834Z
            createdBy: anonymous
            modifiedTimeStamp: 2024-03-26T21:17:49.579337Z
            name: EM_EVENTPROBABILITY
            description: ""
            role: output
            type: decimal
            level: ""
            format: ""
            aggregation: ""
            length: 8
            id: d6d8620d-bed8-4907-a591-a4e2615eba53
            holderId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            projectVariableId: c1980be1-6644-4c18-a4cb-f799db2623ec
            links:
              - method: GET
                rel: up
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/d6d8620d-bed8-4907-a591-a4e2615eba53
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables
                type: application/vnd.sas.collection
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/d6d8620d-bed8-4907-a591-a4e2615eba53
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/d6d8620d-bed8-4907-a591-a4e2615eba53
                type: application/vnd.sas.models.model.variable
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/d6d8620d-bed8-4907-a591-a4e2615eba53
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/d6d8620d-bed8-4907-a591-a4e2615eba53
                type: application/vnd.sas.models.model.variable
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/d6d8620d-bed8-4907-a591-a4e2615eba53
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/d6d8620d-bed8-4907-a591-a4e2615eba53
                type: application/vnd.sas.models.model.variable
          - creationTimeStamp: 2024-03-26T21:17:42.181835Z
            createdBy: anonymous
            modifiedTimeStamp: 2024-03-26T21:17:49.764632Z
            name: EM_PROBABILITY
            description: ""
            role: output
            type: decimal
            level: ""
            format: ""
            aggregation: ""
            length: 8
            id: 4fb0acfa-1ae8-42d6-a665-972eb3266d2f
            holderId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            projectVariableId: c2633842-c8bd-49cd-b5c3-fe9c17e71ee4
            links:
              - method: GET
                rel: up
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/4fb0acfa-1ae8-42d6-a665-972eb3266d2f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables
                type: application/vnd.sas.collection
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/4fb0acfa-1ae8-42d6-a665-972eb3266d2f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/4fb0acfa-1ae8-42d6-a665-972eb3266d2f
                type: application/vnd.sas.models.model.variable
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/4fb0acfa-1ae8-42d6-a665-972eb3266d2f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/4fb0acfa-1ae8-42d6-a665-972eb3266d2f
                type: application/vnd.sas.models.model.variable
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/4fb0acfa-1ae8-42d6-a665-972eb3266d2f
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/4fb0acfa-1ae8-42d6-a665-972eb3266d2f
                type: application/vnd.sas.models.model.variable
          - creationTimeStamp: 2024-03-26T21:17:42.181837Z
            createdBy: anonymous
            modifiedTimeStamp: 2024-03-26T21:17:49.83929Z
            name: P_BAD0
            description: ""
            role: output
            type: decimal
            level: ""
            format: ""
            aggregation: ""
            length: 8
            id: 32e31b4c-28a9-44a7-ba26-123d3481ffac
            holderId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            projectVariableId: e82e1939-def9-4c19-b1b1-9d366f0a6928
            links:
              - method: GET
                rel: up
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/32e31b4c-28a9-44a7-ba26-123d3481ffac
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables
                type: application/vnd.sas.collection
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/32e31b4c-28a9-44a7-ba26-123d3481ffac
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/32e31b4c-28a9-44a7-ba26-123d3481ffac
                type: application/vnd.sas.models.model.variable
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/32e31b4c-28a9-44a7-ba26-123d3481ffac
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/32e31b4c-28a9-44a7-ba26-123d3481ffac
                type: application/vnd.sas.models.model.variable
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/32e31b4c-28a9-44a7-ba26-123d3481ffac
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/32e31b4c-28a9-44a7-ba26-123d3481ffac
                type: application/vnd.sas.models.model.variable
          - creationTimeStamp: 2024-03-26T21:17:42.181838Z
            createdBy: anonymous
            modifiedTimeStamp: 2024-03-26T21:17:49.934937Z
            name: P_BAD1
            description: ""
            role: output
            type: decimal
            level: ""
            format: ""
            aggregation: ""
            length: 8
            id: 4477b19b-7f52-4df8-af83-58428392b0ae
            holderId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            projectVariableId: 79c5daa5-41fe-42a5-8db9-ffb9b55dd233
            links:
              - method: GET
                rel: up
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/4477b19b-7f52-4df8-af83-58428392b0ae
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables
                type: application/vnd.sas.collection
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/4477b19b-7f52-4df8-af83-58428392b0ae
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/4477b19b-7f52-4df8-af83-58428392b0ae
                type: application/vnd.sas.models.model.variable
              - method: PUT
                rel: update
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/4477b19b-7f52-4df8-af83-58428392b0ae
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/4477b19b-7f52-4df8-af83-58428392b0ae
                type: application/vnd.sas.models.model.variable
              - method: DELETE
                rel: delete
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/4477b19b-7f52-4df8-af83-58428392b0ae
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables/4477b19b-7f52-4df8-af83-58428392b0ae
                type: application/vnd.sas.models.model.variable
        modelVersions:
          - creationTimeStamp: 2024-03-26T21:17:50.218Z
            createdBy: sasdemo
            modifiedTimeStamp: 2024-03-26T21:17:50.218Z
            modifiedBy: sasdemo
            id: 5d2c877e-6ff7-43f8-9fd2-bbedf483ff29
            name: Logistic Regression (Pipeline 1)
            role: champion
            scoreCodeType: dataStep
            algorithm: logisticreg
            function: classification
            modeler: sasdemo
            modelType: dataStep
            trainTable: /dataTables/dataSources/cas~fs~cas-shared-default~fs~Public/tables/HMEQ_TRAIN
            eventProbVar: P_BAD1
            targetVariable: BAD
            targetEvent: "1"
            targetLevel: BINARY
            tool: Model Studio
            toolVersion: V2024.04
            candidateChampion: true
            externalModelId: 962e6bc4-5c51-431d-9ed8-69fda31de9e6
            eventPercentage: "19.9916"
            immutable: true
            folderRef: /folders/folders/0c3e019a-e932-43c3-abfd-da58fe41d6d8
            modelVersionName: "1.0"
            inputVariables: []
            outputVariables: []
            modelVersions: []
            modelLocks: null
            globalTags: null
            links:
              - method: GET
                rel: up
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/modelVersions
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/modelVersions
                type: application/vnd.sas.collection
                itemType: application/vnd.sas.models.model.version
              - method: GET
                rel: self
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/modelVersions/5d2c877e-6ff7-43f8-9fd2-bbedf483ff29
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/modelVersions/5d2c877e-6ff7-43f8-9fd2-bbedf483ff29
                type: application/vnd.sas.models.model.version
              - method: GET
                rel: contents
                href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/modelVersions/5d2c877e-6ff7-43f8-9fd2-bbedf483ff29/contents
                uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/modelVersions/5d2c877e-6ff7-43f8-9fd2-bbedf483ff29/contents
                type: application/vnd.sas.collection
                itemType: application/vnd.sas.models.model.content
            version: 0
            modelId: 2ba7d14e-616f-49fd-9a87-875f92704e8f
            modelLastModifiedBy: sasdemo
            modelLastModifiedTimeStamp: 2024-03-26T21:17:50.12731Z
            modelCreatedBy: sasdemo
            modelCreationTimeStamp: 2024-03-26T21:17:42.157145Z
        modelLocks: null
        globalTags: null
        links:
          - method: GET
            rel: up
            href: /modelRepository/models
            uri: /modelRepository/models
            type: application/vnd.sas.models.model
          - method: GET
            rel: self
            href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
            uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
            type: application/vnd.sas.models.model
          - method: PUT
            rel: update
            href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
            uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
            type: application/vnd.sas.models.model
            responseItemType: application/vnd.sas.models.model
          - method: DELETE
            rel: delete
            href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
            uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f
          - method: GET
            rel: scoreCode
            href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/code
            uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/code
            type: text/plain
          - method: GET
            rel: contents
            href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents
            uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/contents
            type: application/vnd.sas.collection
            itemType: application/vnd.sas.models.model.content
          - method: GET
            rel: modelVersions
            href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/modelVersions
            uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/modelVersions
            type: application/vnd.sas.collection
            responseItemType: application/vnd.sas.models.model.version
          - method: POST
            rel: addModelVersion
            href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/modelVersions
            uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/modelVersions
            type: application/vnd.sas.models.model.version
          - method: GET
            rel: variables
            href: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables
            uri: /modelRepository/models/2ba7d14e-616f-49fd-9a87-875f92704e8f/variables
            type: application/vnd.sas.collection
            itemType: application/vnd.sas.models.model.variable
    getChampionScoreCodeResponse:
      description: "The score code for a champion model that is in these formats: ds2, raw, text/plain, and application/json."
      value:
        body: >
          *------------------------------------------------------------*;

          * DMCAS Release: 1.0;

          * SAS Release:           V.03.04M0P061718;

          * Site Number: 70180938;

          * Host:                  myserver.com;

          * Encoding:              utf-8;

          * Java Encoding:         UTF8;

          * Locale:                en_US;

          * Project GUID: 9a21d25e-945f-4dae-b20c-0321b8a3b775;

          * Node GUID: 0895f86a-dff5-4b5e-ab40-f7a53f476979;

          * Generated by:          sasdemo;

          * Date: 03JUL2018: 12: 33: 18

          *------------------------------------------------------------*;

          *------------------------------------------------------------*;

          *Nodeid: _IARB7QKDFQIUEMKP4IE8SHVD;

          *------------------------------------------------------------*;
             length _strfmt_ $12; drop _strfmt_;
             _strfmt_ = ' ';

             array _tlevname_10015615_{
              2
          } $12 _temporary_ ( '           1'
             '           0');

             array _dt_fi_10015615_{
              2
          } _temporary_;

             _node_id_ =  0;
             _new_id_  = -1;
             nextnode_10015615:
             if _node_id_ eq 0 then do;
                   _strfmt_ = left(trim(put(DELINQ,BEST12.)));
                   if _strfmt_ in ('4',
                   '1',
                   '0',
                   '3',
                   '2',
                   '.') then do;

                   _new_id_ = 1;
                   end;
                   else if _strfmt_ in ('10',
                   '5',
                   '7',
                   '6',
                   '8') then do;

                   _new_id_ = 2;
                   end;
                   else do;
                   _new_id_ = 1;
                   end;
             end;
             else if _node_id_ eq 1 then do;
                   _numval_ = DEBTINC;
                   if missing(_numval_) then do;
                      _node_id_ = 3;
                      goto nextnode_10015615;
                   end;
                   if (_numval_ ge 43.5520309368842 and _numval_ lt 143.949604953611) then do;

                      _new_id_ = 3;
                   end;
                   else if (_numval_ ge 0.52449921542988 and _numval_ lt 43.5520309368842) then do;

                      _new_id_ = 4;
                   end;
                   else if (_numval_ lt 0.52449921542988) then do;
                      _new_id_ = 4;
                   end;
                   else if (_numval_ ge 143.949604953611) then do;
                      _new_id_ = 3;
                   end;
                   else do;
                   _new_id_ = 4;
                   end;
             end;
             else if _node_id_ eq 2 then do;
                   _leaf_id_ = 2;
                   _new_id_ = -1;
                   _dt_pred_lev_ = 0;
                   _dt_pred_prob_ =                    1;
                   _dt_fi_10015615_{
              1
          } =                    1;
                   _dt_fi_10015615_{
              2
          } =                    0;
             end;
             else if _node_id_ eq 3 then do;
                   _strfmt_ = left(trim(put(DEROG,BEST12.)));
                   if _strfmt_ in ('1',
                   '0',
                   '2',
                   '.') then do;

                   _new_id_ = 5;
                   end;
                   else if _strfmt_ in ('4',
                   '7',
                   '6',
                   '3') then do;

                   _new_id_ = 6;
                   end;
                   else do;
                   _new_id_ = 5;
                   end;
             end;
             else if _node_id_ eq 4 then do;
                   _numval_ = VALUE;
                   if missing(_numval_) then do;
                      _node_id_ = 7;
                      goto nextnode_10015615;
                   end;
                   if (_numval_ ge 474844.95 and _numval_ lt 855909) then do;

                      _new_id_ = 7;
                   end;
                   else if (_numval_ ge 9100 and _numval_ lt 474844.95) then do;

                      _new_id_ = 8;
                   end;
                   else if (_numval_ lt 9100) then do;
                      _new_id_ = 8;
                   end;
                   else if (_numval_ ge 855909) then do;
                      _new_id_ = 7;
                   end;
                   else do;
                   _new_id_ = 8;
                   end;
             end;
             else if _node_id_ eq 5 then do;
                   _numval_ = VALUE;
                   if missing(_numval_) then do;
                      _node_id_ = 9;
                      goto nextnode_10015615;
                   end;
                   if (_numval_ ge 474844.95 and _numval_ lt 855909) then do;

                      _new_id_ = 9;
                   end;
                   else if (_numval_ ge 9100 and _numval_ lt 474844.95) then do;

                      _new_id_ = 10;
                   end;
                   else if (_numval_ lt 9100) then do;
                      _new_id_ = 10;
                   end;
                   else if (_numval_ ge 855909) then do;
                      _new_id_ = 9;
                   end;
                   else do;
                   _new_id_ = 10;
                   end;
             end;
             else if _node_id_ eq 6 then do;
                   _leaf_id_ = 6;
                   _new_id_ = -1;
                   _dt_pred_lev_ = 0;
                   _dt_pred_prob_ =                    1;
                   _dt_fi_10015615_{
              1
          } =                    1;
                   _dt_fi_10015615_{
              2
          } =                    0;
             end;
             else if _node_id_ eq 7 then do;
                   _leaf_id_ = 7;
                   _new_id_ = -1;
                   _dt_pred_lev_ = 0;
                   _dt_pred_prob_ =     0.72727272727272;
                   _dt_fi_10015615_{
              1
          } =     0.72727272727272;
                   _dt_fi_10015615_{
              2
          } =     0.27272727272727;
             end;
             else if _node_id_ eq 8 then do;
                   _leaf_id_ = 8;
                   _new_id_ = -1;
                   _dt_pred_lev_ = 1;
                   _dt_pred_prob_ =     0.94372693726937;
                   _dt_fi_10015615_{
              1
          } =     0.05627306273062;
                   _dt_fi_10015615_{
              2
          } =     0.94372693726937;
             end;
             else if _node_id_ eq 9 then do;
                   _leaf_id_ = 9;
                   _new_id_ = -1;
                   _dt_pred_lev_ = 0;
                   _dt_pred_prob_ =                    1;
                   _dt_fi_10015615_{
              1
          } =                    1;
                   _dt_fi_10015615_{
              2
          } =                    0;
             end;
             else if _node_id_ eq 10 then do;
                   _numval_ = DEBTINC;
                   if missing(_numval_) then do;
                      _node_id_ = 12;
                      goto nextnode_10015615;
                   end;
                   if (_numval_ ge 50.7232862237933 and _numval_ lt 143.949604953611) then do;

                      _new_id_ = 11;
                   end;
                   else if (_numval_ ge 0.52449921542988 and _numval_ lt 50.7232862237933) then do;

                      _new_id_ = 12;
                   end;
                   else if (_numval_ lt 0.52449921542988) then do;
                      _new_id_ = 12;
                   end;
                   else if (_numval_ ge 143.949604953611) then do;
                      _new_id_ = 11;
                   end;
                   else do;
                   _new_id_ = 12;
                   end;
             end;
             else if _node_id_ eq 11 then do;
                   _leaf_id_ = 11;
                   _new_id_ = -1;
                   _dt_pred_lev_ = 0;
                   _dt_pred_prob_ =                    1;
                   _dt_fi_10015615_{
              1
          } =                    1;
                   _dt_fi_10015615_{
              2
          } =                    0;
             end;
             else if _node_id_ eq 12 then do;
                   _strfmt_ = left(trim(put(DELINQ,BEST12.)));
                   if _strfmt_ in ('1',
                   '0',
                   '3',
                   '2',
                   '.') then do;

                   _new_id_ = 13;
                   end;
                   else if _strfmt_ in ('4') then do;

                   _new_id_ = 14;
                   end;
                   else do;
                   _new_id_ = 13;
                   end;
             end;
             else if _node_id_ eq 13 then do;
                   _strfmt_ = left(trim(put(DELINQ,BEST12.)));
                   if _strfmt_ in ('1',
                   '0',
                   '2',
                   '.') then do;

                   _new_id_ = 15;
                   end;
                   else if _strfmt_ in ('3') then do;

                   _new_id_ = 16;
                   end;
                   else do;
                   _new_id_ = 15;
                   end;
             end;
             else if _node_id_ eq 14 then do;
                   _leaf_id_ = 14;
                   _new_id_ = -1;
                   _dt_pred_lev_ = 0;
                   _dt_pred_prob_ =                    1;
                   _dt_fi_10015615_{
              1
          } =                    1;
                   _dt_fi_10015615_{
              2
          } =                    0;
             end;
             else if _node_id_ eq 15 then do;
                   _numval_ = CLAGE;
                   if missing(_numval_) then do;
                      _node_id_ = 18;
                      goto nextnode_10015615;
                   end;
                   if (_numval_ ge 175.235034141696 and _numval_ lt 1168.23356094464) then do;

                      _new_id_ = 17;
                   end;
                   else if (_numval_ ge 0 and _numval_ lt 175.235034141696) then do;

                      _new_id_ = 18;
                   end;
                   else if (_numval_ lt 0) then do;
                      _new_id_ = 18;
                   end;
                   else if (_numval_ ge 1168.23356094464) then do;
                      _new_id_ = 17;
                   end;
                   else do;
                   _new_id_ = 18;
                   end;
             end;
             else if _node_id_ eq 16 then do;
                   _leaf_id_ = 16;
                   _new_id_ = -1;
                   _dt_pred_lev_ = 0;
                   _dt_pred_prob_ =     0.93333333333333;
                   _dt_fi_10015615_{
              1
          } =     0.93333333333333;
                   _dt_fi_10015615_{
              2
          } =     0.06666666666666;
             end;
             else if _node_id_ eq 17 then do;
                   _leaf_id_ = 17;
                   _new_id_ = -1;
                   _dt_pred_lev_ = 1;
                   _dt_pred_prob_ =                 0.67;
                   _dt_fi_10015615_{
              1
          } =                 0.33;
                   _dt_fi_10015615_{
              2
          } =                 0.67;
             end;
             else if _node_id_ eq 18 then do;
                   _leaf_id_ = 18;
                   _new_id_ = -1;
                   _dt_pred_lev_ = 0;
                   _dt_pred_prob_ =     0.68181818181818;
                   _dt_fi_10015615_{
              1
          } =     0.68181818181818;
                   _dt_fi_10015615_{
              2
          } =     0.31818181818181;
             end;
             if _new_id_ >= 0 then do;
                 _node_id_ = _new_id_;
                goto nextnode_10015615;
             end;

             I_BAD = _tlevname_10015615_{_dt_pred_lev_+1
          };
             _i_ = 1;
             _dt_predp_ = _dt_fi_10015615_{_i_
          };
             P_BAD1 = _dt_predp_;
             _i_+1;
             _dt_predp_ = _dt_fi_10015615_{_i_
          };
             P_BAD0 = _dt_predp_;
             _i_+1;
             drop _dt_predp_;
             drop _i_;
             drop _dt_pred_lev_;
             drop _dt_pred_prob_;
             drop _numval_;
             drop _node_id_;
             drop _new_id_;



             *------------------------------------------------------------*;
             * Initializing missing posterior and classification variables ;
             *------------------------------------------------------------*;
             if "P_BAD0"n = . then "P_BAD0"n =0.8000839983;
             if "P_BAD1"n = . then "P_BAD1"n =0.1999160017;
             if missing('I_BAD'n) then do;
                drop _P_;
                _P_= 0.0 ;
                if 'P_BAD1'n > _P_ then do;
                _P_ = 'P_BAD1'n;
                'I_BAD'n = '1';
                end;
                if 'P_BAD0'n > _P_ then do;
                _P_ = 'P_BAD0'n;
                'I_BAD'n = '0';
                end;
             end;
          *------------------------------------------------------------*;

          * Generating fixed output names;

          *------------------------------------------------------------*;

          Length EM_EVENTPROBABILITY 8;

          LABEL EM_EVENTPROBABILITY = "Predicted for BAD =1";

          EM_EVENTPROBABILITY ='P_BAD1'n;

          LENGTH EM_CLASSIFICATION $32;

          LABEL EM_CLASSIFICATION= "Predicted for BAD";

          EM_CLASSIFICATION ='I_BAD'n;

          Length EM_PROBABILITY 8;

          LABEL EM_PROBABILITY = "Probability of Classification";

          EM_PROBABILITY = max('P_BAD1'n,'P_BAD0'n);
    getChampionScoreCodeDS2PackageResponse:
      description: The score code for a champion model that is of type ds2package.
      value:
        body: >-
          ds2_options sas tkgmac scond=none;
            package &SCOREPACK/overwrite=yes;
            #_local _P_;
            #_local _NEW_ID_;
            #_local _NODE_ID_;
            #_local _NUMVAL_;
            #_local _DT_PRED_PROB_;
            #_local _DT_PRED_LEV_;
            #_local _I_;
            #_local _DT_PREDP_;
            dcl double EM_EVENTPROBABILITY;
            dcl char(32) EM_CLASSIFICATION;
            dcl double EM_PROBABILITY;
            method score(double "CLAGE", double "DEBTINC", double "DELINQ", double
            "DEROG", double "VALUE", in_out char(12) "EM_CLASSIFICATION", in_out double
            "EM_EVENTPROBABILITY", in_out double "EM_PROBABILITY", in_out char(12)
            "I_BAD", in_out double "P_BAD0", in_out double "P_BAD1", in_out double
            "_leaf_id_");
            dcl char(12) _STRFMT_;
              dcl double _DT_FI_10015615_[
                  2
            ];
            dcl char(12) _TLEVNAME_10015615_[
              2
            ];
              _TLEVNAME_10015615_:=('           1', '           0');
            _STRFMT_ = ' ';
            _NODE_ID_ = 0.0;
            _NEW_ID_ = -1.0;
            NEXTNODE_10015615: if _NODE_ID_ = 0.0 then do ;
            _STRFMT_ = LEFT(TRIM(put(DELINQ, BEST12.)));
            if _STRFMT_ in ('4', '1', '0', '3', '2', '.') then do ;
            _NEW_ID_ = 1.0;
            end;
              else if _STRFMT_ in ('10', '5', '7', '6', '8') then do ;
            _NEW_ID_ = 2.0;
            end;
              else do ;
            _NEW_ID_ = 1.0;
            end;
            end;
              else if _NODE_ID_ = 1.0 then do ;
            _NUMVAL_ = DEBTINC;
            if MISSING(_NUMVAL_) then do ;
            _NODE_ID_ = 3.0;
            goto NEXTNODE_10015615;
            end;
            if (_NUMVAL_ >= 43.5520309368842 & _NUMVAL_ < 143.949604953611) then do
            ;
            _NEW_ID_ = 3.0;
            end;
              else if (_NUMVAL_ >= 0.52449921542988 & _NUMVAL_ < 43.5520309368842)
            then do ;
            _NEW_ID_ = 4.0;
            end;
              else if (_NUMVAL_ < 0.52449921542988) then do ;
            _NEW_ID_ = 4.0;
            end;
              else if (_NUMVAL_ >= 143.949604953611) then do ;
            _NEW_ID_ = 3.0;
            end;
              else do ;
            _NEW_ID_ = 4.0;
            end;
            end;
              else if _NODE_ID_ = 2.0 then do ;
            _LEAF_ID_ = 2.0;
            _NEW_ID_ = -1.0;
            _DT_PRED_LEV_ = 0.0;
            _DT_PRED_PROB_ = 1.0;
            _DT_FI_10015615_[
                1.0
            ] = 1.0;
            _DT_FI_10015615_[
                2.0
            ] = 0.0;
            end;
              else if _NODE_ID_ = 3.0 then do ;
            _STRFMT_ = LEFT(TRIM(put(DEROG, BEST12.)));
            if _STRFMT_ in ('1', '0', '2', '.') then do ;
            _NEW_ID_ = 5.0;
            end;
              else if _STRFMT_ in ('4', '7', '6', '3') then do ;
            _NEW_ID_ = 6.0;
            end;
              else do ;
            _NEW_ID_ = 5.0;
            end;
            end;
              else if _NODE_ID_ = 4.0 then do ;
            _NUMVAL_ = VALUE;
            if MISSING(_NUMVAL_) then do ;
            _NODE_ID_ = 7.0;
            goto NEXTNODE_10015615;
            end;
            if (_NUMVAL_ >= 474844.95 & _NUMVAL_ < 855909.0) then do ;
            _NEW_ID_ = 7.0;
            end;
              else if (_NUMVAL_ >= 9100.0 & _NUMVAL_ < 474844.95) then do ;
            _NEW_ID_ = 8.0;
            end;
              else if (_NUMVAL_ < 9100.0) then do ;
            _NEW_ID_ = 8.0;
            end;
              else if (_NUMVAL_ >= 855909.0) then do ;
            _NEW_ID_ = 7.0;
            end;
              else do ;
            _NEW_ID_ = 8.0;
            end;
            end;
              else if _NODE_ID_ = 5.0 then do ;
            _NUMVAL_ = VALUE;
            if MISSING(_NUMVAL_) then do ;
            _NODE_ID_ = 9.0;
            goto NEXTNODE_10015615;
            end;
            if (_NUMVAL_ >= 474844.95 & _NUMVAL_ < 855909.0) then do ;
            _NEW_ID_ = 9.0;
            end;
              else if (_NUMVAL_ >= 9100.0 & _NUMVAL_ < 474844.95) then do ;
            _NEW_ID_ = 10.0;
            end;
              else if (_NUMVAL_ < 9100.0) then do ;
            _NEW_ID_ = 10.0;
            end;
              else if (_NUMVAL_ >= 855909.0) then do ;
            _NEW_ID_ = 9.0;
            end;
              else do ;
            _NEW_ID_ = 10.0;
            end;
            end;
              else if _NODE_ID_ = 6.0 then do ;
            _LEAF_ID_ = 6.0;
            _NEW_ID_ = -1.0;
            _DT_PRED_LEV_ = 0.0;
            _DT_PRED_PROB_ = 1.0;
            _DT_FI_10015615_[
                1.0
            ] = 1.0;
            _DT_FI_10015615_[
                2.0
            ] = 0.0;
            end;
              else if _NODE_ID_ = 7.0 then do ;
            _LEAF_ID_ = 7.0;
            _NEW_ID_ = -1.0;
            _DT_PRED_LEV_ = 0.0;
            _DT_PRED_PROB_ = 0.72727272727272;
            _DT_FI_10015615_[
                1.0
            ] = 0.72727272727272;
            _DT_FI_10015615_[
                2.0
            ] = 0.27272727272727;
            end;
              else if _NODE_ID_ = 8.0 then do ;
            _LEAF_ID_ = 8.0;
            _NEW_ID_ = -1.0;
            _DT_PRED_LEV_ = 1.0;
            _DT_PRED_PROB_ = 0.94372693726937;
            _DT_FI_10015615_[
              1.0
            ] = 0.05627306273062;
            _DT_FI_10015615_[
              2.0
            ] = 0.94372693726937;
            end;
              else if _NODE_ID_ = 9.0 then do ;
            _LEAF_ID_ = 9.0;
            _NEW_ID_ = -1.0;
            _DT_PRED_LEV_ = 0.0;
            _DT_PRED_PROB_ = 1.0;
            _DT_FI_10015615_[
                1.0
            ] = 1.0;
            _DT_FI_10015615_[
                2.0
            ] = 0.0;
            end;
              else if _NODE_ID_ = 10.0 then do ;
            _NUMVAL_ = DEBTINC;
            if MISSING(_NUMVAL_) then do ;
            _NODE_ID_ = 12.0;
            goto NEXTNODE_10015615;
            end;
            if (_NUMVAL_ >= 50.7232862237933 & _NUMVAL_ < 143.949604953611) then do
            ;
            _NEW_ID_ = 11.0;
            end;
              else if (_NUMVAL_ >= 0.52449921542988 & _NUMVAL_ < 50.7232862237933)
            then do ;
            _NEW_ID_ = 12.0;
            end;
              else if (_NUMVAL_ < 0.52449921542988) then do ;
            _NEW_ID_ = 12.0;
            end;
              else if (_NUMVAL_ >= 143.949604953611) then do ;
            _NEW_ID_ = 11.0;
            end;
              else do ;
            _NEW_ID_ = 12.0;
            end;
            end;
              else if _NODE_ID_ = 11.0 then do ;
            _LEAF_ID_ = 11.0;
            _NEW_ID_ = -1.0;
            _DT_PRED_LEV_ = 0.0;
            _DT_PRED_PROB_ = 1.0;
            _DT_FI_10015615_[
                1.0
            ] = 1.0;
            _DT_FI_10015615_[
                2.0
            ] = 0.0;
            end;
              else if _NODE_ID_ = 12.0 then do ;
            _STRFMT_ = LEFT(TRIM(put(DELINQ, BEST12.)));
            if _STRFMT_ in ('1', '0', '3', '2', '.') then do ;
            _NEW_ID_ = 13.0;
            end;
              else if _STRFMT_ in ('4') then do ;
            _NEW_ID_ = 14.0;
            end;
              else do ;
            _NEW_ID_ = 13.0;
            end;
            end;
              else if _NODE_ID_ = 13.0 then do ;
            _STRFMT_ = LEFT(TRIM(put(DELINQ, BEST12.)));
            if _STRFMT_ in ('1', '0', '2', '.') then do ;
            _NEW_ID_ = 15.0;
            end;
              else if _STRFMT_ in ('3') then do ;
            _NEW_ID_ = 16.0;
            end;
              else do ;
            _NEW_ID_ = 15.0;
            end;
            end;
              else if _NODE_ID_ = 14.0 then do ;
            _LEAF_ID_ = 14.0;
            _NEW_ID_ = -1.0;
            _DT_PRED_LEV_ = 0.0;
            _DT_PRED_PROB_ = 1.0;
            _DT_FI_10015615_[
                1.0
            ] = 1.0;
            _DT_FI_10015615_[
                2.0
            ] = 0.0;
            end;
              else if _NODE_ID_ = 15.0 then do ;
            _NUMVAL_ = CLAGE;
            if MISSING(_NUMVAL_) then do ;
            _NODE_ID_ = 18.0;
            goto NEXTNODE_10015615;
            end;
            if (_NUMVAL_ >= 175.235034141696 & _NUMVAL_ < 1168.23356094464) then do
            ;
            _NEW_ID_ = 17.0;
            end;
              else if (_NUMVAL_ >= 0.0 & _NUMVAL_ < 175.235034141696) then do ;
            _NEW_ID_ = 18.0;
            end;
              else if (_NUMVAL_ < 0.0) then do ;
            _NEW_ID_ = 18.0;
            end;
              else if (_NUMVAL_ >= 1168.23356094464) then do ;
            _NEW_ID_ = 17.0;
            end;
              else do ;
            _NEW_ID_ = 18.0;
            end;
            end;
              else if _NODE_ID_ = 16.0 then do ;
            _LEAF_ID_ = 16.0;
            _NEW_ID_ = -1.0;
            _DT_PRED_LEV_ = 0.0;
            _DT_PRED_PROB_ = 0.93333333333333;
            _DT_FI_10015615_[
                1.0
            ] = 0.93333333333333;
            _DT_FI_10015615_[
                2.0
            ] = 0.06666666666666;
            end;
              else if _NODE_ID_ = 17.0 then do ;
            _LEAF_ID_ = 17.0;
            _NEW_ID_ = -1.0;
            _DT_PRED_LEV_ = 1.0;
            _DT_PRED_PROB_ = 0.67;
            _DT_FI_10015615_[
                1.0
            ] = 0.33;
            _DT_FI_10015615_[
                2.0
            ] = 0.67;
            end;
              else if _NODE_ID_ = 18.0 then do ;
            _LEAF_ID_ = 18.0;
            _NEW_ID_ = -1.0;
            _DT_PRED_LEV_ = 0.0;
            _DT_PRED_PROB_ = 0.68181818181818;
            _DT_FI_10015615_[
                1.0
            ] = 0.68181818181818;
            _DT_FI_10015615_[
                2.0
            ] = 0.31818181818181;
            end;
            if _NEW_ID_ >= 0.0 then do ;
            _NODE_ID_ = _NEW_ID_;
            goto NEXTNODE_10015615;
            end;
            I_BAD = _TLEVNAME_10015615_[_DT_PRED_LEV_ + 1.0
            ];
            _I_ = 1.0;
            _DT_PREDP_ = _DT_FI_10015615_[_I_
            ];
            P_BAD1 = _DT_PREDP_;
            _I_ + 1.0;
            _DT_PREDP_ = _DT_FI_10015615_[_I_
            ];
            P_BAD0 = _DT_PREDP_;
            _I_ + 1.0;
            if "P_BAD0" = . then "P_BAD0" = 0.8000839983;
            if "P_BAD1" = . then "P_BAD1" = 0.1999160017;
            if MISSING("I_BAD") then do ;
            _P_ = 0.0;
            if "P_BAD1" > _P_ then do ;
            _P_ = "P_BAD1";
            "I_BAD" = '1';
            end;
            if "P_BAD0" > _P_ then do ;
            _P_ = "P_BAD0";
            "I_BAD" = '0';
            end;
            end;
            EM_EVENTPROBABILITY = "P_BAD1";
            EM_CLASSIFICATION = "I_BAD";
            EM_PROBABILITY = MAX("P_BAD1",
            "P_BAD0");
            _return: ;
            end;
              endpackage;
    getGeneralizability:
      description: The response for retrieving the generalizability metrics for a model.
      value:
        state: fit
        dataRole: validate
    fileRelativeImportanceNotFoundError:
      description: The response for when the variable relative importance file (dmcas_relativeimportance.json) does not exist.
      value:
        version: 2
        httpStatusCode: 404
        message: Not Found
        details:
          - "File not found. ID: , Name: dmcas_relativeimportance.json"
          - "path: /modelRepository/models/2a655f00-7061-4dfb6d1187d88/fairnessMetrics"
          - "correlator: 2f58aae4-dcbd-4297-ae1f-dd72d0deac52"
    getModelVersionListResponse:
      description: The response for retrieving all model versions.
      value:
        version: 2
        count: 13
        start: 0
        limit: 13
        name: versions
        items:
          - creationTimeStamp: 2023-08-07T14:40:58.979000Z
            createdBy: sasdemo
            modifiedTimeStamp: 2023-08-07T16:40:08.568000Z
            modifiedBy: sasdemo
            id: 01508e8d-a6e2-40b9-b955-58f48e1b1604
            name: QS_Reg1
            description: Logistic Regression
            role: champion
            scoreCodeType: dataStep
            algorithm: logisticreg
            function: classification
            modeler: sasdemo
            modelType: dataStep
            trainTable: /dataTables/dataSources/cas/cas-shared-default/Public/tables/HMEQ_TRAIN
            eventProbVar: EM_EVENTPROBABILITY
            targetVariable: BAD
            targetEvent: "1"
            targetLevel: binary
            tool: Model Studio
            toolVersion: 8.3
            publishTimeStamp: 1691426404971
            externalModelId: 407fbf89-7085-49c3-811a-7f5d912e4676
            indirectFolderId: f26f68e5-09ff-4880-8e3e-5c84c31a67b1
            repositoryId: 8153f0d3-8b87-4415-b66d-537c70e3600b
            projectId: b38d3663-0187-4690-84f9-56a973e0e6b1
            projectVersionId: d8c79ea9-5ed8-46a0-b1d7-d9cfe0b20188
            immutable: false
            folderRef: /folders/folders/a354fb9f-6dc9-4844-93ae-30aa9dd7e10c
            location: /Model Repositories/Public/publish delete/Version 1
            modelVersionName: "12.0"
            projectName: publish delete
            projectVersionName: Version 1
            projectVersionNum: 1
            files:
              - creationTimeStamp: 2023-08-07T14:40:59.519645Z
                createdBy: anonymous
                modifiedTimeStamp: 2023-08-07T14:40:59.519646Z
                modifiedBy: anonymous
                version: 2
                id: 37cd93c8-b7a8-4c75-b920-f5d27486fac9
                name: ModelProperties.json
                fileUri: /files/files/0138bd91-f905-4100-836d-32a4090ec45c
                modelId: 01508e8d-a6e2-40b9-b955-58f48e1b1604
                links:
                  - method: GET
                    rel: UP
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604
                    itemType: application/vnd.sas.models.model.content
                  - method: GET
                    rel: self
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                    type: application/vnd.sas.models.model.content
                  - method: GET
                    rel: content
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9/content
                    type: application/octet-stream
                  - method: POST
                    rel: create
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                    type: multipart/form-data
                  - method: PUT
                    rel: update
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                    type: application/vnd.sas.models.model.content
                  - method: PUT
                    rel: updateContentMultipart
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                    type: application/vnd.sas.models.model.content
                  - method: DELETE
                    rel: delete
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
            inputVariables:
              - creationTimeStamp: 2023-08-07T14:41:01.946216Z
                createdBy: anonymous
                modifiedTimeStamp: 2023-08-07T14:43:36.218739Z
                name: CLNO
                description: ""
                role: input
                type: decimal
                level: interval
                format: ""
                aggregation: ""
                length: 8
                tableName: HMEQ_TRAIN
                id: 3ddb478f-f900-4c9f-bfa9-941d89e15e42
                holderId: 01508e8d-a6e2-40b9-b955-58f48e1b1604
                links:
                  - method: GET
                    rel: up
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3ddb478f-f900-4c9f-bfa9-941d89e15e42
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables
                    type: application/vnd.sas.collection
                  - method: GET
                    rel: self
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3ddb478f-f900-4c9f-bfa9-941d89e15e42
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3ddb478f-f900-4c9f-bfa9-941d89e15e42
                    type: application/vnd.sas.models.model.variable
                  - method: PUT
                    rel: update
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3ddb478f-f900-4c9f-bfa9-941d89e15e42
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3ddb478f-f900-4c9f-bfa9-941d89e15e42
                    type: application/vnd.sas.models.model.variable
                  - method: DELETE
                    rel: delete
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3ddb478f-f900-4c9f-bfa9-941d89e15e42
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3ddb478f-f900-4c9f-bfa9-941d89e15e42
                    type: application/vnd.sas.models.model.variable
            outputVariables:
              - creationTimeStamp: 2023-08-07T14:41:02.431147Z
                createdBy: anonymous
                modifiedTimeStamp: 2023-08-07T14:43:37.427800Z
                name: EM_CLASSIFICATION
                description: ""
                role: output
                type: string
                level: ""
                format: ""
                aggregation: ""
                length: 1
                tableName: HMEQ_TRAIN
                id: 3c42ee3f-fdf7-46fa-a1b1-9b59a0080401
                holderId: 01508e8d-a6e2-40b9-b955-58f48e1b1604
                links:
                  - method: GET
                    rel: up
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3c42ee3f-fdf7-46fa-a1b1-9b59a0080401
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables
                    type: application/vnd.sas.collection
                  - method: GET
                    rel: self
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3c42ee3f-fdf7-46fa-a1b1-9b59a0080401
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3c42ee3f-fdf7-46fa-a1b1-9b59a0080401
                    type: application/vnd.sas.models.model.variable
                  - method: PUT
                    rel: update
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3c42ee3f-fdf7-46fa-a1b1-9b59a0080401
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3c42ee3f-fdf7-46fa-a1b1-9b59a0080401
                    type: application/vnd.sas.models.model.variable
                  - method: DELETE
                    rel: delete
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3c42ee3f-fdf7-46fa-a1b1-9b59a0080401
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3c42ee3f-fdf7-46fa-a1b1-9b59a0080401
                    type: application/vnd.sas.models.model.variable
            modelVersions:
              - creationTimeStamp: 2023-08-07T14:43:41.850000Z
                createdBy: sasdemo
                modifiedTimeStamp: 2023-08-07T14:43:41.850000Z
                modifiedBy: sasdemo
                id: e660c5f8-6ca4-4aae-a3bb-c78042708a92
                name: QS_Reg1
                description: Logistic Regression
                role: champion
                scoreCodeType: dataStep
                algorithm: logisticreg
                function: classification
                modeler: sasdemo
                modelType: dataStep
                trainTable: /dataTables/dataSources/cas~fs~cas-shared-default~fs~Public/tables/HMEQ_TRAIN
                eventProbVar: EM_EVENTPROBABILITY
                targetVariable: BAD
                targetEvent: "1"
                targetLevel: BINARY
                tool: Model Studio
                toolVersion: 8.3
                externalModelId: 407fbf89-7085-49c3-811a-7f5d912e4676
                immutable: true
                folderRef: /folders/folders/a354fb9f-6dc9-4844-93ae-30aa9dd7e10c
                modelVersionName: "1.0"
                inputVariables: null
                outputVariables: null
                modelVersions: null
                modelLocks: null
                globalTags: null
                links:
                  - method: GET
                    rel: up
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions
                    type: application/vnd.sas.collection
                    itemType: application/vnd.sas.models.model.version
                  - method: GET
                    rel: self
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions/e660c5f8-6ca4-4aae-a3bb-c78042708a92
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions/e660c5f8-6ca4-4aae-a3bb-c78042708a92
                    type: application/vnd.sas.models.model.version
                  - method: GET
                    rel: contents
                    href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions/e660c5f8-6ca4-4aae-a3bb-c78042708a92/contents
                    uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions/e660c5f8-6ca4-4aae-a3bb-c78042708a92/contents
                    type: application/vnd.sas.collection
                    itemType: application/vnd.sas.models.model.content
                version: 0
                modelLastModifiedBy: sasdemo
                modelLastModifiedTimeStamp: 2023-08-07T14:43:41.681738Z
                modelCreatedBy: sasdemo
                modelCreationTimeStamp: 2023-08-07T14:40:58.979328Z
            modelLocks: null
            publishedModels:
              modelId: 01508e8d-a6e2-40b9-b955-58f48e1b1604
              projectId: b38d3663-0187-4690-84f9-56a973e0e6b1
              publishName: QS_Reg1_pub1
              publishResultUrl: QS_Reg1_pub1
              destinationName: maslocal
              destinationType: microAnalyticService
              state: success
              masUrl: /microanalyticScore/modules/qs_reg1_pub1
            globalTags: null
            links:
              - method: GET
                rel: up
                href: /modelRepository/models
                uri: /modelRepository/models
                type: application/vnd.sas.models.model
              - method: GET
                rel: self
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604
                type: application/vnd.sas.models.model
              - method: PUT
                rel: update
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604
                type: application/vnd.sas.models.model
                responseItemType: application/vnd.sas.models.model
              - method: DELETE
                rel: delete
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604
              - method: GET
                rel: scoreCode
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/code
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/code
                type: text/plain
              - method: GET
                rel: contents
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents
                type: application/vnd.sas.collection
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: modelVersions
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions
                type: application/vnd.sas.collection
                responseItemType: application/vnd.sas.models.model.version
              - method: POST
                rel: addModelVersion
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions
                type: application/vnd.sas.models.model.version
              - method: GET
                rel: variables
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables
                type: application/vnd.sas.collection
                itemType: application/vnd.sas.models.model.variable
            version: 0
            modelLastModifiedTimeStamp: 0001-01-01T00:00:00Z
            modelCreationTimeStamp: 0001-01-01T00:00:00Z
    getModelUserProperty:
      description: The response showing a single user-defined property for a model.
      value:
        name: priority4
        type: string
        value: high
    getLiftData:
      description: The response for retrieving the lift statistics for a model.
      value:
        depth:
          - "0"
          - "5"
          - "10"
          - "15"
          - "20"
          - "25"
          - "30"
          - "35"
          - "40"
          - "45"
          - "50"
          - "55"
          - "60"
          - "65"
          - "70"
          - "75"
          - "80"
          - "85"
          - "90"
          - "95"
          - "100"
        meanP:
          - "0.1"
          - "0.2"
          - "0.3"
          - "0.4"
          - "0.5"
          - "0.6"
          - "0.65"
          - "0.7"
          - "0.75"
          - "0.8"
          - "0.82"
          - "0.85"
          - "0.87"
          - "0.9"
          - "0.92"
          - "0.94"
          - "0.95"
          - "0.96"
          - "0.97"
          - "0.98"
        meanT:
          - "0.05"
          - "0.1"
          - "0.15"
          - "0.2"
          - "0.25"
          - "0.3"
          - "0.35"
          - "0.4"
          - "0.45"
          - "0.5"
          - "0.55"
          - "0.6"
          - "0.65"
          - "0.7"
          - "0.75"
          - "0.8"
          - "0.85"
          - "0.88"
          - "0.9"
          - "0.95"
    getModelVersionHistoryList:
      description: The response for retrieving all model versions from model history.
      value:
        items:
          - creationTimeStamp: 2025-03-10T14:48:50.335Z
            createdBy: sasdemo
            modifiedTimeStamp: 2025-03-10T14:48:50.335Z
            modifiedBy: sasdemo
            id: 692ab9b1-69c8-4ded-85cb-1a0edca9796d
            name: QS_Reg1
            description: Logistic Regression Model
            role: plain
            scoreCodeType: dataStep
            algorithm: logisticreg
            function: classification
            modeler: sasdemo
            modelType: datastep
            trainTable: /dataTables/dataSources/cas~fs~cas-shared-default~fs~Public/tables/HMEQ_TRAIN
            eventProbVar: EM_EVENTPROBABILITY
            targetVariable: BAD
            targetEvent: "1"
            targetLevel: BINARY
            tool: Model Studio
            toolVersion: "8.3"
            externalModelId: 407fbf89-7085-49c3-811a-7f5d912e4676
            provider: Azure
            costPerCall: "0"
            immutable: true
            folderRef: /folders/folders/eec95375-cfa7-45a6-813a-0b67436e6d2f
            modelVersionName: "1.0"
            inputVariables: []
            outputVariables: []
            modelVersions: []
            modelLocks: []
            globalTags: []
            links:
              - method: GET
                rel: up
                href: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history
                uri: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history
                type: application/vnd.sas.collection
                itemType: application/vnd.sas.models.model.version
              - method: GET
                rel: self
                href: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history/692ab9b1-69c8-4ded-85cb-1a0edca9796d
                uri: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history/692ab9b1-69c8-4ded-85cb-1a0edca9796d
                type: application/vnd.sas.models.model.version
              - method: GET
                rel: contents
                href: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents
                uri: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents
                type: application/vnd.sas.collection
                itemType: application/vnd.sas.models.model.content
            version: 0
            modelId: a02ea190-899c-4ff4-92a7-46c28a1c61e3
            modelLastModifiedBy: sasdemo
            modelLastModifiedTimeStamp: 2025-03-10T14:48:49.36762Z
            modelCreatedBy: sasdemo
            modelCreationTimeStamp: 2025-03-10T14:47:57.912505Z
    getModelUserProperties:
      description: The response showing all user-defined properties for a model.
      value:
        version: 2
        accept: application/json
        count: 22
        start: 0
        limit: 20
        name: userProperties
        items:
          - name: keyA
            value: valueB
            type: string
          - name: keyB
            value: valueA
            type: string
          - name: priority
            value: high
            type: string
          - name: priority2
            value: high
            type: string
        links:
          - method: GET
            rel: collection
            href: /modelRepository/models/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties
            uri: /modelRepository/models/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties
            type: application/vnd.sas.collection
            itemType: application/json
          - method: GET
            rel: next
            href: /modelRepository/models/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties?start=20&limit=20&filter=eq%28modelId%2C+%27aaf8ff18-8c32-4772-8e47-40876cafbff7%27%29
            uri: /modelRepository/models/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties?start=20&limit=20&filter=eq%28modelId%2C+%27aaf8ff18-8c32-4772-8e47-40876cafbff7%27%29
            type: application/vnd.sas.collection
            itemType: application/json
          - method: GET
            rel: self
            href: /modelRepository/models/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties?start=0&limit=20&filter=eq%28modelId%2C+%27aaf8ff18-8c32-4772-8e47-40876cafbff7%27%29
            uri: /modelRepository/models/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties?start=0&limit=20&filter=eq%28modelId%2C+%27aaf8ff18-8c32-4772-8e47-40876cafbff7%27%29
            type: application/vnd.sas.collection
            itemType: application/json
          - method: POST
            rel: create
            href: /modelRepository/models/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties
            uri: /modelRepository/models/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties
            type: application/json
    preconditionFailed:
      description: The `If-Match` request header did not match the resource's entity tag.
      value:
        version: 2
        httpStatusCode: 412
    getFairnessMetrics:
      description: The response for retrieving the fairness metrics for model variables.
      value:
        items:
          VariableName:
            - mce:
                label: Misclassification Rate
                value: 0.07420815
              mcll:
                label: Multi-Class Log Loss
                value: 0.19954976
              tpr:
                label: True Positive Rate
                value: 0.41747573
              ks:
                label: KS (Youden)
                value: 0.6539542
              ase: {}
              rase: {}
              predictedEvent:
                label: Average Prediction for Event
                value: 0.11574166
              avgyhat: {}
              nobs:
                label: Number of Observations
                value: 1105
              level:
                label: Variable Level
                value: Female
            - mce:
                label: Misclassification Rate
                value: 0.2026964
              mcll:
                label: Multi-Class Log Loss
                value: 0.4360413
              tpr:
                label: True Positive Rate
                value: 0.606461
              ks:
                label: KS (Youden)
                value: 0.5439809
              ase: {}
              rase: {}
              predictedEvent:
                label: Average Prediction for Event
                value: 0.32324785
              avgyhat: {}
              nobs:
                label: Number of Observations
                value: 2151
              level:
                label: Variable Level
                value: Male
    preconditionRequired:
      description: The request headers did not include a `If-Match` precondition.
      value:
        version: 2
        httpStatusCode: 428
    getProjectUserProperty:
      description: The response showing a single user-defined property for a project.
      value:
        name: priority4
        type: string
        value: high
    getModelContent:
      description: The response for retrieving a specific file's content of a model version.
      value:
        creationTimeStamp: 2025-03-10T14:48:50.565833Z
        createdBy: sasdemo
        modifiedTimeStamp: 2025-03-10T14:48:50.565834Z
        modifiedBy: sasdemo
        version: 2
        id: bb3ea406-13e2-45a9-b518-446faf557fde
        name: ModelProperties.json
        fileUri: /files/files/bb3ea406-13e2-45a9-b518-446faf557fde
        modelId: a02ea190-899c-4ff4-92a7-46c28a1c61e3
        versionId: 692ab9b1-69c8-4ded-85cb-1a0edca9796d
        links:
          - method: GET
            rel: self
            href: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/modelVersions/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents/bb3ea406-13e2-45a9-b518-446faf557fde
            uri: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/modelVersions/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents/bb3ea406-13e2-45a9-b518-446faf557fde
            itemType: application/vnd.sas.models.model.content
          - method: GET
            rel: content
            href: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/modelVersions/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents/bb3ea406-13e2-45a9-b518-446faf557fde/content
            uri: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/modelVersions/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents/bb3ea406-13e2-45a9-b518-446faf557fde/content
            type: text/plain
    fileMiscNotFoundError:
      description: The response for when the misclassification metrics file (dmcas_misc.json) does not exist.
      value:
        version: 2
        httpStatusCode: 404
        message: Not Found
        details:
          - "File not found. ID: , Name: dmcas_misc.json"
          - "path: /modelRepository/models/2a655f00-7061-4dfb6d1187d88/fairnessMetrics"
          - "correlator: 2f58aae4-dcbd-4297-ae1f-dd72d0deac52"
    getModelVersionHistory:
      description: The response for retrieving a specific model version from model history.
      value:
        creationTimeStamp: 2025-03-10T14:48:50.335Z
        createdBy: sasdemo
        modifiedTimeStamp: 2025-03-10T14:48:50.335Z
        modifiedBy: sasdemo
        id: 692ab9b1-69c8-4ded-85cb-1a0edca9796d
        name: QS_Reg1
        description: Logistic Regression Model
        role: plain
        scoreCodeType: dataStep
        algorithm: logisticreg
        function: classification
        modeler: sasdemo
        modelType: datastep
        trainTable: /dataTables/dataSources/cas~fs~cas-shared-default~fs~Public/tables/HMEQ_TRAIN
        eventProbVar: EM_EVENTPROBABILITY
        targetVariable: BAD
        targetEvent: "1"
        targetLevel: BINARY
        tool: Model Studio
        toolVersion: "8.3"
        externalModelId: 407fbf89-7085-49c3-811a-7f5d912e4676
        provider: Azure
        costPerCall: "0"
        immutable: true
        folderRef: /folders/folders/eec95375-cfa7-45a6-813a-0b67436e6d2f
        modelVersionName: "1.0"
        inputVariables: []
        outputVariables: []
        modelVersions: []
        modelLocks: null
        globalTags: null
        links:
          - method: GET
            rel: up
            href: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history
            uri: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history
            type: application/vnd.sas.collection
            itemType: application/vnd.sas.models.model.version
          - method: GET
            rel: self
            href: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history/692ab9b1-69c8-4ded-85cb-1a0edca9796d
            uri: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history/692ab9b1-69c8-4ded-85cb-1a0edca9796d
            type: application/vnd.sas.models.model.version
          - method: GET
            rel: contents
            href: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents
            uri: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/history/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents
            type: application/vnd.sas.collection
            itemType: application/vnd.sas.models.model.content
        version: 0
        modelId: a02ea190-899c-4ff4-92a7-46c28a1c61e3
        modelLastModifiedBy: sasdemo
        modelLastModifiedTimeStamp: 2025-03-10T14:48:49.36762Z
        modelCreatedBy: sasdemo
        modelCreationTimeStamp: 2025-03-10T14:47:57.912505Z
    getModelVersionResponse:
      description: The response for retrieving a specific model version.
      value:
        creationTimeStamp: 2023-08-07T14:40:58.979000Z
        createdBy: sasdemo
        modifiedTimeStamp: 2023-08-07T16:40:08.568000Z
        modifiedBy: sasdemo
        id: 01508e8d-a6e2-40b9-b955-58f48e1b1604
        name: QS_Reg1
        description: Logistic Regression
        role: champion
        scoreCodeType: dataStep
        algorithm: logisticreg
        function: classification
        modeler: sasdemo
        modelType: dataStep
        trainTable: /dataTables/dataSources/cas~fs~cas-shared-default~fs~Public/tables/HMEQ_TRAIN
        eventProbVar: EM_EVENTPROBABILITY
        targetVariable: BAD
        targetEvent: "1"
        targetLevel: binary
        tool: Model Studio
        toolVersion: 8.3
        publishTimeStamp: 1691426404971
        externalModelId: 407fbf89-7085-49c3-811a-7f5d912e4676
        indirectFolderId: f26f68e5-09ff-4880-8e3e-5c84c31a67b1
        repositoryId: 8153f0d3-8b87-4415-b66d-537c70e3600b
        projectId: b38d3663-0187-4690-84f9-56a973e0e6b1
        projectVersionId: d8c79ea9-5ed8-46a0-b1d7-d9cfe0b20188
        immutable: false
        folderRef: /folders/folders/a354fb9f-6dc9-4844-93ae-30aa9dd7e10c
        location: /Model Repositories/Public/publish delete/Version 1
        modelVersionName: "12.0"
        projectName: publish delete
        projectVersionName: Version 1
        projectVersionNum: 1
        files:
          - creationTimeStamp: 2023-08-07T14:40:59.519645Z
            createdBy: anonymous
            modifiedTimeStamp: 2023-08-07T14:40:59.519646Z
            modifiedBy: anonymous
            version: 2
            id: 37cd93c8-b7a8-4c75-b920-f5d27486fac9
            name: ModelProperties.json
            fileUri: /files/files/0138bd91-f905-4100-836d-32a4090ec45c
            modelId: 01508e8d-a6e2-40b9-b955-58f48e1b1604
            links:
              - method: GET
                rel: UP
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604
                itemType: application/vnd.sas.models.model.content
              - method: GET
                rel: self
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                type: application/vnd.sas.models.model.content
              - method: GET
                rel: content
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9/content
                type: application/octet-stream
              - method: POST
                rel: create
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                type: multipart/form-data
              - method: PUT
                rel: update
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                type: application/vnd.sas.models.model.content
              - method: PUT
                rel: updateContentMultipart
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                type: application/vnd.sas.models.model.content
              - method: DELETE
                rel: delete
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents/37cd93c8-b7a8-4c75-b920-f5d27486fac9
        inputVariables:
          - creationTimeStamp: 2023-08-07T14:41:01.946216Z
            createdBy: anonymous
            modifiedTimeStamp: 2023-08-07T14:43:36.218739Z
            name: CLNO
            description: ""
            role: input
            type: decimal
            level: interval
            format: ""
            aggregation: ""
            length: 8
            tableName: HMEQ_TRAIN
            id: 3ddb478f-f900-4c9f-bfa9-941d89e15e42
            holderId: 01508e8d-a6e2-40b9-b955-58f48e1b1604
            links:
              - method: GET
                rel: up
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3ddb478f-f900-4c9f-bfa9-941d89e15e42
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables
                type: application/vnd.sas.collection
              - method: GET
                rel: self
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3ddb478f-f900-4c9f-bfa9-941d89e15e42
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3ddb478f-f900-4c9f-bfa9-941d89e15e42
                type: application/vnd.sas.models.model.variable
              - method: PUT
                rel: update
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3ddb478f-f900-4c9f-bfa9-941d89e15e42
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3ddb478f-f900-4c9f-bfa9-941d89e15e42
                type: application/vnd.sas.models.model.variable
              - method: DELETE
                rel: delete
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3ddb478f-f900-4c9f-bfa9-941d89e15e42
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3ddb478f-f900-4c9f-bfa9-941d89e15e42
                type: application/vnd.sas.models.model.variable
        outputVariables:
          - creationTimeStamp: 2023-08-07T14:41:02.431147Z
            createdBy: anonymous
            modifiedTimeStamp: 2023-08-07T14:43:37.427800Z
            name: EM_CLASSIFICATION
            description: ""
            role: output
            type: string
            level: ""
            format: ""
            aggregation: ""
            length: 1
            tableName: HMEQ_TRAIN
            id: 3c42ee3f-fdf7-46fa-a1b1-9b59a0080401
            holderId: 01508e8d-a6e2-40b9-b955-58f48e1b1604
            links:
              - method: GET
                rel: up
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3c42ee3f-fdf7-46fa-a1b1-9b59a0080401
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables
                type: application/vnd.sas.collection
              - method: GET
                rel: self
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3c42ee3f-fdf7-46fa-a1b1-9b59a0080401
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3c42ee3f-fdf7-46fa-a1b1-9b59a0080401
                type: application/vnd.sas.models.model.variable
              - method: PUT
                rel: update
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3c42ee3f-fdf7-46fa-a1b1-9b59a0080401
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3c42ee3f-fdf7-46fa-a1b1-9b59a0080401
                type: application/vnd.sas.models.model.variable
              - method: DELETE
                rel: delete
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3c42ee3f-fdf7-46fa-a1b1-9b59a0080401
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables/3c42ee3f-fdf7-46fa-a1b1-9b59a0080401
                type: application/vnd.sas.models.model.variable
        modelVersions:
          - creationTimeStamp: 2023-08-07T14:43:41.850000Z
            createdBy: sasdemo
            modifiedTimeStamp: 2023-08-07T14:43:41.850000Z
            modifiedBy: sasdemo
            id: e660c5f8-6ca4-4aae-a3bb-c78042708a92
            name: QS_Reg1
            description: Logistic Regression
            role: champion
            scoreCodeType: dataStep
            algorithm: logisticreg
            function: classification
            modeler: sasdemo
            modelType: dataStep
            trainTable: /dataTables/dataSources/cas~fs~cas-shared-default~fs~Public/tables/HMEQ_TRAIN
            eventProbVar: EM_EVENTPROBABILITY
            targetVariable: BAD
            targetEvent: "1"
            targetLevel: BINARY
            tool: Model Studio
            toolVersion: 8.3
            externalModelId: 407fbf89-7085-49c3-811a-7f5d912e4676
            immutable: true
            folderRef: /folders/folders/a354fb9f-6dc9-4844-93ae-30aa9dd7e10c
            modelVersionName: "1.0"
            inputVariables: null
            outputVariables: null
            modelVersions: null
            modelLocks: null
            globalTags: null
            links:
              - method: GET
                rel: up
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions
                type: application/vnd.sas.collection
                itemType: application/vnd.sas.models.model.version
              - method: GET
                rel: self
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions/e660c5f8-6ca4-4aae-a3bb-c78042708a92
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions/e660c5f8-6ca4-4aae-a3bb-c78042708a92
                type: application/vnd.sas.models.model.version
              - method: GET
                rel: contents
                href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions/e660c5f8-6ca4-4aae-a3bb-c78042708a92/contents
                uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions/e660c5f8-6ca4-4aae-a3bb-c78042708a92/contents
                type: application/vnd.sas.collection
                itemType: application/vnd.sas.models.model.content
            version: 0
            modelLastModifiedBy: sasdemo
            modelLastModifiedTimeStamp: 2023-08-07T14:43:41.681738Z
            modelCreatedBy: sasdemo
            modelCreationTimeStamp: 2023-08-07T14:40:58.979328Z
        modelLocks: null
        publishedModels:
          modelId: 01508e8d-a6e2-40b9-b955-58f48e1b1604
          projectId: b38d3663-0187-4690-84f9-56a973e0e6b1
          publishName: QS_Reg1_pub1
          publishResultUrl: QS_Reg1_pub1
          destinationName: maslocal
          destinationType: microAnalyticService
          state: success
          masUrl: /microanalyticScore/modules/qs_reg1_pub1
        globalTags: null
        links:
          - method: GET
            rel: up
            href: /modelRepository/models
            uri: /modelRepository/models
            type: application/vnd.sas.models.model
          - method: GET
            rel: self
            href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604
            uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604
            type: application/vnd.sas.models.model
          - method: PUT
            rel: update
            href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604
            uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604
            type: application/vnd.sas.models.model
            responseItemType: application/vnd.sas.models.model
          - method: DELETE
            rel: delete
            href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604
            uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604
          - method: GET
            rel: scoreCode
            href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/code
            uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/code
            type: text/plain
          - method: GET
            rel: contents
            href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents
            uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/contents
            type: application/vnd.sas.collection
            itemType: application/vnd.sas.models.model.content
          - method: GET
            rel: modelVersions
            href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions
            uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions
            type: application/vnd.sas.collection
            responseItemType: application/vnd.sas.models.model.version
          - method: POST
            rel: addModelVersion
            href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions
            uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/modelVersions
            type: application/vnd.sas.models.model.version
          - method: GET
            rel: variables
            href: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables
            uri: /modelRepository/models/01508e8d-a6e2-40b9-b955-58f48e1b1604/variables
            type: application/vnd.sas.collection
            itemType: application/vnd.sas.models.model.variable
        version: 0
        modelLastModifiedTimeStamp: 0001-01-01T00:00:00Z
        modelCreationTimeStamp: 0001-01-01T00:00:00Z
    getMetrics:
      description: The response for retrieving the test, training, and validation metrics for a model.
      value:
        test:
          ase:
            label: Average Squared Error
            value: 0.08643169
          c:
            label: Area Under ROC
            value: 0.8716732
          div:
            label: Divisor for ASE
            value: 239
          gamma:
            label: Gamma
            value: 0.9210704
          gini:
            label: Gini Coefficient
            value: 0.7433464
          ksPostCutoff:
            label: ROC Separation
            value: 0.5725349
          ks:
            label: KS (Youden)
            value: 0.70778793
          mce:
            label: Misclassification Rate
            value: 0.12970711
          mcll:
            label: Multi-Class Log Loss
            value: 0.28689444
          rase:
            label: Root Average Squared Error
            value: 0.29399267
          tau:
            label: Tau
            value: 0.23961885
          miscEvent: {}
          miscKS: {}
          mae: {}
          msle: {}
          rmae: {}
          rmsle: {}
          rsquare: {}
        train:
          ase:
            label: Average Squared Error
            value: 0.08137366
          c:
            label: Area Under ROC
            value: 0.86371505
          div:
            label: Divisor for ASE
            value: 1428
          gamma:
            label: Gamma
            value: 0.9257925
          gini:
            label: Gini Coefficient
            value: 0.7274301
          ksPostCutoff:
            label: ROC Separation
            value: 0.62380624
          ks:
            label: KS (Youden)
            value: 0.68097806
          mce:
            label: Misclassification Rate
            value: 0.10294118
          mcll:
            label: Multi-Class Log Loss
            value: 0.28336373
          rase:
            label: Root Average Squared Error
            value: 0.28526068
          tau:
            label: Tau
            value: 0.23257348
          miscEvent: {}
          miscKS: {}
          mae: {}
          msle: {}
          rmae: {}
          rmsle: {}
          rsquare: {}
        validate:
          ase:
            label: Average Squared Error
            value: 0.10035806
          c:
            label: Area Under ROC
            value: 0.8248931
          div:
            label: Divisor for ASE
            value: 714
          gamma:
            label: Gamma
            value: 0.88086265
          gini:
            label: Gini Coefficient
            value: 0.6497863
          ksPostCutoff:
            label: ROC Separation
            value: 0.5558277
          ks:
            label: KS (Youden)
            value: 0.60817116
          mce:
            label: Misclassification Rate
            value: 0.12885155
          mcll:
            label: Multi-Class Log Loss
            value: 0.45096636
          rase:
            label: Root Average Squared Error
            value: 0.3167934
          tau:
            label: Tau
            value: 0.20844187
          miscEvent: {}
          miscKS: {}
          mae: {}
          msle: {}
          rmae: {}
          rmsle: {}
          rsquare: {}
    projectNotFoundError:
      description: The response for a not found error.
      value:
        version: 2
        httpStatusCode: 404
        message: Not Found
        details:
          - No project with the ID 'a90e7e33-79e8-4ed6-8b52-152562caca9d' was found.
    getModelContentList:
      description: The response for retrieving the file contents of a model version.
      value:
        - creationTimeStamp: 2025-03-10T14:48:50.565833Z
          createdBy: sasdemo
          modifiedTimeStamp: 2025-03-10T14:48:50.565834Z
          modifiedBy: sasdemo
          version: 2
          id: bb3ea406-13e2-45a9-b518-446faf557fde
          name: ModelProperties.json
          fileUri: /files/files/bb3ea406-13e2-45a9-b518-446faf557fde
          modelId: a02ea190-899c-4ff4-92a7-46c28a1c61e3
          versionId: 692ab9b1-69c8-4ded-85cb-1a0edca9796d
          links:
            - method: GET
              rel: self
              href: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/modelVersions/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents/bb3ea406-13e2-45a9-b518-446faf557fde
              uri: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/modelVersions/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents/bb3ea406-13e2-45a9-b518-446faf557fde
              itemType: application/vnd.sas.models.model.content
            - method: GET
              rel: content
              href: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/modelVersions/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents/bb3ea406-13e2-45a9-b518-446faf557fde/content
              uri: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/modelVersions/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents/bb3ea406-13e2-45a9-b518-446faf557fde/content
              type: text/plain
        - creationTimeStamp: 2025-03-10T14:48:50.756999Z
          createdBy: sasdemo
          modifiedTimeStamp: 2025-03-10T14:48:50.757Z
          modifiedBy: sasdemo
          version: 2
          id: 48c8eb71-26d6-4d12-b9d1-26ea2f09a198
          name: ScoreCode1842211620.sas
          fileUri: /files/files/48c8eb71-26d6-4d12-b9d1-26ea2f09a198
          modelId: a02ea190-899c-4ff4-92a7-46c28a1c61e3
          versionId: 692ab9b1-69c8-4ded-85cb-1a0edca9796d
          links:
            - method: GET
              rel: self
              href: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/modelVersions/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents/48c8eb71-26d6-4d12-b9d1-26ea2f09a198
              uri: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/modelVersions/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents/48c8eb71-26d6-4d12-b9d1-26ea2f09a198
              itemType: application/vnd.sas.models.model.content
            - method: GET
              rel: content
              href: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/modelVersions/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents/48c8eb71-26d6-4d12-b9d1-26ea2f09a198/content
              uri: /modelRepository/models/a02ea190-899c-4ff4-92a7-46c28a1c61e3/modelVersions/692ab9b1-69c8-4ded-85cb-1a0edca9796d/contents/48c8eb71-26d6-4d12-b9d1-26ea2f09a198/content
              type: text/plain
    getTableInfo:
      description: The response for retrieving the information about a data table.
      value:
        id: 6187f3e0-df6e-4d93-a0f0-8d04ab52cc4f
        name: ADULT
        uri: /dataTables/dataSources/cas~fs~cas-shared-default~fs~Public/tables/ADULT
        label: ""
        description: ""
        attributes:
          characterSet: UTF8
          columnCount: 11
          creator: sasdemo
          dateCreated: 2024-10-23T07:04:43.407Z
          dateModified: 2024-10-23T07:04:43.423Z
          editor: sasdemo
          encoding: utf-8
          isLoaded: true
          reviewStatus: none
          rowCount: 32561
          source: SAS
          sourceCaslib: Public
          sourceName: ADULT.sashdat
        sourceTableName: ADULT.sashdat
        library: Public
        server: cas-shared-default
        engine: ""
        path: ""
        rowCount: 32561
        dataSizeBytes: 1024
        columnCount: 11
        encoding: utf-8
        responsibleParty: null
        createdBy:
          id: sasdemo
          name: sasdemo
          title: ""
          phoneNumbers: []
          emailAddresses:
            - type: work
              email: sasdemo@mycompany.com
          addresses:
            - type: work
              locality: ""
              region: NC
        modifiedBy:
          id: sasdemo
          name: sasdemo
          title: ""
          phoneNumbers: []
          emailAddresses:
            - type: work
              email: sasdemo@mycompany.com
            - type: work
              locality: ""
              region: NC
        dateCreated: 2024-10-23T07:04:43.407Z
        dateModified: 2024-10-23T07:04:43.423Z
        dateAnalyzed: ""
        tags: []
        stats:
          completenessPercent: 0.9
          informationPrivacy: ""
          minTimestamp: ""
          maxTimestamp: ""
        region: ""
        dataLocale: ""
        extendedTableAttributes: {}
        businessDescription: ""
        reviewStatus:
          name: none
          label: none
          ordinal: 0
        informationPrivacy:
          candidate:
            level: 1
            label: Candidate
            description: Candidate for sensitive or private information classification.
            semanticTypes: []
            columnsBySemanticType: {}
          notSensitive:
            level: 0
            label: None
            description: Information that could not be private, sensitive, nor a candidate for sensitive or private information.
            semanticTypes: []
            columnsBySemanticType: {}
          private:
            level: 3
            label: Private
            description: Private information that should be protected.
            semanticTypes: []
            columnsBySemanticType: {}
          sensitive:
            level: 2
            label: Sensitive
            description: Sensitive information that should be protected.
            semanticTypes: []
            columnsBySemanticType: {}
        columns: {}
    notFoundError:
      description: The response for a not found error.
      value:
        version: 2
        httpStatusCode: 404
        message: Not Found
        details:
          - A model with the ID '2a655f00-7061-4dfb6d1187d88' could not be found.
          - "path: /modelRepository/models/2a655f00-7061-4dfb6d1187d88/fairnessMetrics"
          - "correlator: 2f58aae4-dcbd-4297-ae1f-dd72d0deac52"
    getVariableImportance:
      description: The response for retrieving the variable importance for model variables.
      value:
        - variable: MORTDUE
          importance: 1
        - variable: VALUE
          importance: 0.78
        - variable: LOAN
          importance: 0.76
        - variable: REASON
          importance: 0.35
        - variable: JOB
          importance: 0.21
    fileFitstatNotFoundError:
      description: The response for when the fit statistics file (dmcas_fitstat.json) does not exist.
      value:
        version: 2
        httpStatusCode: 404
        message: Not Found
        details:
          - "File not found. ID: , Name: dmcas_fitstat.json"
          - "path: /modelRepository/models/2a655f00-7061-4dfb6d1187d88/fairnessMetrics"
          - "correlator: 2f58aae4-dcbd-4297-ae1f-dd72d0deac52"
    getModelHealthMetrics:
      description: The response for retrieving the training health metrics for a model.
      value:
        items:
          - category: accuracy
            metric: MCE
            variable: ""
            threshold: "0.30000001192092896"
            value: "0.128852"
            success: true
          - category: generalizability
            metric: MCE Difference
            variable: ""
            threshold: "0.10000000149011612"
            value: "0.025910"
            success: true
          - category: fairness
            metric: equalOpportunity
            variable: Race
            threshold: "0.2"
            value: "0.545455"
            success: false
        isDefault: true
    getClassificationMatrix:
      description: The response for retrieving the misclassification metrics for a model.
      value:
        validateEventCorrect: 1293
        validateEventIncorrect: 1059
        validateNonEventCorrect: 6838
        validateNonEventIncorrect: 578
        trainEventCorrect: 2595
        trainEventIncorrect: 2110
        trainNonEventCorrect: 13717
        trainNonEventIncorrect: 1115
        testEventCorrect: 456
        testEventIncorrect: 328
        testNonEventCorrect: 2282
        testNonEventIncorrect: 190
        event: "1"
        nEvent: "0"
    badRequest:
      description: The request was invalid.
      value:
        version: 2
        httpStatusCode: 400
