π¦ ClawHub
Apiosk Publish
by @obcraft
Publish and manage Apiosk gateway listings with signed wallet authentication, listing-group aware categorization, and update/delete operations.
TERMINAL
clawhub install apiosk-publishπ About This Skill
name: apiosk-publish description: Publish and manage Apiosk gateway listings with signed wallet authentication, listing-group aware categorization, and update/delete operations.
apiosk-publish
Use this skill for API publishing and lifecycle management on https://gateway.apiosk.com.
When to use
api, datasets, compute).Required tools and files
curljqcast (Foundry)~/.apiosk/wallet.json (preferred, includes address + private_key)
- or APIOSK_PRIVATE_KEY env var
- or --private-key flagManagement endpoints
POST /v1/apis/registerGET /v1/apis/mine?wallet=0x...POST /v1/apis/:slugDELETE /v1/apis/:slug?wallet=0x...Signed wallet auth
All management calls require:
x-wallet-addressx-wallet-signaturex-wallet-timestampx-wallet-nonceCanonical message to sign:
Apiosk auth
action:
wallet:
resource:
timestamp:
nonce:
Action/resource mapping:
action=register_api, resource=register:action=update_api, resource=update:action=my_apis, resource=mine:action=delete_api, resource=delete:Listing groups and categories
Discovery groups in gateway:
apidatasetscomputeRegister payload currently uses category (not explicit listing_type).
Use this mapping:
api -> datadatasets -> datasetcompute -> computeRegister payload
POST /v1/apis/register:
{
"name": "My API",
"slug": "my-api",
"endpoint_url": "https://example.com",
"price_usd": 0.01,
"description": "My paid API",
"owner_wallet": "0x...",
"category": "dataset"
}
Agent behavior requirements
Unauthorized, regenerate timestamp + nonce and re-sign once.