Skip to content

Playground

Experience the ASP protocol flow in your browser. Walk through a complete transaction — from discovering a restaurant, browsing its menu, placing an order, to tracking delivery — all with real protocol messages.

Step 1: Discover Providers

An agent searches for nearby service providers. Configure the filters below and run the search to see matching results.

Request POST /discovery/search

    
Response waiting
Click "Search Providers" to run the request...

Step 2: Browse Catalog

After selecting a provider, the agent fetches their catalog — organized into sections with items and modifier groups for customization.

Request GET /catalog/{provider_id}/catalog

    
Response waiting
Click "Fetch Catalog" to load the menu...

Step 3: Create Checkout

The agent creates a UCP checkout with ASP's fulfillment extension — specifying items with modifiers, delivery details, and optional loyalty info.

Request POST /checkouts

    
Response waiting
Click "Create Checkout" to place the order...

Step 4: Track Order

After checkout, the marketplace sends status updates via webhooks. Click through to simulate the order progressing from confirmed to delivered.

Webhook Event WEBHOOK order.status_update

    
Order Status pending

    

Step 5: Live Streaming (WebSocket)

For truly live updates — GPS location every 3-5 seconds — ASP provides a WebSocket streaming channel. This simulates the full connection lifecycle: subscribe, status snapshot, live location updates during en_route, heartbeats, and graceful close on completion.

WebSocket Messages WS wss://host/asp/v1/ws
Click "Connect & Stream" to open the WebSocket...
Latest Event disconnected
No events yet...

Step 6: Submit Review

After delivery, the agent submits a review on behalf of the user — an overall rating, optional comment, and category-specific scores.

Request POST /reviews

    
Response waiting
Click "Submit Review" to send the review...

How It Works

This playground simulates the six core steps of an ASP transaction:

Step Capability What Happens
Discovery dev.asp.services.discovery Agent searches for providers by location, category, and rating
Catalog dev.asp.services.catalog Agent fetches the provider's menu with items and customization options
Checkout dev.asp.services.fulfillment Agent creates a UCP checkout extended with ASP fulfillment details
Tracking dev.asp.services.order_tracking Marketplace pushes status updates via webhooks
Live Stream dev.asp.services.streaming WebSocket connection streams GPS location updates in real-time
Review dev.asp.services.reviews Agent submits a post-service review with rating and category scores

All messages follow the ASP specification schemas. See the Specification Overview for the full protocol details.