---
updatedAt: 2025-09-08T22:59:07.000Z
agentTools:
  projectIndex: https://docs.lightup.ai/llms.txt
---

# Get datasource list

List all datasources

# OpenAPI definition

```json
{
  "info": {
    "description": "Lightup Metrics API provides CRUD interface to Dashboard objects.",
    "title": "Lightup Dashboard API",
    "version": "1.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/api/{api_version}/ws/{workspace_id}/sources/": {
      "get": {
        "description": "List all datasources",
        "parameters": [
          {
            "description": "",
            "explode": true,
            "in": "path",
            "name": "api_version",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "description": "An enumeration.",
                  "enum": [
                    "v1"
                  ],
                  "title": "ApiVersion",
                  "type": "string"
                }
              ],
              "default": "v1",
              "title": "api_version"
            }
          },
          {
            "description": "UUID of the workspace; visible in the workspace URL.",
            "explode": true,
            "in": "path",
            "name": "workspace_id",
            "required": true,
            "schema": {
              "description": "UUID of the workspace; visible in the workspace URL.",
              "title": "workspace_id",
              "type": "string"
            }
          },
          {
            "description": "Return sources from offset",
            "explode": true,
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "description": "Return sources from offset",
              "title": "offset",
              "type": "integer"
            }
          },
          {
            "description": "Return only limit number of datasources",
            "explode": true,
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Return only limit number of datasources",
              "title": "limit",
              "type": "integer"
            }
          },
          {
            "description": "Input 'Bearer _access-token_'. To obtain access token, see API, API Credentials: Get access token.",
            "explode": true,
            "in": "header",
            "name": "authorization",
            "required": true,
            "schema": {
              "description": "Input 'Bearer _access-token_'. To obtain access token, see API, API Credentials: Get access token.",
              "title": "authorization",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/paths/~1api~1%7Bapi_version%7D~1ws~1%7Bworkspace_id%7D~1sources~1/post/requestBody/content/application~1json/schema"
                  },
                  "type": "array"
                }
              }
            },
            "description": ""
          }
        },
        "summary": "Get datasource list",
        "tags": [
          "Datasources"
        ]
      }
    }
  },
  "servers": [
    {
      "description": "Enter your Lightup subdomain",
      "url": "https://app.{clusterId}.lightup.ai",
      "variables": {
        "clusterId": {
          "default": "demo"
        }
      }
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```