cURL
curl -X GET "https://api.bizmori.com/api/v2/orders?page=1&limit=10&status=all" \
-H "Authorization: Bearer YOUR_API_TOKEN"const params = new URLSearchParams({ page: 1, limit: 10, status: 'all' });
const response = await fetch(
`https://api.bizmori.com/api/v2/orders?${params}`,
{ headers: { 'Authorization': 'Bearer YOUR_API_TOKEN' } }
);
const data = await response.json();import requests
response = requests.get(
'https://api.bizmori.com/api/v2/orders',
headers={'Authorization': 'Bearer YOUR_API_TOKEN'},
params={'page': 1, 'limit': 10, 'status': 'all'}
)
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bizmori.com/api/v2/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.bizmori.com/api/v2/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.bizmori.com/api/v2/orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bizmori.com/api/v2/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"orders": [
{
"orderId": "<string>",
"orderName": "<string>",
"type": "antiAi",
"channel": "api",
"status": "pending",
"fileCount": 123,
"thumbnailImageUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"probability": 123,
"statusCode": "detected"
}
],
"pageInfo": {
"totalItems": 123,
"totalPages": 123,
"currentPage": 123,
"itemsPerPage": 123
}
}
}{
"code": "AUTH_NOT_AUTHENTICATED"
}Orders
주문 목록 조회
페이지네이션을 포함한 주문 목록을 조회합니다.
- 상태, 타입, 채널로 필터링 가능
- 키워드 검색 지원
- 최신순 정렬
GET
/
api
/
v2
/
orders
cURL
curl -X GET "https://api.bizmori.com/api/v2/orders?page=1&limit=10&status=all" \
-H "Authorization: Bearer YOUR_API_TOKEN"const params = new URLSearchParams({ page: 1, limit: 10, status: 'all' });
const response = await fetch(
`https://api.bizmori.com/api/v2/orders?${params}`,
{ headers: { 'Authorization': 'Bearer YOUR_API_TOKEN' } }
);
const data = await response.json();import requests
response = requests.get(
'https://api.bizmori.com/api/v2/orders',
headers={'Authorization': 'Bearer YOUR_API_TOKEN'},
params={'page': 1, 'limit': 10, 'status': 'all'}
)
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bizmori.com/api/v2/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.bizmori.com/api/v2/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.bizmori.com/api/v2/orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bizmori.com/api/v2/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"orders": [
{
"orderId": "<string>",
"orderName": "<string>",
"type": "antiAi",
"channel": "api",
"status": "pending",
"fileCount": 123,
"thumbnailImageUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"probability": 123,
"statusCode": "detected"
}
],
"pageInfo": {
"totalItems": 123,
"totalPages": 123,
"currentPage": 123,
"itemsPerPage": 123
}
}
}{
"code": "AUTH_NOT_AUTHENTICATED"
}인증
외부 클라이언트 접근을 위한 Bearer API 키. 일반 키는 sk_ 접두사를 사용하고, 테스트 키는 sk_test_ 접두사로 모의 응답을 사용해 실제 처리나 크레딧 사용 없이 주문 흐름을 검증합니다.
쿼리 매개변수
페이지 번호
필수 범위:
x >= 1페이지당 항목 수 (-1은 전체 조회)
필수 범위:
1 <= x <= 100검색 키워드
상태 필터
사용 가능한 옵션:
pending, inProgress, complete, failed, expired, all 주문 타입 필터
사용 가능한 옵션:
antiAi, watermarkEmbed, watermarkExtract, aiDetection, all 채널 필터
사용 가능한 옵션:
api, web, all 응답
성공
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
주문 ID
주문 이름
주문 타입. v3 워터마크 API로 생성한 주문도 watermarkEmbed 또는 watermarkExtract로 반환합니다
사용 가능한 옵션:
antiAi, watermarkEmbed, watermarkExtract, aiDetection 주문 채널
사용 가능한 옵션:
api, web 주문 상태
- pending - 대기 중
- inProgress - 처리 중
- complete - 완료
- failed - 실패
- expired - 만료됨 (주문 생성 후 7일이 지나면 파일 다운로드 불가)
사용 가능한 옵션:
pending, inProgress, complete, failed, expired 파일 수. v3 워터마크 주문은 삽입이면 원본 파일 수, 추출이면 검사 파일만 셉니다
썸네일 이미지 URL(presigned URL, 1시간 유효). aiDetection 주문은 generateThumbnail 옵션을 쓴 경우에만 반환합니다. 만료되면 null입니다. v3 워터마크 주문은 처리 완료 후 최대 100×100 WebP 썸네일(PDF는 첫 페이지)을 반환합니다. 처리 전·실패·썸네일이 없는 주문은 상태 이미지를 반환합니다.
생성 시각
수정일시
AI 감지 확률 (aiDetection 주문 전용)
주문 타입별 상태 코드. 결과가 나오기 전에는 null입니다.
watermarkExtract 주문:
detected- 워터마크 검출됨undetected- 워터마크 미검출inconclusive- 판단 불가 (v3 주문만)unsupported- 처리할 수 없는 입력 (v3 주문만)error- 검출 처리 실패 (v3 주문만)
aiDetection 주문 (probability로 계산):
likely_real- 실제 콘텐츠일 가능성 높음uncertain_real- 불확실, 실제 콘텐츠 쪽uncertain_ai- 불확실, AI 생성 쪽likely_ai- AI 생성 가능성 높음
사용 가능한 옵션:
detected, undetected, inconclusive, unsupported, error, likely_real, uncertain_real, uncertain_ai, likely_ai