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

# POST /v1beta1/{+parent}/predictionApiKeyRegistrations

`POST /v1beta1/{+parent}/predictionApiKeyRegistrations`

Register an API key for use with predict method.

## Path parameters

- `parent` string, required

## Request body

- GoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrationRequest — Request message for the `CreatePredictionApiKeyRegistration` method.
  - `predictionApiKeyRegistration` GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration — Registered Api Key.
    - `apiKey` string — The API key.

## Response `200`

Successful response

---

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