API 문서
사실을 출처와 이력과 함께 읽기
montaye의 계산이 읽는 사실 하나: 어느 날 효력이 있는 판(또는 계산 결과의 행이 revision_id로 가리킨 판), 그 값(금액, 구간 세율표, 조견표), 읽어 온 공식 문서의 쪽과 문구, 공개된 사실에 있는 같은 사실의 모든 유효 기간(오래된 순). 값은 10진수 문자열이고 비율은 소수(0.062)이며 백분율이 아닙니다. 코드 목록은 GET /v1/status에 있습니다. 필드는 추가되기만 합니다.
REST: GET /v1/facts MCP 도구: fact_read API 키 필요
거절 코드
- input_invalid (400) The request does not match the action’s input schema.
- parameter_missing (400) A parameter the computation needs was not given.
- not_found (404) No such action or document.
- table_not_effective (422) No reviewed fact is in force for this pay date.
- key_missing (401) This action needs an API key (Authorization: Bearer <key>).
- key_invalid (401) The API key is unknown, revoked or expired.
- rate_limited (429) Too many requests from this client; slow down.
- plan_excludes_action (403) The account’s plan does not include this action.
입력 (JSON Schema)
{
"type": "object",
"properties": {
"code": {
"type": "string",
"pattern": "^[a-z0-9_.-]+$"
},
"on": {
"type": "string",
"format": "date"
},
"revision_id": {
"type": "string",
"format": "uuid"
}
},
"required": [],
"$schema": "http://json-schema.org/draft-07/schema#"
}