GET
/
api
/
models
/
{modelId}
/
states
curl --request GET \
  --url http://localhost:3000/api/models/{modelId}/states \
  --header 'Authorization: Bearer <token>'
[
  {
    "label": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

modelId
string
required

ID of the model

Query Parameters

type
string

Filter states by type

Response

200
application/json
List of states
label
string
required

The label of the state