---
title: "Add a results to a model"
method: POST
path: "/data-providers/{dataProviderId}/projects/{projectId}/models/{modelId}/resultsDict"
tags: ["Model"]
---

# Add a results to a model

`POST /data-providers/{dataProviderId}/projects/{projectId}/models/{modelId}/resultsDict`

## Path parameters

- `dataProviderId` string, required
- `projectId` string, required
- `modelId` string, required

## Request body

- object
  - `results` object, required
  - `expected_results_order` unknown[] — order of the given results array, by default is the project result structure
    - unknown

## Response `200`

model results added

## Other responses

- `403` — Block not found
- `404` — model or project doesn't exist

## Changes

- **2024-07-22** `3063ef5d8a81` — 1 info
  - api operation id `controller.pythonModuleDp.add_results_dict` removed and replaced with `debiaiServer.controller.pythonModuleDp.add_results_dict`
- **2024-07-19** `30f824d14afd` — 1 info
  - api operation id `debiaiServer.controller.pythonModuleDp.add_results_dict` removed and replaced with `controller.pythonModuleDp.add_results_dict`

[Change history](https://skmtc.dev/debiai/apis/debiai-backend-api/changes/data-providers/:dataProviderId/projects/:projectId/models/:modelId/resultsDict/post.md)

---

[API](https://skmtc.dev/debiai/apis/debiai-backend-api.md) · [All operations](https://skmtc.dev/debiai/apis/debiai-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/debiai/debiai-backend-api/revisions/c53e3bf3be9b/schema)
