Tracira
API referenceOutputs

Flag an output

Flags an already-evaluated output for human review - for example when an end-user clicks a "report an issue" button.

  • The output re-enters the pending-review queue (any prior approve/reject decision is cleared).
  • The workspace's notification channels fire.
  • Returns 409 if the output is still being evaluated.
patchhttps://www.tracira.com/api/logs/{id}/status
PATCH
/api/logs/{id}/status

Authorization

AuthorizationBearer <token>

Workspace webhook token from Settings -> Integrations.

In: header

Path Parameters

id*string

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

application/json

curl -X PATCH "https://example.com/api/logs/b7d1c9e4-3f2a-4d5b-9c81-0a6e7f2b4d13/status" \  -H "Content-Type: application/json" \  -d '{    "status": "flagged"  }'
{  "ok": true,  "id": "string",  "status": "flagged"}
{  "error": "string",  "code": "string",  "fields": {    "property1": "string",    "property2": "string"  }}
{  "error": "string",  "code": "string",  "fields": {    "property1": "string",    "property2": "string"  }}
{  "error": "string",  "code": "string",  "fields": {    "property1": "string",    "property2": "string"  }}
{  "error": "string",  "code": "string",  "fields": {    "property1": "string",    "property2": "string"  }}
{  "error": "string",  "code": "string",  "fields": {    "property1": "string",    "property2": "string"  }}