Instructions

Replace the workspace-wide instructions (owner only)

PUT
/v1/instructions

Authorization

bearerAuth
AuthorizationBearer <token>

A personal API key (psk_…) or an OAuth access token (plan_at_…). Scopes: read, write.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/instructions" \  -H "Content-Type: application/json" \  -d '{    "markdown": "string"  }'
{  "instructions": {    "scope": "company",    "markdown": "string",    "path": "string",    "bytes": 0,    "maxBytes": 0,    "characters": 0,    "maxInjectedCharacters": 0,    "proposalPending": true  }}