---
title: "POST /v1alpha/{+parent}/observationJobs"
method: POST
path: "/v1alpha/{+parent}/observationJobs"
tags: ["projects"]
---

# POST /v1alpha/{+parent}/observationJobs

`POST /v1alpha/{+parent}/observationJobs`

CreateObservationJob creates a new ObservationJob but does not have any effecton its own. It is a configuration that can be used in an Observation Job to collect data about existing APIs.

## Path parameters

- `parent` string, required

## Query parameters

- `observationJobId` string
- `requestId` string

## Request body

- ObservationJob — Message describing ObservationJob object
  - `createTime` string, google-datetime — Output only. [Output only] Create time stamp
  - `name` string — Identifier. name of resource Format: projects/{project}/locations/{location}/observationJobs/{observation_job}
  - `updateTime` string, google-datetime — Output only. [Output only] Update time stamp
  - `sources` string[] — Optional. These should be of the same kind of source.
  - `state` 'STATE_UNSPECIFIED' | 'CREATING' | 'ENABLING' | 'ENABLED' | 'DISABLING' | 'DISABLED' | 'DELETING' | 'ERROR' — Output only. The observation job state

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/apim.md) · [All operations](https://skmtc.dev/google/apis/apim/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/apim/revisions/c9e5e3adb703/schema)
