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

# List Resources

> Retrieve a list of resources

## Overview

Retrieve a list of resources. Resources represent data sources like databases, APIs, or files that can be connected to Ledgerbeam for data analysis and processing.


## OpenAPI

````yaml GET /resources
openapi: 3.1.0
info:
  title: Ledgerbeam API
  description: >-
    Conversational analytics API for querying data using natural language,
    managing resources, and interacting with data sources
  version: 1.0.0
  contact:
    name: Ledgerbeam Support
    email: support@ledgerbeam.com
  license:
    name: MIT
servers:
  - url: https://api.ledgerbeam.com/v1
    description: Production server
security:
  - apiKeyAuth: []
paths:
  /resources:
    get:
      summary: List resources
      description: Retrieve a list of resources
      operationId: listResources
      responses:
        '200':
          description: Resources retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceListResponse'
components:
  schemas:
    ResourceListResponse:
      type: object
      properties:
        next_cursor:
          type: string
          description: Pagination cursor for next page
          example: XjdHaksD
        data:
          type: array
          items:
            $ref: '#/components/schemas/Resource'
          description: List of resources
    Resource:
      type: object
      properties:
        id:
          type: string
          description: Resource ID
          example: res_123456789
        name:
          type: string
          description: Resource name
          example: My Database
        description:
          type: string
          description: Resource description
          example: Production database connection
        type:
          type: string
          description: Resource type
          example: postgresql
        status:
          type: string
          enum:
            - active
            - inactive
            - error
          description: Resource status
          example: active
        created_at:
          type: string
          format: date-time
          description: Creation timestamp
          example: '2024-01-15T10:30:00Z'
        updated_at:
          type: string
          format: date-time
          description: Last update timestamp
          example: '2024-01-15T10:35:00Z'
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: API-KEY
      description: API key for authentication

````