Gamma API
ModelsModels

Check linked models

GET
/api/projects/{projectId}/models/sources/linked/check

Where each linked model's file stands over there now, against the version it is โ€” one read of the provider per model, a few at a time. A model whose file or integration cannot be read is left out of the answer rather than failing it.

Who may call it: Anyone on the project whose permission profile allows model.read. API keys: yes, given model.read for this project.

Authorization

cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Host- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

projectId*string

The project's id.

Response Body

OK.

application/json
  1. response
models*array<>
Example Request
curl -X GET 'http://localhost:3000/api/projects/string/models/sources/linked/check'
Example Response
{  "models": [    {      "modelId": "string",      "integrationId": "string",      "versionNumber": -9007199254740991,      "autoUpdate": true,      "gone": true,      "state": "ready",      "remoteVersionNumber": -9007199254740991,      "updatable": true    }  ]}