Get several models
GET/models
Get a list of all models that the user has permission to access.
TODO:
- Allow filter parameters.
- Add query/response parameters for pagination.
Request
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset.
The human-readable name for this asset.
Longer description of the asset.
documentation
object
Full documentation for the asset/element/model.
Version number for the asset.
Default value: true
Flag to mark non-functional or work-in-progress assets.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for this asset's creator.
Datetime when this asset was created.
Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Unique identifier for the user that most recently updated this asset.
Datetime when this asset was most recently updated.
[
{
"uuid": "aea9eaaa-8a2d-4cd9-9a9b-e1d7c071cac9",
"name": "Example Model 1",
"summary": "An example Causal Decision Model object for the OpenDI API.",
"version": "0.1",
"draft": true,
"creator": "8370ce90-2998-4fd5-8e90-d8d8e6313f2a",
"createdDate": "2024-09-11T18:54:08.507Z"
},
{
"uuid": "1832c3c1-0678-4a8b-9e61-54ac75aa58fe",
"name": "Example Model 2",
"summary": "A more minimal example CDM object for the OpenDI API."
}
]