프롬프트 목록 조회
curl --request GET \
--url https://platform-api.trychainshift.ai/api/v1/platform/prompts \
--header 'API-Key: <api-key>'import requests
url = "https://platform-api.trychainshift.ai/api/v1/platform/prompts"
headers = {"API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'API-Key': '<api-key>'}};
fetch('https://platform-api.trychainshift.ai/api/v1/platform/prompts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://platform-api.trychainshift.ai/api/v1/platform/prompts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://platform-api.trychainshift.ai/api/v1/platform/prompts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platform-api.trychainshift.ai/api/v1/platform/prompts")
.header("API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform-api.trychainshift.ai/api/v1/platform/prompts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"nextCursor": "eyJpZCI6NzIzMDF9",
"prompts": [
{
"content": "우리 서비스가 AI 검색에 노출되게 하려면 어떻게 해야 하나요?",
"id": "cM0RPoxbNbJy0mS-MhsHOg",
"promptSetID": "IkVMHhjFWcBXcJ41-h9yBQ",
"createdAt": "2026-08-03T07:13:26Z"
}
]
}{
"code": "COMMON_VALIDATION",
"details": [
"limit: 100 이하여야 합니다"
],
"message": "데이터 검증에 실패했습니다"
}{
"code": "COMMON_UNAUTHORIZED",
"message": "인증되지 않은 사용자입니다"
}{
"code": "INSUFFICIENT_CREDITS",
"message": "크레딧이 부족합니다."
}{
"code": "PROMPT_SET_NOT_FOUND",
"message": "프롬프트 세트를 찾을 수 없습니다"
}{
"code": "PLATFORM_RATE_LIMIT_EXCEEDED",
"message": "요청이 너무 많습니다. 잠시 후 다시 시도해주세요."
}{
"message": "Internal Server Error",
"requestID": "bkZqnHQepkgTOocTvyHWSlHcGzRqQbZk"
}API
프롬프트 목록
조직의 프롬프트 목록을 조회합니다. promptSetID 지정 시 해당 세트만, 미지정 시 전체를 조회합니다.
오류
| HTTP | 코드 | 설명 |
|---|---|---|
| 400 | COMMON_VALIDATION | • limit 범위 위반(1~100) • contentContains 1000자 초과 |
| 400 | COMMON_INVALID_CURSOR | cursor 형식 오류 |
| 400 | COMMON_BINDING | promptSetID 형식 오류 (details 에 PLATFORM_INVALID_ID) |
| 401 | COMMON_UNAUTHORIZED | API 키 또는 액세스 토큰이 없거나 유효하지 않음 |
| 402 | INSUFFICIENT_CREDITS | 조직 크레딧 잔액이 이 요청의 단가보다 적음 |
| 404 | PROMPT_SET_NOT_FOUND | promptSetID 로 지정한 세트가 없거나 타 조직 소유 |
| 429 | PLATFORM_RATE_LIMIT_EXCEEDED | 요청 한도 초과. Retry-After 헤더의 초만큼 기다린 뒤 재시도 |
| 500 | — | 서버 내부 오류. code 없이 message 와 requestID 를 반환 |
GET
/
v1
/
platform
/
prompts
프롬프트 목록 조회
curl --request GET \
--url https://platform-api.trychainshift.ai/api/v1/platform/prompts \
--header 'API-Key: <api-key>'import requests
url = "https://platform-api.trychainshift.ai/api/v1/platform/prompts"
headers = {"API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'API-Key': '<api-key>'}};
fetch('https://platform-api.trychainshift.ai/api/v1/platform/prompts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://platform-api.trychainshift.ai/api/v1/platform/prompts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://platform-api.trychainshift.ai/api/v1/platform/prompts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platform-api.trychainshift.ai/api/v1/platform/prompts")
.header("API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform-api.trychainshift.ai/api/v1/platform/prompts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"nextCursor": "eyJpZCI6NzIzMDF9",
"prompts": [
{
"content": "우리 서비스가 AI 검색에 노출되게 하려면 어떻게 해야 하나요?",
"id": "cM0RPoxbNbJy0mS-MhsHOg",
"promptSetID": "IkVMHhjFWcBXcJ41-h9yBQ",
"createdAt": "2026-08-03T07:13:26Z"
}
]
}{
"code": "COMMON_VALIDATION",
"details": [
"limit: 100 이하여야 합니다"
],
"message": "데이터 검증에 실패했습니다"
}{
"code": "COMMON_UNAUTHORIZED",
"message": "인증되지 않은 사용자입니다"
}{
"code": "INSUFFICIENT_CREDITS",
"message": "크레딧이 부족합니다."
}{
"code": "PROMPT_SET_NOT_FOUND",
"message": "프롬프트 세트를 찾을 수 없습니다"
}{
"code": "PLATFORM_RATE_LIMIT_EXCEEDED",
"message": "요청이 너무 많습니다. 잠시 후 다시 시도해주세요."
}{
"message": "Internal Server Error",
"requestID": "bkZqnHQepkgTOocTvyHWSlHcGzRqQbZk"
}인증
"조직 API 키를 입력하세요. 예: 'cs_live_xxxx'"
쿼리 매개변수
특정 프롬프트 세트로 범위를 좁히는 필터 (미지정 시 조직의 모든 프롬프트 세트 조회)
이전 응답의 nextCursor (첫 요청은 생략)
페이지 크기 (기본 20, 최대 100)
프롬프트 내용 부분 일치 검색 (검색 조건 변경 시 cursor 비우고 재조회)