> ## Documentation Index
> Fetch the complete documentation index at: https://docs.accessowl.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List resources for an application

> Returns the resources defined for the given application, each with its permissions.



## OpenAPI

````yaml GET /api/v1/applications/{application_id}/resources
openapi: 3.0.0
info:
  description: REST API for AccessOwl third-party integrations
  title: AccessOwl API
  version: 1.0.0
servers:
  - url: https://api.accessowl.com
    variables: {}
security:
  - bearer: []
tags: []
paths:
  /api/v1/applications/{application_id}/resources:
    get:
      tags:
        - applications
      summary: List resources for an application
      description: >-
        Returns the resources defined for the given application, each with its
        permissions.
      operationId: AccessOwlApi.ApplicationController.list_objects
      parameters:
        - description: Application ID
          in: path
          name: application_id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceList'
          description: Resource list
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Not found
      callbacks: {}
components:
  schemas:
    ResourceList:
      description: List of resources for an application
      properties:
        data:
          description: List of resources
          items:
            $ref: '#/components/schemas/Resource'
          type: array
      required:
        - data
      title: ResourceList
      type: object
    Error:
      description: Standard error response
      example:
        error: not_found
        message: Resource not found
      properties:
        error:
          description: Error code
          example: not_found
          type: string
        errors:
          additionalProperties:
            items:
              type: string
            type: array
          description: Field-specific validation errors (only for 422 responses)
          example:
            email:
              - has invalid format
            first_name:
              - can't be blank
          type: object
        message:
          description: Human-readable error message
          example: Resource not found
          type: string
      required:
        - error
        - message
      title: Error
      type: object
    Resource:
      description: A resource (grouping of permissions) within an application
      example:
        application_id: 7488a646-e31f-11e4-aace-600308960662
        description: Main workspace access
        id: 7488a646-e31f-11e4-aace-600308960663
        multiple_permissions_selectable: false
        parent_resource_id: null
        permissions:
          - elevated: false
            id: 7488a646-e31f-11e4-aace-600308960664
            requestable: true
            title: Member
        requestable: true
        title: Workspace
        type: resource
      properties:
        application_id:
          description: Application ID
          format: uuid
          type: string
        description:
          description: Description
          nullable: true
          type: string
        id:
          description: Resource ID
          format: uuid
          type: string
        multiple_permissions_selectable:
          description: >-
            Whether multiple permissions can be selected when requesting this
            resource
          type: boolean
        parent_resource_id:
          description: Parent resource ID for nested resources
          format: uuid
          nullable: true
          type: string
        permissions:
          description: Permissions within this resource (when loaded)
          items:
            $ref: '#/components/schemas/Permission'
          type: array
        requestable:
          description: Whether it can be requested
          type: boolean
        title:
          description: Resource title
          type: string
        type:
          description: Resource type
          enum:
            - resource
            - group
          nullable: true
          type: string
      required:
        - id
        - title
        - requestable
        - application_id
      title: Resource
      type: object
    Permission:
      description: A permission within a resource
      example:
        description: Administrator access
        elevated: true
        id: 7488a646-e31f-11e4-aace-600308960664
        requestable: true
        resource_id: 7488a646-e31f-11e4-aace-600308960663
        title: Admin
      properties:
        description:
          description: Description
          nullable: true
          type: string
        elevated:
          description: Whether it's an elevated/admin access
          type: boolean
        id:
          description: Permission ID
          format: uuid
          type: string
        requestable:
          description: Whether it can be requested
          type: boolean
        resource_id:
          description: Parent resource ID
          format: uuid
          type: string
        title:
          description: Permission title
          type: string
      required:
        - id
        - title
        - requestable
        - elevated
        - resource_id
      title: Permission
      type: object
  securitySchemes:
    bearer:
      description: >-
        Bearer token authentication. Pass your AccessOwl API token in the
        `Authorization` header as `Bearer <token>`.
      scheme: bearer
      type: http

````