> ## Documentation Index
> Fetch the complete documentation index at: https://conductorone-findings-decoys-followup.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Search Reachable Resources For User

> SearchReachableResourcesForUser returns the distinct app resources a user
 can reach through any of their grants, deduplicated across entitlements
 (a resource reachable via more than one grant appears once). Powers the
 Resources lane of the access graph's list view: supports free-text search
 over resource display name and narrowing to specific applications.



## OpenAPI

````yaml https://spec.speakeasy.com/conductor-one/conductorone/my-source-with-code-samples post /api/v1/search/graph/resources
openapi: 3.1.0
info:
  description: The C1 API is a HTTP API for managing C1 resources.
  title: C1 API
  version: 0.1.0-alpha
servers:
  - description: The C1 API server for the current tenant.
    url: https://{tenantDomain}.conductor.one
    variables:
      tenantDomain:
        default: example
        description: The domain of the tenant to use for this request.
security:
  - bearerAuth: []
    oauth: []
paths:
  /api/v1/search/graph/resources:
    post:
      tags:
        - App Entitlement
      summary: Search Reachable Resources For User
      description: >-
        SearchReachableResourcesForUser returns the distinct app resources a
        user
         can reach through any of their grants, deduplicated across entitlements
         (a resource reachable via more than one grant appears once). Powers the
         Resources lane of the access graph's list view: supports free-text search
         over resource display name and narrowing to specific applications.
      operationId: >-
        c1.api.app.v1.AppEntitlementSearchService.SearchReachableResourcesForUser
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/c1.api.app.v1.AppEntitlementSearchServiceSearchReachableResourcesForUserRequest
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/c1.api.app.v1.AppEntitlementSearchServiceSearchReachableResourcesForUserResponse
          description: >-
            SearchReachableResourcesForUser response. Resources are
            deduplicated: a
             resource reachable through more than one grant or entitlement appears once.
components:
  schemas:
    c1.api.app.v1.AppEntitlementSearchServiceSearchReachableResourcesForUserRequest:
      description: SearchReachableResourcesForUser request.
      properties:
        appIds:
          description: |-
            Restrict results to resources belonging to these applications. Empty
             searches across every application the user can reach.
          items:
            type: string
          type:
            - array
            - 'null'
        pageSize:
          description: Maximum number of results to return per page.
          format: int32
          type: integer
        pageToken:
          description: Token for fetching the next page of results.
          type: string
        query:
          description: Fuzzy search over the resource display name.
          type: string
        userId:
          description: The user whose reachable resources to search.
          type: string
      title: >-
        App Entitlement Search Service Search Reachable Resources For User
        Request
      type: object
      x-speakeasy-name-override: AppEntitlementSearchServiceSearchReachableResourcesForUserRequest
    c1.api.app.v1.AppEntitlementSearchServiceSearchReachableResourcesForUserResponse:
      description: |-
        SearchReachableResourcesForUser response. Resources are deduplicated: a
         resource reachable through more than one grant or entitlement appears once.
      properties:
        list:
          description: >-
            The reachable resources, one GraphNode (type =
            GRAPH_NODE_TYPE_RESOURCE)
             per distinct resource. Uses the same node representation as SearchGraph.
          items:
            $ref: '#/components/schemas/c1.api.app.v1.GraphNode'
          type:
            - array
            - 'null'
        nextPageToken:
          description: Token for fetching the next page of results.
          type: string
      title: >-
        App Entitlement Search Service Search Reachable Resources For User
        Response
      type: object
      x-speakeasy-name-override: AppEntitlementSearchServiceSearchReachableResourcesForUserResponse
    c1.api.app.v1.GraphNode:
      description: A node in the access graph.
      properties:
        appId:
          description: The appId field.
          type: string
        displayName:
          description: The displayName field.
          type: string
        id:
          description: The id field.
          type: string
        resourceTypeId:
          description: The resourceTypeId field.
          type: string
        secondaryText:
          description: >-
            Optional secondary line shown under the display name (e.g. an
            account's
             email/username, or an identity's email).
          type: string
        type:
          description: The type field.
          enum:
            - GRAPH_NODE_TYPE_UNSPECIFIED
            - GRAPH_NODE_TYPE_USER
            - GRAPH_NODE_TYPE_APP_USER
            - GRAPH_NODE_TYPE_APP
            - GRAPH_NODE_TYPE_RESOURCE_TYPE
            - GRAPH_NODE_TYPE_RESOURCE
            - GRAPH_NODE_TYPE_ENTITLEMENT
            - GRAPH_NODE_TYPE_GRANT
          type: string
          x-speakeasy-unknown-values: allow
      title: Graph Node
      type: object
      x-speakeasy-name-override: GraphNode
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http
    oauth:
      description: >-
        This API uses OAuth2 with the Client Credential flow.

        Client Credentials must be sent in the BODY, not the headers.

        For an example of how to implement this, refer to the
        [c1TokenSource.Token()](https://github.com/ConductorOne/conductorone-sdk-go/blob/3375fe7c0126d17e7ec4e711693dee7b791023aa/token_source.go#L101-L187)
        function.
      flows:
        clientCredentials:
          scopes: {}
          tokenUrl: /auth/v1/token
      type: oauth2

````