---
title: "POST /v1/{+parent}/datacollectors"
method: POST
path: "/v1/{+parent}/datacollectors"
tags: ["organizations"]
---

# POST /v1/{+parent}/datacollectors

`POST /v1/{+parent}/datacollectors`

Creates a new data collector.

## Path parameters

- `parent` string, required

## Query parameters

- `dataCollectorId` string

## Request body

- GoogleCloudApigeeV1DataCollector — Data collector configuration.
  - `description` string — A description of the data collector.
  - `type` 'TYPE_UNSPECIFIED' | 'INTEGER' | 'FLOAT' | 'STRING' | 'BOOLEAN' | 'DATETIME' — Immutable. The type of data this data collector will collect.
  - `lastModifiedAt` string, int64 — Output only. The time at which the Data Collector was last updated in milliseconds since the epoch.
  - `createdAt` string, int64 — Output only. The time at which the data collector was created in milliseconds since the epoch.
  - `name` string — ID of the data collector. Must begin with `dc_`.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/apigee.md) · [All operations](https://skmtc.net/google/apis/apigee/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/apigee/versions/6e272fa448a7/schema)
