---
title: "Read one app's AI provider bindings and the key names they can use"
method: GET
path: "/api/nodes/{node_id}/services/{service}/ai"
tags: ["nodes"]
---

# Read one app's AI provider bindings and the key names they can use

`GET /api/nodes/{node_id}/services/{service}/ai`

## Request

- Base URL: `https://app.nerdit.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.nerdit.ai/api/nodes/{node_id}/services/{service}/ai`
- Auth: none declared

Ask the node for the app's ``[ai.*]`` view, its key names and the shared scope.

## Path parameters

- `service` string, required
- `node_id` string, uuid, required

## Response `200`

Successful Response

- NodeAiView: One app's AI bindings and the keys they can reference.
  - `online` boolean, required
  - `service` string, required
  - `etag` string, nullable, required
  - `bindings` NodeAiBindingView[], required
    - `name` string, required
    - `provider` string, required
    - `model` string, required
    - `base_url` string, nullable, required
    - `key_set` boolean, required
  - `keys` NodeAiKeysView, required: Key names the binding form can pick from: the machine's, then the app's.
    - `shared` string[], required
    - `service` string[], required
  - `shared_scope` boolean, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Content
- `502`: Bad Gateway

---

[API](https://skmtc.dev/nerdit/apis/nerdit-cloud-web.md) · [All operations](https://skmtc.dev/nerdit/apis/nerdit-cloud-web/llms.txt) · [OpenAPI document](https://skmtc.dev/nerdit/apis/nerdit-cloud-web/revisions/06e3b44b58be?raw)
