> For the complete documentation index, see [llms.txt](https://cocktailcloud.gitbook.io/cocktail-cloud-online/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cocktailcloud.gitbook.io/cocktail-cloud-online/api/api-issue-history.md).

# API 발급 이력

## 1. API 발급 이력

1\) API 토큰을 발급받게 되면 \[API 관리] - \[API 발급이력]에서 현재 토큰에 대한 상태와 만료일, API 범위 등을 알 수 있습니다.

<figure><img src="/files/DuhjSYCc0ZP3CIhqiUJs" alt=""><figcaption><p>[화면] API 발급 이력</p></figcaption></figure>

2\) API 범위 아이콘을 선택하게 되면 현재 조회할 수 있는 API들의 목록을 조회할 수 있습니다.

<figure><img src="/files/MwXuVVfIhbo8mMPstI6B" alt=""><figcaption><p>[화면] API 조회 범위</p></figcaption></figure>

## 2. API 호출

> 사전에 발급된 **token**으로 Authorization Header를 설정합니다.

{% code title="## CURL 명령어 Sample" overflow="wrap" %}

```
curl -X POST http://${API-GATEWAY}/api/pl/list/service/2 \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer [token]
```

{% endcode %}

1. ```
   curl -X POST http://${API-GATEWAY}/api/pl/list/service/2 \
   ```

{% hint style="info" %}

* **${API-GATEWAY} :** api gateway를 접속하기 위한 도메인 또는 ip:port 정보를 입력합니다.
  {% endhint %}

2. <pre><code><strong>-H 'Content-Type: application/json' \
   </strong></code></pre>
3. <pre><code><strong>-H 'Authorization: Bearer [token]
   </strong></code></pre>

{% hint style="info" %}
**\[token] :** Bearer와 '공백'을 입력한 후 발급된 **token**을 복사하여 넣습니다.
{% endhint %}

## 3. API 유형

1\) 사용 가능한 API 유형은 아래에서 확인 가능합니다.

{% embed url="<https://cocktailcloud.gitbook.io/openapi/>" %}
\[사용 가능한 API 목록]
{% endembed %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://cocktailcloud.gitbook.io/cocktail-cloud-online/api/api-issue-history.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
