Tracira
API referenceInstructions

Save a new instructions version

Appends a version and makes it active.

Token callers create a teach version. Use it after a reviewer sends a draft back with feedback: rewrite the instructions with your own AI step, then save the result here with the reviewer's comment and the output it came from.

Dashboard sessions create manual edits or restores.

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

Authorization

webhookToken
AuthorizationBearer <token>

Workspace webhook token from Settings -> Integrations.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/instructions/versions" \  -H "Content-Type: application/json" \  -d '{    "project": "Customer Support",    "task": "Email reply",    "content": "You write friendly, concise replies to customer emails. Always sign off as The Support Team.",    "teachComment": "Always sign off as The Support Team",    "logId": "b1c2d3e4-5f60-4711-8899-aabbccddeeff"  }'
{  "version": 0}