---
title: "POST /api/rpc/queryBoardAgentContext"
method: POST
path: "/api/rpc/queryBoardAgentContext"
tags: ["boards"]
---

# POST /api/rpc/queryBoardAgentContext

`POST /api/rpc/queryBoardAgentContext`

## Request

- Base URL: `https://21risk.com`
- URL: `https://21risk.com/api/rpc/queryBoardAgentContext`
- Auth: OAuth 2 (client credentials, token URL `/api/v1/oauth/token`)

Read the context an AI agent needs before working on a board: its name, type, item labels and the instructions a board admin wrote for agents, rendered as markdown. Call this first whenever a task is scoped to a board and follow the instructions it returns. The agentInstructionsDocument field carries the same text as the raw TipTap document the editor stores; agents should read agentInstructions.

## Request body

- object
  - `tenant` unknown, required
  - `boardSlug` string, required: The slug of the board, as listed by queryTenant

## Response `200`

Successful response

---

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