# API Request Counts

Api yapıalrınzıdan ne kadar sitekte bulunuldu sizlerin son 24 saat içidne baknaız ortamınız için önemli bilgilerdendir. Bu yüzden aşğadaıki komutu kullanarak çıktısını alabilirsiniz eğer bir prod ortamda iseniz yükeldiğinzi tüm uygulamalarında lsitesi gelecektir. yien grep kullanarak detyalndırabilirsiniz.&#x20;

```
oc get apirequestcounts
NAME                                  REMOVEDINRELEASE    REQUESTSINCURRENTHOUR    REQUESTSINLAST24H
cronjobs.v1beta1.batch                1.25                0                        0
events.v1beta1.events.k8s.io          1.25                0                        0
ingresses.v1beta1.extensions          1.25                0                        0
podsecuritypolicies.v1beta1.policy    1.25                16                       459
```

node aşağıda grep için bir örnek

```
oc get apirequestcounts | grep node
csiaddonsnodes.v1alpha1.csiaddons.openshift.io                                                    14                      812
csinodes.v1.storage.k8s.io                                                                        15                      988
nodenetworkconfigurationenactments.v1beta1.nmstate.io                                             30                      2058
nodenetworkconfigurationpolicies.v1.nmstate.io                                                    43                      2434
nodenetworkstates.v1beta1.nmstate.io                                                              99                      7234
nodes.v1                                                                                          2789                    172956
nodes.v1.config.openshift.io                                                                      19                      1324
nodes.v1beta1.metrics.k8s.io                                                                      0                       0
runtimeclasses.v1.node.k8s.io                                                                     38                      2598
```

oc versiyon komutu ile yapınız hakkından mini bir versiyon listesi alabilirsiniz.

```
oc version
Client Version: 4.14.5
Kustomize Version: v5.0.1
Server Version: 4.14.5
Kubernetes Version: v1.27.6+d548052
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ocp.1w2.net/openshift-gui-ve-cli-ile-yonetimi/api-request-counts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
