---
title: "Get node custom agent prompts"
method: GET
path: "/api/v1/nodes/{nodeId}/agent-prompts"
tags: ["Nodes"]
---

# Get node custom agent prompts

`GET /api/v1/nodes/{nodeId}/agent-prompts`

## Request

- Base URL: `https://api-docs.busabase.com`
- URL: `https://api-docs.busabase.com/api/v1/nodes/{nodeId}/agent-prompts`
- Auth: none declared

## Path parameters

- `nodeId` string, required

## Response `200`

This node's custom scenario prompts, which appear alongside the node type's built-in prompts in the Ask-agent dialog. `null` means the node has never had any set, which is not the same as an empty list. Read separately from the node itself because the list is large enough (50 prompts x 8 KiB per locale) that carrying it on every node listing would be its own problem. Requires read access on the node.

- object
  - `nodeId` string, required
  - `agentPrompts` object[], required
    - `key` string, required
    - `intent` 'read-only' | 'change'
    - `label` union, required: i18n string
      - string
      - object
    - `body` union, required: i18n string
      - string
      - object

---

[API](https://skmtc.dev/busabase/apis/busabase-api.md) · [All operations](https://skmtc.dev/busabase/apis/busabase-api/llms.txt) · [OpenAPI document](https://skmtc.dev/busabase/apis/busabase-api/revisions/bc6a7d5ff4c1?raw)
