---
title: "Update global instructions"
method: POST
path: "/api/v2/agent/updateGlobalInstructions"
tags: ["Agent"]
---

# Update global instructions

`POST /api/v2/agent/updateGlobalInstructions`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v2/agent/updateGlobalInstructions`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

Update the organization's global instructions. These instructions are prepended to every agent task prompt. Pass null to clear them. Use this to set org-wide policies like: require Slack confirmation before destructive actions, escalation rules for critical findings, or memory usage guidelines.

## Request body

- AgentUpdateGlobalInstructionsRequest
  - `organizationId` string: Organization ID (injected by MCP server)
  - `globalInstructions` string, nullable, required: New global instructions to set. Pass null to clear. These instructions are prepended to every agent task prompt.

## Response `200`

Updated global instructions

- AgentUpdateGlobalInstructionsResponse
  - `globalInstructions` string, nullable, required: The updated global instructions value.

## Other responses

- `400`: Error Response
- `401`: Error Response

---

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