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

# query relation multi resource

`POST /api/v1/relation/multi_resource`

## Headers

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

## Request body

- CmdbRelationMultiResourceRequest
  - `query_list` object[]
    - `look_back_delta` string
    - `path_resource` string[]
    - `source_expand_info` CmdbMatcher
    - `source_info` CmdbMatcher
    - `source_type` string
    - `target_info_show` boolean
    - `target_type` string
    - `timestamp` integer

## Response `200`

OK

- CmdbRelationMultiResourceResponse
  - `data` CmdbRelationMultiResourceResponseData[]
    - `code` integer
    - `message` string
    - `path` string[]
    - `source_info` CmdbMatcher
    - `source_type` string
    - `target_list` CmdbMatcher[]
    - `target_type` string
  - `trace_id` string

## Other responses

- `400` — Bad Request

## Changes

- **2024-02-28** `498668108be1` — 1 info
  - api operation id `api-relation-multi-resource` removed and replaced with `relation_multi_resource_query`
- **2023-10-27** `2943dd96f5a3` — 1 info
  - api operation id `relation_multi_resource_query` removed and replaced with `api-relation-multi-resource`

[Change history](https://skmtc.dev/tencentblueking/apis/bk-unify-query/changes/api/v1/relation/multi_resource/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)
