arazzo: 1.0.1 info: title: Dataiku Inspect Saved Model summary: List a project's saved models and fetch the details of one model including its active version. description: >- Surfaces the deployed machine learning models in a Dataiku DSS project. The workflow lists the saved models in a project and then fetches the full details of a single saved model, including its type and active version. Every step inlines its request so the flow can be executed without opening the underlying OpenAPI description. version: 1.0.0 sourceDescriptions: - name: dssPublicApi url: ../openapi/dataiku-public-api-openapi.yml type: openapi workflows: - workflowId: inspect-saved-model summary: Discover saved models in a project and read one model's details. description: >- Lists saved models, then gets details for a specific saved model id. inputs: type: object required: - apiKey - projectKey - savedModelId properties: apiKey: type: string description: DSS API key passed as a Bearer token in the Authorization header. projectKey: type: string description: Project key to inspect. savedModelId: type: string description: Identifier of the saved model to fetch. steps: - stepId: listSavedModels description: List all saved models in the project. operationId: listSavedModels parameters: - name: Authorization in: header value: Bearer $inputs.apiKey - name: projectKey in: path value: $inputs.projectKey successCriteria: - condition: $statusCode == 200 outputs: savedModels: $response.body - stepId: getSavedModel description: Fetch full details of the target saved model, including its active version. operationId: getSavedModel parameters: - name: Authorization in: header value: Bearer $inputs.apiKey - name: projectKey in: path value: $inputs.projectKey - name: savedModelId in: path value: $inputs.savedModelId successCriteria: - condition: $statusCode == 200 outputs: model: $response.body outputs: savedModels: $steps.listSavedModels.outputs.savedModels model: $steps.getSavedModel.outputs.model