Quote catalog prices per 1,000 requests - #8
Merged
Merged
Conversation
Synced from the canonical body in the main repository's src/lib/agentSkill.ts, which shipped in getanyapi-com/anyapi#630. The gateway now publishes maxPer1kUsd beside every offer's maxUsd and names per-1k as the customer-facing standard in its MCP instructions (getanyapi-com/anyapi#620, live in production). Agents reading this skill get the same convention, plus the boundary that quote_api, costUsd, and wallet balances stay per request.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Synced from the canonical body in the main repository's
src/lib/agentSkill.ts, which shipped in getanyapi-com/anyapi#630.The gateway publishes
maxPer1kUsdbeside every offer'smaxUsdand names per-1,000-requests as the customer-facing standard in its MCP instructions (getanyapi-com/anyapi#620, live in production and verified againstbooking.search). Agents reading this skill now get the same convention.The added paragraphs cover:
$96.60/1k req, not$0.0966 per request.0.0966 * 1000is96.60000000000001in most languages and 16 live catalog prices behave that way.baseUsd/perUnitUsdhave no per-1k twin, andquote_api,costUsd, and wallet balances stay per request.Body sync is mechanical (
npm run sync-skills); frontmatter is unchanged.bash scripts/check.shpasses.🤖 Generated with Claude Code