curl --request POST \
--url 'https://api.nsr.stateset.com/api/v1/nsr/recommend-strategy' \
--header "X-API-Key: $STATESET_NSR_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"complexity": 0.7,
"domain": "SCAN",
"is_compositional": true,
"requires_logic": true,
"requires_patterns": true,
"sequence_length": 10,
"vocabulary_size": 50
}'
{
"alternatives": [
"symbolic_first",
"neural_first"
],
"confidence": 0.92,
"strategy": "hybrid_weighted"
}
Get strategy recommendation for a task
Required scope: write
POST
/
api
/
v1
/
nsr
/
recommend-strategy
curl --request POST \
--url 'https://api.nsr.stateset.com/api/v1/nsr/recommend-strategy' \
--header "X-API-Key: $STATESET_NSR_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"complexity": 0.7,
"domain": "SCAN",
"is_compositional": true,
"requires_logic": true,
"requires_patterns": true,
"sequence_length": 10,
"vocabulary_size": 50
}'
{
"alternatives": [
"symbolic_first",
"neural_first"
],
"confidence": 0.92,
"strategy": "hybrid_weighted"
}
Required scope:
write
Request body
TaskCharacteristicsRequest
Response
StrategyRecommendationResponse
Status codes
| Code | Meaning |
|---|---|
200 | Strategy recommendation |
401 | Unauthorized — missing or invalid credentials |
403 | Forbidden — the key/token lacks the required scope |
429 | Rate limited — see Retry-After / X-RateLimit-Reset |
503 | Metacognition not enabled |
curl --request POST \
--url 'https://api.nsr.stateset.com/api/v1/nsr/recommend-strategy' \
--header "X-API-Key: $STATESET_NSR_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"complexity": 0.7,
"domain": "SCAN",
"is_compositional": true,
"requires_logic": true,
"requires_patterns": true,
"sequence_length": 10,
"vocabulary_size": 50
}'
{
"alternatives": [
"symbolic_first",
"neural_first"
],
"confidence": 0.92,
"strategy": "hybrid_weighted"
}
Last modified on August 31, 2026