Check data collection status by connection
list_connection_dag_statusGet Connection Dag Log
When to use: 지원되는 V2 데이터 연결들의 DAG 실행 상태를 한 번에 조회할 때. 마지막으로 끝난 실행까지 보려면 with_last_run=true를 주세요.
When NOT to use: 재인증·연결 수정에 사용하지 마세요. 수집을 지금 다시 돌려야 하면 trigger_connection_sync(연동 단위 최신화, 최신화를 받지 않는 연동이나 이 프로젝트에 없는 id 는 404)를 부르고, 그 응답 run_id 를 이 도구 결과의 run_id 와 대조해 진행을 확인하세요. 식별자가 없거나 지원하지 않는 축의 로그를 다른 연결에 귀속하거나 정상으로 추론하지 마세요.
Limitations: list_data_sources/get_data_source_meta는 data_connection(구형)·data_connection_v2 의 인증·연동 상태이며 이 도구의 DAG 실행 로그와 범위가 다릅니다. 광고 로그인 계정 하나를 여러 회사가 나눠 쓰는 provider(대표: FACEBOOK/Meta) 는 커넥션(/data-connection) 축이 아니라 몰(광고 로그인 계정) 축으로만 답하며, 이 테넌트가 소유한 광고계정·데이터를 수집한 run만 보여줍니다. 빈 목록, runs=[], 누락 식별자 또는 404는 정상·성공의 증거가 아닙니다. DAG 실행 로그를 지원하는 provider 의 V2 연결만 반환하며 전체 연동 목록이 아닙니다. 응답 id는 connection_id이며 상세·이력의 data_id로 대입하면 안 됩니다. state는 지금 돌고 있거나 끝난 지 10분 안의 실행만 담아, 어제 끝난 연결은 빈 목록입니다. with_last_run=true면 각 연결에 last_run(최근 days일, 기본 2일 안의 마지막 실행 단계, 없으면 null)이 붙습니다. 이 옵션은 실행 기록 저장소를 한 번 더 조회합니다. 그 저장소를 못 읽으면 last_run 은 null 이고 last_run_unavailable=true 와 last_run_unavailable_reason 이 함께 붙습니다 — 이때 null 은 「실행 없음」이 아니라 「못 읽음」입니다.
Examples:
Q: 지원되는 데이터 연결의 수집 실행 상태를 보여줘 params: {}
Q: 연결마다 마지막 수집이 언제 어떻게 끝났는지 보여줘 params: {'query': {'with_last_run': True}}
Output shape: list of {id: connection_id, name, state: live DAG status entries, last_run(with_last_run=true일 때만): {mall_id: null, data_id, run_id, started_at, stages, blocking_stage, failed_task, error_message, skipped_streams} | null, last_run_unavailable?: true, last_run_unavailable_reason?: str}
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_connection_dag_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| project-id | No | ||
| with_last_run | No |