Skip to main content
POST
Writes the script to the AI agent. The previous text is kept so you can undo.
Only for calls made by a 60db AI agent. The API key needs the agents permission on top of analyzer access, and the owner needs workspace role owner, admin, developer or member. Keys created with default scopes include agents. A key created with explicit permissions that leaves agents out gets 403 POLICY_DENY. Limit: 10 requests per minute per owner for suggest and apply.

Request

Headers

string
required
Bearer token with your API key: Bearer sk_...
string
required
application/json

Path

string
required
Call ID (UUID)

Body

string
required
64 hex characters. The base_hash from Suggest Agent Fix
string
required
The instructions to save, usually after from the suggestion, optionally edited. Limited to the agent script limit

Response

200

Errors

Errors use { "success": false, "message": "...", "code": "..." }. See the overview for the codes every route can return.

This endpoint

Example