---
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

## Changes

- **2024-02-28** `498668108be1` — 1 info
  - endpoint added
- **2023-10-27** `2943dd96f5a3` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tencentblueking/apis/bk-unify-query/changes/api/v1/relation/multi_resource_range/post.md)

---

[API](https://skmtc.dev/tencentblueking/apis/bk-unify-query.md) · [All operations](https://skmtc.dev/tencentblueking/apis/bk-unify-query/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tencentblueking/bk-unify-query/revisions/f26136596521/schema)
