Store
16 endpoints at https://api.kosa8.com, sent with Authorization: Bearer $KOSA8_API_KEY. Generated from the API's own OpenAPI description, which a test holds to the router.
Published kosa8 Store items (public)#
GET
Parameters/v1/store/itemspublicqquery · stringSearch text
categoryquery · stringCategory
kindquery · stringKind
200
curl -s -X GET https://api.kosa8.com/v1/store/items
Create a Store listing (picks the org's creator handle the first time)#
POST
JSON body/v1/store/itemsscope admincreatorstring—
namerequiredstring—
kindrequired"template" | "save_state" | "environment" | "mcp_server" | "function"—
titlerequiredstring—
summaryrequiredstring—
categoryrequiredstring—
201400401403409
curl -s -X POST https://api.kosa8.com/v1/store/items \ -H "Authorization: Bearer $KOSA8_API_KEY" \ -H 'Content-Type: application/json' -d @body.json
One published Store item, with README and review checks (public)#
GET
Parameters/v1/store/items/{creator}/{name}publiccreatorrequiredpath · stringStore creator handle
namerequiredpath · stringStore item name
200404
curl -s -X GET https://api.kosa8.com/v1/store/items/$CREATOR/$NAME
Store Guidelines, creator agreement, fee and kickback rates (public)#
GET
Responses/v1/store/termspublic200
curl -s -X GET https://api.kosa8.com/v1/store/terms
This org's Store listings, versions and posts#
GET
Responses/v1/store/minescope sandboxes:read200401403
curl -s -X GET https://api.kosa8.com/v1/store/mine \ -H "Authorization: Bearer $KOSA8_API_KEY"
Add a draft version#
POST
Parameters/v1/store/items/{creator}/{name}/versionsscope admincreatorrequiredpath · stringStore creator handle
namerequiredpath · stringStore item name
versionrequiredstringMAJOR.MINOR.PATCH; immutable once submitted
sourcerequiredobject—
source.templaterequiredstringA kosa8 Cloud template key
source.imagestring—
source.checkpointstring—
egressarray of stringEvery host the item contacts (or *.domain)
env_namesarray of stringEnvironment variable NAMES it reads; never values
smoke_testrequiredarray of stringA command that must exit 0
toolsarray of objectmcp_server only: pinned tool descriptions
readmestring—
changelogstring—
price_model"free" | "per_run" | "per_hour" | "monthly"—
price_usdnumber—
201400401403404409
curl -s -X POST https://api.kosa8.com/v1/store/items/$CREATOR/$NAME/versions \ -H "Authorization: Bearer $KOSA8_API_KEY" \ -H 'Content-Type: application/json' -d @body.json
A version of your item, with its checks and reviewer notes#
GET
Parameters/v1/store/items/{creator}/{name}/versions/{version}scope sandboxes:readcreatorrequiredpath · stringStore creator handle
namerequiredpath · stringStore item name
versionrequiredpath · stringVersion, MAJOR.MINOR.PATCH
200401403404
curl -s -X GET https://api.kosa8.com/v1/store/items/$CREATOR/$NAME/versions/$VERSION \ -H "Authorization: Bearer $KOSA8_API_KEY"
Change a draft version#
PATCH
Parameters/v1/store/items/{creator}/{name}/versions/{version}scope admincreatorrequiredpath · stringStore creator handle
namerequiredpath · stringStore item name
versionrequiredpath · stringVersion, MAJOR.MINOR.PATCH
200400401403404409
curl -s -X PATCH https://api.kosa8.com/v1/store/items/$CREATOR/$NAME/versions/$VERSION \ -H "Authorization: Bearer $KOSA8_API_KEY" \ -H 'Content-Type: application/json' -d @body.json
Submit for review: needs two posts on two platforms and accept_agreement#
POST
Parameters/v1/store/items/{creator}/{name}/versions/{version}/submitscope admincreatorrequiredpath · stringStore creator handle
namerequiredpath · stringStore item name
versionrequiredpath · stringVersion, MAJOR.MINOR.PATCH
accept_agreementrequiredboolean—
200400401403404409
curl -s -X POST https://api.kosa8.com/v1/store/items/$CREATOR/$NAME/versions/$VERSION/submit \ -H "Authorization: Bearer $KOSA8_API_KEY" \ -H 'Content-Type: application/json' -d @body.json
Publish an approved version#
POST
Parameters/v1/store/items/{creator}/{name}/versions/{version}/publishscope admincreatorrequiredpath · stringStore creator handle
namerequiredpath · stringStore item name
versionrequiredpath · stringVersion, MAJOR.MINOR.PATCH
200401403404409
curl -s -X POST https://api.kosa8.com/v1/store/items/$CREATOR/$NAME/versions/$VERSION/publish \ -H "Authorization: Bearer $KOSA8_API_KEY"
Appeal a rejection, once#
POST
Parameters/v1/store/items/{creator}/{name}/versions/{version}/appealscope admincreatorrequiredpath · stringStore creator handle
namerequiredpath · stringStore item name
versionrequiredpath · stringVersion, MAJOR.MINOR.PATCH
noterequiredstring—
200400401403404409
curl -s -X POST https://api.kosa8.com/v1/store/items/$CREATOR/$NAME/versions/$VERSION/appeal \ -H "Authorization: Bearer $KOSA8_API_KEY" \ -H 'Content-Type: application/json' -d @body.json
Add a public post about the item (X, LinkedIn, YouTube, Reddit, Hacker News, dev.to/Hashnode/Medium, GitHub)#
POST
Parameters/v1/store/items/{creator}/{name}/proofsscope admincreatorrequiredpath · stringStore creator handle
namerequiredpath · stringStore item name
urlrequiredstring—
201400401403404409
curl -s -X POST https://api.kosa8.com/v1/store/items/$CREATOR/$NAME/proofs \ -H "Authorization: Bearer $KOSA8_API_KEY" \ -H 'Content-Type: application/json' -d @body.json
Remove an unverified post#
DELETE
Parameters/v1/store/items/{creator}/{name}/proofs/{id}scope admincreatorrequiredpath · stringStore creator handle
namerequiredpath · stringStore item name
idrequiredpath · stringId
200401403404
curl -s -X DELETE https://api.kosa8.com/v1/store/items/$CREATOR/$NAME/proofs/$SBX \ -H "Authorization: Bearer $KOSA8_API_KEY"
Rate 1–5 stars; only orgs that ran the item#
PUT
Parameters/v1/store/items/{creator}/{name}/ratingscope sandboxes:writecreatorrequiredpath · stringStore creator handle
namerequiredpath · stringStore item name
starsrequiredintegerMin 1. Max 5.
200400401403404
curl -s -X PUT https://api.kosa8.com/v1/store/items/$CREATOR/$NAME/rating \ -H "Authorization: Bearer $KOSA8_API_KEY" \ -H 'Content-Type: application/json' -d @body.json
Creator earnings: royalties owed (held, available, paid) and kickback credit#
GET
Responses/v1/store/earningsscope sandboxes:read200401403
curl -s -X GET https://api.kosa8.com/v1/store/earnings \ -H "Authorization: Bearer $KOSA8_API_KEY"
Where payouts go (PayPal or Wise). Never send a tax id#
PUT
JSON body/v1/store/payout-profilescope adminmethodrequired"paypal" | "wise"—
payout_emailrequiredstring—
countryrequiredstring—
legal_namerequiredstring—
200400401403
curl -s -X PUT https://api.kosa8.com/v1/store/payout-profile \ -H "Authorization: Bearer $KOSA8_API_KEY" \ -H 'Content-Type: application/json' -d @body.json