---
title: "Search App Resources"
method: POST
path: "/api/v1/search/app_resources"
tags: ["App Resource"]
---

# Search App Resources

`POST /api/v1/search/app_resources`

Invokes the c1.api.app.v1.AppResourceSearch.SearchAppResources method.

## Request body

- C1ApiAppV1SearchAppResourcesRequest — The SearchAppResourcesRequest message.
  - `appId` string — The appId field.
  - `appUserIds` string[], nullable — The appUserIds field.
  - `excludeDeletedResourceBindings` boolean — The excludeDeletedResourceBindings field.
  - `excludeResourceIds` string[], nullable — The excludeResourceIds field.
  - `excludeResourceTypeTraitIds` string[], nullable — The excludeResourceTypeTraitIds field.
  - `pageSize` integer — The pageSize field.
  - `pageToken` string — The pageToken field.
  - `query` string — The query field.
  - `refs` C1ApiAppV1AppResourceRef[], nullable — The refs field.
    - `appId` string — The appId field.
    - `appResourceTypeId` string — The appResourceTypeId field.
    - `id` string — The id field.
  - `resourceIds` string[], nullable — The resourceIds field.
  - `resourceTypeIds` string[], nullable — The resourceTypeIds field.
  - `resourceTypeTraitIds` string[], nullable — The resourceTypeTraitIds field.

## Response `200`

Successful response

- C1ApiAppV1SearchAppResourcesResponse — The SearchAppResourcesResponse message.
  - `expanded` object[], nullable — The expanded field.
    - `@type` string — The type of the serialized message.
  - `list` C1ApiAppV1AppResourceView[], nullable — The list field.
    - `appPath` string — JSONPATH expression indicating the location of the App object in the array
    - `appResource` C1ApiAppV1AppResource — The app resource message is a single resource that can have entitlements. This message contains a oneof named metadata. Only a single field of the following list may be set at a time: - secretTrait
      - `appId` string — The app that this resource belongs to.
      - `appResourceTypeId` string — The resource type that this resource is.
      - `createdAt` string, date-time
      - `customDescription` string — A custom description that can be set for a resource.
      - `deletedAt` string, date-time
      - `description` string — The description set for the resource.
      - `displayName` string — The display name for this resource.
      - `grantCount` string, int64 — The number of grants to this resource.
      - `id` string — The id of the resource.
      - `matchBatonId` string — The matchBatonId field.
      - `parentAppResourceId` string — The parent resource id, if this resource is a child of another resource.
      - `parentAppResourceTypeId` string — The parent resource type id, if this resource is a child of another resource.
      - `secretTrait` C1ApiAppV1SecretTrait, nullable — The SecretTrait message.
        - `identityAppUserId` string — The identityAppUserId field.
        - `lastUsedAt` string, date-time
        - `secretCreatedAt` string, date-time
        - `secretExpiresAt` string, date-time
      - `updatedAt` string, date-time
    - `parentResourcePath` string — JSONPATH expression indicating the location of the Parent Resource object in the array
    - `parentResourceTypePath` string — JSONPATH expression indicating the location of the Parent Resource Type object in the array
    - `resourceTypePath` string — JSONPATH expression indicating the location of the Resource Type object in the array
  - `nextPageToken` string — The nextPageToken field.

## Changes

- **2025-05-30** `d5c56e8615fe` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/conductorone/apis/c1-api/changes/api/v1/search/app_resources/post.md)

---

[API](https://skmtc.dev/conductorone/apis/c1-api.md) · [All operations](https://skmtc.dev/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/e09d811ca082/schema)
