Tracira
API referenceLogs

Flag a log for review

Flags an already-evaluated log for human review, e.g. an end-user clicked a "report an issue" button. The log re-enters the pending-review queue (any prior approve/reject decision is cleared) and the workspace's notification channels fire. Returns 409 if the log is still being evaluated.

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/string/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"
  }
}