문서 본문으로 건너뛰기
문서/플랫폼 API 레퍼런스

플랫폼 API 레퍼런스

아래 경로의 기본 주소는 https://api.anyuse.app/v1 입니다. 각 기능은 견적 및 실행 API를 통해 호출합니다.

GET/capabilities?q=search

현재 환경에서 활성화된 API 조회

items、currency、provider_mode

권한: 공개
GET/capabilities/{id}

매개변수 및 가격 확인

API 정의와 현재 가격

권한: 공개
POST/quotes

유료 호출 없이 견적 받기

operation, input → id, pricing, price_usd, requires_budget, expires_at

권한: 실행
POST/executions?wait_ms=10000

견적 실행 후 최대 10초 대기

quote_id, max_cost_usd와 Idempotency-Key 헤더 → 실행 기록

권한: 실행
GET/executions/{id}

실행 결과 조회

status、cost_usd、result、error_code

권한: 실행
GET/executions/{id}/events

스트리밍 실행의 SSE 이벤트 읽기

status / delta / audio / result / done

권한: 실행
POST/executions/{id}/cancel

취소 가능한 실행에 대해 취소 요청

can_cancel=false이면 409를 반환하고 실행을 계속합니다. 취소를 요청해도 비용이 발생할 수 있습니다.

권한: 실행
GET/executions

최근 실행 기록 50건 조회

items 목록에는 input과 result가 없습니다. 개별 실행에서 확인하세요.

권한: 실행
GET/me

현재 계정 및 권한

account_id、user_id、scope

권한: 실행
GET/wallet

잔액 조회

balance_usd、currency、payment_hold

권한: 실행
GET/keys

API 키 목록 조회

items에는 전체 키가 포함되지 않습니다.

권한: 관리
POST/keys

실행 키 생성

name과 선택 항목 spend_limit_usd → 키 정보와 한 번만 표시되는 비밀 키

권한: 관리
POST/keys/{id}/limit

키의 누적 한도 변경

spend_limit_usd → 204 No Content

권한: 관리
DELETE/keys/{id}

API 키 폐기

204 No Content

권한: 관리

상태 점검

GET /healthz 데이터베이스와 실행기 연결을 확인합니다. 준비되면 200, 준비 중이면 503을 반환합니다.