curl --request POST \
--url 'https://api.nsr.stateset.com/api/v1/nsr/got/thoughts' \
--header "X-API-Key: $STATESET_NSR_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"content": "First, identify the action primitives in the input",
"parent_id": null,
"score": 0.85
}'
{
"content": "Two-person tent, green — replacement for damaged pole set.",
"id": 1001,
"score": 7.5
}
Add a thought to the reasoning graph
Required scope: write
POST
/
api
/
v1
/
nsr
/
got
/
thoughts
curl --request POST \
--url 'https://api.nsr.stateset.com/api/v1/nsr/got/thoughts' \
--header "X-API-Key: $STATESET_NSR_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"content": "First, identify the action primitives in the input",
"parent_id": null,
"score": 0.85
}'
{
"content": "Two-person tent, green — replacement for damaged pole set.",
"id": 1001,
"score": 7.5
}
Required scope:
write
Request body
AddThoughtRequest
string
required
Thought content
integer
Optional parent thought ID to connect from
number (float)
required
Initial score
Response
ThoughtResponse
string
required
Content
integer
required
Thought ID
number (float)
required
Score
Status codes
| Code | Meaning |
|---|---|
200 | Thought added |
400 | Invalid request |
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 | GoT not enabled |
curl --request POST \
--url 'https://api.nsr.stateset.com/api/v1/nsr/got/thoughts' \
--header "X-API-Key: $STATESET_NSR_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"content": "First, identify the action primitives in the input",
"parent_id": null,
"score": 0.85
}'
{
"content": "Two-person tent, green — replacement for damaged pole set.",
"id": 1001,
"score": 7.5
}
Last modified on August 31, 2026