Skip to main content
POST
Improve agent instructions

Authorizations

better-auth.session_token
string
cookie
required

Session cookie set by Better Auth on sign-in.

x-workspace-id
string
header
required

Workspace UUID. Required on all /api/* endpoints.

Path Parameters

id
string<uuid>
required

Body

application/json

Use AI to improve agent instructions

currentInstructions
string
required
Minimum string length: 1
role
string
tone
string
answerLength
string

Response

Improved instructions

instructions
string
required