curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/types' \
--header 'X-API-Key: YOUR_API_KEY'
{
"primitive_types": [
"string"
],
"subtypes": [
{
"subtype": "string",
"supertype": "string"
}
]
}
List available primitive types
Required scope: read
GET
/
api
/
v1
/
types
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/types' \
--header 'X-API-Key: YOUR_API_KEY'
{
"primitive_types": [
"string"
],
"subtypes": [
{
"subtype": "string",
"supertype": "string"
}
]
}
Required scope:
read
Response
ListTypesResponse
string[]
required
Status codes
| Code | Meaning |
|---|---|
200 | List of types |
401 | Unauthorized — missing or invalid credentials |
403 | Forbidden — the key/token lacks the required scope |
429 | Rate limited — see Retry-After / X-RateLimit-Reset |
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/types' \
--header 'X-API-Key: YOUR_API_KEY'
{
"primitive_types": [
"string"
],
"subtypes": [
{
"subtype": "string",
"supertype": "string"
}
]
}