Skip to main content
GET
/
v1
/
projects
/
{project_id}
/
models
/
{model_id}
Get Single Model
curl --request GET \
  --url https://api.landing.ai/v1/projects/{project_id}/models/{model_id}
import requests

url = "https://api.landing.ai/v1/projects/{project_id}/models/{model_id}"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.landing.ai/v1/projects/{project_id}/models/{model_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "data": {
    "id": "<string>",
    "name": "<string>"
  }
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}

Headers

apikey
string | null

Path Parameters

project_id
integer
required
model_id
string<uuid4>
required

Query Parameters

timeout
integer | null
default:60

Response

Successful Response

data
ModelItem · object | null
required