---
title: "Create a new dependency configuration"
method: POST
path: "/dependencies/configs"
tags: ["Dependencies"]
---

# Create a new dependency configuration

`POST /dependencies/configs`

Create a new dependency configuration

## Request body

- DependencyConfig
  - `_id` string — MongoDB ObjectId represented as a hexadecimal string
  - `name` string — Name of the dependency configuration
  - `type` 'python' | 'node' — Type of dependencies (programming language)
  - `path` string — Path to the dependency file
  - `file_name` string — Name of the dependency file (e.g., requirements.txt, package.json)
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `created_by` string — MongoDB ObjectId represented as a hexadecimal string
  - `updated_by` string — MongoDB ObjectId represented as a hexadecimal string

## Response `200`

Dependency configuration created successfully

- Success
  - `code` integer
  - `message` string
  - `data` object

## Changes

- **2025-03-02** `526e5bdf6dee` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/crawlab-team/apis/crawlab-api/changes/dependencies/configs/post.md)

---

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