POST
/
api
/
triage
/
v1
/
{sessionId}
/
evidence
curl --request POST \
  --url https://developer.synq.io/api/triage/v1/{sessionId}/evidence \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sessionId": "<string>",
  "evidence": [
    {
      "evidenceId": "<string>",
      "issueIds": [
        "<string>"
      ],
      "title": "<string>",
      "issueHistory": {
        "issueIds": [
          "<string>"
        ]
      },
      "rootCause": {
        "issueId": "<string>"
      },
      "relatedIssue": {
        "issueIds": [
          "<string>"
        ]
      },
      "change": {
        "entities": [
          {
            "dbtCoreNode": {
              "integrationId": "<string>",
              "nodeId": "<string>"
            },
            "dbtCloudNode": {
              "projectId": "<string>",
              "accountId": "<string>",
              "nodeId": "<string>"
            },
            "bigqueryTable": {
              "project": "<string>",
              "dataset": "<string>",
              "table": "<string>"
            },
            "snowflakeTable": {
              "account": "<string>",
              "database": "<string>",
              "schema": "<string>",
              "table": "<string>"
            },
            "redshiftTable": {
              "cluster": "<string>",
              "database": "<string>",
              "schema": "<string>",
              "table": "<string>"
            },
            "postgresTable": {
              "host": "<string>",
              "database": "<string>",
              "schema": "<string>",
              "table": "<string>"
            },
            "mysqlTable": {
              "host": "<string>",
              "schema": "<string>",
              "table": "<string>"
            },
            "clickhouseTable": {
              "host": "<string>",
              "schema": "<string>",
              "table": "<string>"
            },
            "airflowDag": {
              "integrationId": "<string>",
              "dagId": "<string>"
            },
            "airflowTask": {
              "integrationId": "<string>",
              "dagId": "<string>",
              "taskId": "<string>"
            },
            "custom": {
              "id": "<string>"
            },
            "dataproduct": {
              "id": "<string>"
            },
            "synqPath": {
              "path": "<string>"
            },
            "databricksTable": {
              "workspace": "<string>",
              "catalog": "<string>",
              "schema": "<string>",
              "table": "<string>"
            },
            "trinoTable": {
              "host": "<string>",
              "catalog": "<string>",
              "schema": "<string>",
              "table": "<string>"
            },
            "sqlMeshModel": {
              "integrationId": "<string>",
              "fqn": "<string>"
            },
            "sqlMeshAudit": {
              "integrationId": "<string>",
              "fqn": "<string>",
              "auditId": "<string>"
            },
            "monitor": {
              "monitoredId": {},
              "monitorId": "<string>",
              "segment": "<string>",
              "integrationId": "<string>"
            }
          }
        ],
        "entitiesSynqPaths": [
          "<string>"
        ],
        "changeDescription": "<string>",
        "changeIds": [
          "<string>"
        ]
      },
      "analysis": {
        "analysis": "<string>",
        "sqlQueries": [
          "<string>"
        ]
      },
      "commit": {
        "changeId": "<string>",
        "relevantCodeChanges": [
          {
            "filePath": "<string>",
            "startLine": 123,
            "endLine": 123,
            "changeDescription": "<string>"
          }
        ]
      },
      "dataQueryV2": {
        "items": [
          {
            "queryId": "<string>",
            "dataAnalysis": "<string>"
          }
        ]
      },
      "other": {
        "analysis": "<string>"
      },
      "impactedDataproduct": {
        "impactReason": "<string>",
        "dataproductIds": [
          "<string>"
        ]
      },
      "impactedOwner": {
        "impactReason": "<string>",
        "ownerIds": [
          "<string>"
        ]
      }
    }
  ]
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sessionId
string
required

Unique identifier of the triaging session, used to group related operations.

Body

application/json

Request to record evidence collected during the triage investigation.

Response

200
application/json

OK

Response for the RecordEvidence operation. Empty as the operation is fire-and-forget.