kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

HTTP API / Store

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/v1/store/itemspublic
Parameters
qquery · string
Search text
categoryquery · string
Category
kindquery · string
Kind
Responses
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/v1/store/itemsscope admin
JSON body
creatorstring
—
namerequiredstring
—
kindrequired"template" | "save_state" | "environment" | "mcp_server" | "function"
—
titlerequiredstring
—
summaryrequiredstring
—
categoryrequiredstring
—
Responses
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/v1/store/items/{creator}/{name}public
Parameters
creatorrequiredpath · string
Store creator handle
namerequiredpath · string
Store item name
Responses
200404
curl -s -X GET https://api.kosa8.com/v1/store/items/$CREATOR/$NAME

Store Guidelines, creator agreement, fee and kickback rates (public)#

GET/v1/store/termspublic
Responses
200
curl -s -X GET https://api.kosa8.com/v1/store/terms

This org's Store listings, versions and posts#

GET/v1/store/minescope sandboxes:read
Responses
200401403
curl -s -X GET https://api.kosa8.com/v1/store/mine \
  -H "Authorization: Bearer $KOSA8_API_KEY"

Add a draft version#

POST/v1/store/items/{creator}/{name}/versionsscope admin
Parameters
creatorrequiredpath · string
Store creator handle
namerequiredpath · string
Store item name
JSON body
versionrequiredstring
MAJOR.MINOR.PATCH; immutable once submitted
sourcerequiredobject
—
source.templaterequiredstring
A kosa8 Cloud template key
source.imagestring
—
source.checkpointstring
—
egressarray of string
Every host the item contacts (or *.domain)
env_namesarray of string
Environment variable NAMES it reads; never values
smoke_testrequiredarray of string
A command that must exit 0
toolsarray of object
mcp_server only: pinned tool descriptions
readmestring
—
changelogstring
—
price_model"free" | "per_run" | "per_hour" | "monthly"
—
price_usdnumber
—
Responses
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/v1/store/items/{creator}/{name}/versions/{version}scope sandboxes:read
Parameters
creatorrequiredpath · string
Store creator handle
namerequiredpath · string
Store item name
versionrequiredpath · string
Version, MAJOR.MINOR.PATCH
Responses
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/v1/store/items/{creator}/{name}/versions/{version}scope admin
Parameters
creatorrequiredpath · string
Store creator handle
namerequiredpath · string
Store item name
versionrequiredpath · string
Version, MAJOR.MINOR.PATCH
Responses
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/v1/store/items/{creator}/{name}/versions/{version}/submitscope admin
Parameters
creatorrequiredpath · string
Store creator handle
namerequiredpath · string
Store item name
versionrequiredpath · string
Version, MAJOR.MINOR.PATCH
JSON body
accept_agreementrequiredboolean
—
Responses
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/v1/store/items/{creator}/{name}/versions/{version}/publishscope admin
Parameters
creatorrequiredpath · string
Store creator handle
namerequiredpath · string
Store item name
versionrequiredpath · string
Version, MAJOR.MINOR.PATCH
Responses
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/v1/store/items/{creator}/{name}/versions/{version}/appealscope admin
Parameters
creatorrequiredpath · string
Store creator handle
namerequiredpath · string
Store item name
versionrequiredpath · string
Version, MAJOR.MINOR.PATCH
JSON body
noterequiredstring
—
Responses
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/v1/store/items/{creator}/{name}/proofsscope admin
Parameters
creatorrequiredpath · string
Store creator handle
namerequiredpath · string
Store item name
JSON body
urlrequiredstring
—
Responses
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/v1/store/items/{creator}/{name}/proofs/{id}scope admin
Parameters
creatorrequiredpath · string
Store creator handle
namerequiredpath · string
Store item name
idrequiredpath · string
Id
Responses
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/v1/store/items/{creator}/{name}/ratingscope sandboxes:write
Parameters
creatorrequiredpath · string
Store creator handle
namerequiredpath · string
Store item name
JSON body
starsrequiredinteger
Min 1. Max 5.
Responses
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/v1/store/earningsscope sandboxes:read
Responses
200401403
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/v1/store/payout-profilescope admin
JSON body
methodrequired"paypal" | "wise"
—
payout_emailrequiredstring
—
countryrequiredstring
—
legal_namerequiredstring
—
Responses
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

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · AI Agent Sandbox: Secure and Sovereign for Enterprise · Local models served by llamay · Agent gateway: MAQPNA