curl --request POST \
--url 'https://api.nsr.stateset.com/api/v1/nsr/got/connect' \
--header "X-API-Key: $STATESET_NSR_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"from_id": 1001,
"to_id": 1001
}'
Connect two thoughts in the graph
Required scope: write
POST
/
api
/
v1
/
nsr
/
got
/
connect
curl --request POST \
--url 'https://api.nsr.stateset.com/api/v1/nsr/got/connect' \
--header "X-API-Key: $STATESET_NSR_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"from_id": 1001,
"to_id": 1001
}'
Required scope:
write
Request body
ConnectThoughtsRequest
integer
required
Source thought ID
integer
required
Target thought ID
Response
No response body. Thoughts connected.Status codes
| Code | Meaning |
|---|---|
200 | Thoughts connected |
400 | Invalid connection |
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/connect' \
--header "X-API-Key: $STATESET_NSR_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"from_id": 1001,
"to_id": 1001
}'
Last modified on August 31, 2026