---
title: "add a new data blocks level structure"
method: POST
path: "/data-providers/{dataProviderId}/projects/{projectId}/blocklevels"
tags: ["Project"]
---

# add a new data blocks level structure

`POST /data-providers/{dataProviderId}/projects/{projectId}/blocklevels`

## Path parameters

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

## Request body

- object[]
  - `name` string
  - `groundTruth` object[]
    - `name` string
    - `type` string
  - `inputs` object[]
    - `name` string
    - `type` string
  - `contexts` object[]
    - `name` string
    - `type` string

## Response `200`

Block tructure added, the block structure is returned

## Changes

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

[Change history](https://skmtc.dev/debiai/apis/debiai-backend-api/changes/data-providers/:dataProviderId/projects/:projectId/blocklevels/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)
