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.
The final charge depends on what comes back. It shows after Run.
up to$0.1526per call
Response-basedThe price is worked out from the usage reported in the response, never more than $0.1526 per call.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Run one conversation turn. Omit conversation_id to create the thread with this turn; pass it to continue an existing thread.
Body parameters
messagerequiredobjectconversation_idstringExisting thread to continue. When omitted, a new thread is created and its id returned.filtersobjectSearch filters for the search API.configobjectOptional search configuration.contextobjectPartner-supplied context pinned to the top of a conversation thread.streambooleanStream turn events over SSE (default) or return the assembled turn as JSON.Response types
conversation_idstringturn_idstringMore from Channel3
- Retailer listGET/v1/websitesFree
- Product URL lookupPOST/v1/lookup$0.00763 per callFixed
- Category listGET/v1/categoriesFree
- Brand listGET/v1/brandsFree
- Similar productsPOST/v1/similar$0.00763 per callFixed
- 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 callFixed
- Products in imagePOST/experimental/find-products-in-image$0.00763 per result returnedResponse-based · up to $0.05341
- Image product searchPOST/v1/image-search$0.00763 per callFixed