GET
/
api
/
v1
/
models
/
{id}
curl --request GET \
  --url https://api.squared.ai/api/v1/models/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "type": "<string>",
    "attributes": {
      "name": "<string>",
      "description": "<string>",
      "query": "<string>",
      "query_type": "<string>",
      "primary_key": "<string>",
      "connector_id": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  }
}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

id
integer
required

Response

200 - application/json
data
object