---
title: "query relation multi resource"
method: POST
path: "/api/v1/relation/multi_resource_range"
---

# query relation multi resource

`POST /api/v1/relation/multi_resource_range`

## Headers

- `traceparent` string
- `X-Bk-Scope-Space-Uid` string

## Request body

- CmdbRelationMultiResourceRangeRequest
  - `query_list` object[]
    - `end_time` integer
    - `look_back_delta` string
    - `path_resource` string[]
    - `source_expand_info` CmdbMatcher
    - `source_info` CmdbMatcher
    - `source_type` string
    - `start_time` integer
    - `step` string
    - `target_info_show` boolean
    - `target_type` string

## Response `200`

OK

- CmdbRelationMultiResourceRangeResponse
  - `data` CmdbRelationMultiResourceRangeResponseData[]
    - `code` integer
    - `message` string
    - `path` string[]
    - `source_info` CmdbMatcher
    - `source_type` string
    - `target_list` CmdbMatchersWithTimestamp[]
      - `items` CmdbMatcher[]
      - `timestamp` integer
    - `target_type` string
  - `trace_id` string

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/tencentblueking/apis/bk-unify-query.md) · [All operations](https://skmtc.net/tencentblueking/apis/bk-unify-query/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tencentblueking/bk-unify-query/versions/1c1ea4b46f93/schema)
