GET
/
api
/
issues
/
v1
curl --request GET \
  --url https://developer.synq.io/api/issues/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "from": "2023-11-07T05:31:56Z",
  "to": "2023-11-07T05:31:56Z",
  "limit": {
    "max": 123,
    "afterId": "<string>"
  },
  "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>"
      }
    }
  ]
}'
{
  "issues": [
    {
      "id": "<string>",
      "name": "<string>",
      "message": "<string>",
      "currentMessage": "<string>",
      "lastErrorMessage": "<string>",
      "severity": 123,
      "triggerEntity": {
        "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>"
        }
      },
      "monitor": {
        "monitor": {
          "monitoredId": {},
          "monitorId": "<string>",
          "segment": "<string>",
          "integrationId": "<string>"
        },
        "metricId": "<string>",
        "metricVersion": 123,
        "segmentValue": "<string>"
      },
      "affectedEntities": [
        {
          "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>"
          }
        }
      ],
      "state": 123,
      "startedAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "endedAt": "2023-11-07T05:31:56Z",
      "latestStatus": 123,
      "latestStatusActor": {
        "name": "<string>",
        "slack": {
          "userId": "<string>"
        },
        "email": {
          "userEmail": "<string>"
        },
        "pagerduty": {
          "userId": "<string>"
        }
      },
      "comments": [
        {
          "id": "<string>",
          "message": "<string>",
          "createdAt": "2023-11-07T05:31:56Z",
          "actor": {
            "name": "<string>",
            "slack": {
              "userId": "<string>"
            },
            "email": {
              "userEmail": "<string>"
            },
            "pagerduty": {
              "userId": "<string>"
            }
          }
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

OK

The response is of type object.