curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "openrouter",
"path": "/../alpha/decisions",
"method": "POST",
"body": {
"model": "",
"state": "",
"questions": {
"is_bug": {
"type": "",
"criteria": {
"true": "",
"false": ""
},
"instructions": ""
}
}
}
}'
The final charge depends on what comes back. It shows after Run.
up to$1.00per call
Response-basedThe price is worked out from the usage reported in the response, never more than $1.00 per call.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 99.9% success · 882 ms median · 30 days
About this endpoint
Submit structured evaluation questions against a state (content to evaluate). Supports three question types: noul (boolean/probability), choice (categorical pick-one), and score (ordinal rating). Returns typed answers with confidence scores and token usage. Alpha feature.
Body parameters
modelrequiredstringModel identifier to use for evaluation (e.g. typesafe/jev-1.13)staterequiredanyThe content to evaluate: a plain string, or a JSON object or array of related contextquestionsrequiredobjectMap of named questions. Each value has a type (noul, choice, or score), instructions, and criteria. noul: criteria.true/false strings. choice: criteria as {option: description} map. score: criteria as ordered array low-to-high.providerobjectProvider routing preferences (allow_fallbacks, order, data_collection, etc.)session_idstringUnique identifier for grouping related requests. Used for observability. Max 256 chars.userstringEnd-user identifier. Max 256 chars.traceobjectMetadata for observability and tracing (trace_id, trace_name, span_name, generation_name, parent_span_id)More from OpenRouter
- List ModelsGET/modelsFree
- Generate ImagePOST/imagesUp to $5.00 per callResponse-based
- RerankPOST/rerankUp to $0.10 per callResponse-based
- List ProvidersGET/providersFree
- Create ResponsePOST/responsesUp to $5.00 per callResponse-based
- Chat CompletionPOST/chat/completionsUp to $5.00 per callResponse-based
- Generate VideoPOST/videosFrom $0.12 per callRequest-based
- Create EmbeddingPOST/embeddingsUp to $0.10 per callResponse-based
- Get ModelGET/model/{author}/{slug}Free
- Create MessagePOST/messagesUp to $5.00 per callResponse-based
- Text to SpeechPOST/audio/speechUp to $0.50 per callResponse-based
- Transcribe AudioPOST/audio/transcriptionsUp to $0.10 per callResponse-based