프롬프트 단건 조회
curl --request GET \
--url https://platform-api.trychainshift.ai/api/v1/platform/prompts/{promptID} \
--header 'API-Key: <api-key>'import requests
url = "https://platform-api.trychainshift.ai/api/v1/platform/prompts/{promptID}"
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/{promptID}', 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/{promptID}",
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/{promptID}"
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/{promptID}")
.header("API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform-api.trychainshift.ai/api/v1/platform/prompts/{promptID}")
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{
"content": "우리 서비스가 AI 검색에 노출되게 하려면 어떻게 해야 하나요?",
"id": "cM0RPoxbNbJy0mS-MhsHOg",
"promptSetID": "IkVMHhjFWcBXcJ41-h9yBQ",
"answerCount": 3,
"createdAt": "2026-08-03T07:13:26Z"
}{
"code": "COMMON_BINDING",
"details": [
"PLATFORM_INVALID_ID: 유효하지 않은 ID 형식입니다."
],
"message": "요청 데이터를 처리할 수 없습니다"
}{
"code": "COMMON_UNAUTHORIZED",
"message": "인증되지 않은 사용자입니다"
}{
"code": "INSUFFICIENT_CREDITS",
"message": "크레딧이 부족합니다."
}{
"code": "QUESTION_NOT_FOUND",
"message": "질문을 찾을 수 없습니다"
}{
"code": "PLATFORM_RATE_LIMIT_EXCEEDED",
"message": "요청이 너무 많습니다. 잠시 후 다시 시도해주세요."
}{
"message": "Internal Server Error",
"requestID": "bkZqnHQepkgTOocTvyHWSlHcGzRqQbZk"
}API
프롬프트 조회
프롬프트 단건을 조회합니다.
오류
| HTTP | 코드 | 설명 |
|---|---|---|
| 400 | COMMON_BINDING | promptID 형식 오류 (details 에 PLATFORM_INVALID_ID) |
| 401 | COMMON_UNAUTHORIZED | API 키 또는 액세스 토큰이 없거나 유효하지 않음 |
| 402 | INSUFFICIENT_CREDITS | 조직 크레딧 잔액이 이 요청의 단가보다 적음 |
| 404 | QUESTION_NOT_FOUND | 프롬프트가 없거나 타 조직 소유 |
| 429 | PLATFORM_RATE_LIMIT_EXCEEDED | 요청 한도 초과. Retry-After 헤더의 초만큼 기다린 뒤 재시도 |
| 500 | — | 서버 내부 오류. code 없이 message 와 requestID 를 반환 |
GET
/
v1
/
platform
/
prompts
/
{promptID}
프롬프트 단건 조회
curl --request GET \
--url https://platform-api.trychainshift.ai/api/v1/platform/prompts/{promptID} \
--header 'API-Key: <api-key>'import requests
url = "https://platform-api.trychainshift.ai/api/v1/platform/prompts/{promptID}"
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/{promptID}', 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/{promptID}",
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/{promptID}"
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/{promptID}")
.header("API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform-api.trychainshift.ai/api/v1/platform/prompts/{promptID}")
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{
"content": "우리 서비스가 AI 검색에 노출되게 하려면 어떻게 해야 하나요?",
"id": "cM0RPoxbNbJy0mS-MhsHOg",
"promptSetID": "IkVMHhjFWcBXcJ41-h9yBQ",
"answerCount": 3,
"createdAt": "2026-08-03T07:13:26Z"
}{
"code": "COMMON_BINDING",
"details": [
"PLATFORM_INVALID_ID: 유효하지 않은 ID 형식입니다."
],
"message": "요청 데이터를 처리할 수 없습니다"
}{
"code": "COMMON_UNAUTHORIZED",
"message": "인증되지 않은 사용자입니다"
}{
"code": "INSUFFICIENT_CREDITS",
"message": "크레딧이 부족합니다."
}{
"code": "QUESTION_NOT_FOUND",
"message": "질문을 찾을 수 없습니다"
}{
"code": "PLATFORM_RATE_LIMIT_EXCEEDED",
"message": "요청이 너무 많습니다. 잠시 후 다시 시도해주세요."
}{
"message": "Internal Server Error",
"requestID": "bkZqnHQepkgTOocTvyHWSlHcGzRqQbZk"
}인증
"조직 API 키를 입력하세요. 예: 'cs_live_xxxx'"
경로 매개변수
대상 프롬프트 ID — 프롬프트 생성 응답 또는 프롬프트 목록 항목의 id 를 그대로 넣습니다
응답
OK
프롬프트 내용
예시:
"우리 서비스가 AI 검색에 노출되게 하려면 어떻게 해야 하나요?"
프롬프트 ID. 프롬프트 조회·수정·삭제 경로의 promptID, 프롬프트 실행 요청의 promptIDs 값으로 사용합니다
예시:
"cM0RPoxbNbJy0mS-MhsHOg"
이 프롬프트가 속한 프롬프트 세트 ID
예시:
"IkVMHhjFWcBXcJ41-h9yBQ"
프롬프트로 수집된 답변 수
예시:
3
생성 일시 (RFC3339)
예시:
"2026-08-03T07:13:26Z"