cURL
curl --request GET \ --url http://localhost:3000/api/models/{modelId} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "user_id": "<string>", "name": "<string>", "access_control_list": [ { "user_id": "<string>", "group_id": "<string>", "invite_id": "<string>", "email": "jsmith@example.com", "roles": [ { "name": "<string>", "permissions": [ { "action": "View", "scopes": [ "<string>" ] } ] } ] } ], "created_at": "2023-11-07T05:31:56Z" }
Retrieves a specific model by ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the model to retrieve
Optional model preview ID for shared models
Model details
The response is of type object.
object