Shopping assistant turn
POST/v1/conversations
Run one conversation turn. Omit conversationid to create the thread with this turn; pass it to continue an existing thread.
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "channel3",
"path": "/v1/conversations",
"method": "POST",
"body": {
"message": {
"role": "",
"parts": [
{
"text": "",
"type": ""
}
]
},
"stream":
}
}'
{
"success": true,
"data": {
"usage": { … },
"message": { … },
"turn_id": "turn_24953d5e4597420d93da62c8e798b256",
"conversation_id": "conv_985d74e2bbfd44e9bf985ef3179a2568"
}
}
A real response, recorded when Orthogonal checked this endpoint.
Changes with the parameters; the exact charge shows after Run.
Priced by usage
- Most one call can cost
- $0.1526
Body parameters
Response types
More from Channel3
- Retailer listGET/v1/websitesFree
- Product URL lookupPOST/v1/lookup$0.00763 per call
- Category listGET/v1/categoriesFree
- Brand listGET/v1/brandsFree
- Similar productsPOST/v1/similar$0.00763 per call
- Brand detailsGET/v1/brands/{brand_id}Free
- Category detailsGET/v1/categories/{slug}Free
- Conversation historyGET/v1/conversations/{conversation_id}Free
- Brand searchGET/v1/brands/searchFree
- Product browsePOST/v1/browse$0.00763 per call
- Products in imagePOST/experimental/find-products-in-image$0.01526 base price
- Image product searchPOST/v1/image-search$0.00763 per call