Tracira
API referenceInstructions

Queue feedback for the instructions

Adds a note to the queue that the next suggested instructions update is drafted from - the same queue the dashboard's Teach the AI and Request a change fill. Use it for feedback that reaches your automation outside Tracira, such as a correction typed in your own chat app.

Nothing changes on its own: the manager sees the note under the instructions, creates the draft and accepts it in the dashboard.

Pass your own id for the note as ref. Sending the same ref again replaces that note instead of adding a second one, and DELETE /api/instructions/feedback with the ref withdraws it - for example when the change was already applied or turned down in your own app.

The instructions must exist first (see POST /api/instructions); otherwise you get 404 with code: NO_INSTRUCTIONS.

posthttps://www.tracira.com/api/instructions/feedback
POST
/api/instructions/feedback

Authorization

webhookToken
AuthorizationBearer <token>

Workspace API token, from the Integrations page.

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

application/json

curl -X POST "https://example.com/api/instructions/feedback" \  -H "Content-Type: application/json" \  -d '{    "project": "Customer Support",    "task": "Email reply",    "comment": "Always mention the 30-day return policy when someone asks about refunds.",    "author": "Jeff (Telegram)",    "ref": "proposal-42",    "logId": "b7d1c9e4-3f2a-4d5b-9c81-0a6e7f2b4d13"  }'
{  "ok": true,  "at": "2019-08-24T14:15:22Z",  "queuedCount": 0}