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

# List the data sources on a data feed

> Returns the sources attached to a data feed, oldest first, including each source's `config` and fetch `state`. `credentials` are never returned. Requires the `read:data_feed` token scope.



## OpenAPI

````yaml GET /data_feeds/{data_feed_friendly_id}/sources
openapi: 3.1.0
info:
  title: Mangrove - API
  version: 1.1.0
  description: >
    ## Filtering and sorting


    List endpoints that accept `filter` take one query parameter per condition,
    written `filter[field][comparator]=value`, for example
    `filter[name][contains]=North`. The comparators are `eq`, `neq`, `gt`,
    `geq`, `lt`, `leq` and `contains`, and `filter[field]=value` is short for
    `eq`. Conditions combine with AND. `contains` matches part of the value, is
    case-sensitive, and applies only to text fields. An unknown field or
    comparator, a value that doesn't fit the field's type, or a list or object
    as the value returns 400 with a message naming the problem. Each list
    operation names its filterable fields; some take only `eq`, and say so.


    `sort` takes a comma-separated list of fields, for example
    `sort=-created_at,name`. Each field sorts ascending, or descending with a
    `-` prefix. Unknown sort fields are ignored. Sorting by `id` orders by the
    record's internal ID, not its friendly ID. Each list operation names its
    sortable fields.
servers:
  - url: https://app.gomangrove.com/api/v1
security:
  - sec0: []
paths:
  /data_feeds/{data_feed_friendly_id}/sources:
    get:
      tags:
        - Data Ingestion
      summary: List the data sources on a data feed
      description: >-
        Returns the sources attached to a data feed, oldest first, including
        each source's `config` and fetch `state`. `credentials` are never
        returned. Requires the `read:data_feed` token scope.
      operationId: list-data-feed-sources
      parameters:
        - $ref: '#/components/parameters/DataFeedFriendlyId'
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PageSize'
      responses:
        '200':
          description: The data feed's sources.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/DataFeedSource'
                  info:
                    $ref: '#/components/schemas/PaginationInfo'
        '400':
          description: Invalid `page`
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: Data feed not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                errors:
                  - message: Data feed not found
components:
  parameters:
    DataFeedFriendlyId:
      name: data_feed_friendly_id
      in: path
      required: true
      description: The data feed's friendly ID (e.g. `datafd_aBcD1234eFgH5678`).
      schema:
        type: string
    Page:
      name: page
      in: query
      description: >-
        The page to return, starting at 1. A value below 1 or a non-numeric
        value returns 400.
      schema:
        type: integer
        format: int32
        default: 1
        minimum: 1
    PageSize:
      name: page_size
      in: query
      description: >-
        Rows per page, from 1 to 200. A value below 1 counts as 1 and a value
        above 200 as 200; a non-numeric value uses the default.
      schema:
        type: integer
        format: int32
        default: 20
        minimum: 1
        maximum: 200
  schemas:
    DataFeedSource:
      type: object
      description: A source attached to a data feed.
      properties:
        id:
          type: string
          description: The source's friendly ID.
          example: dsrc_aBcD1234eFgH5678
        name:
          type: string
          example: Warehouse readings
        source_type:
          type: string
          enum:
            - endpoint
            - ui_upload
            - sql
            - api
          example: sql
        description:
          type:
            - string
            - 'null'
        config:
          $ref: '#/components/schemas/DataFeedSourceConfigResponse'
        state:
          type: object
          description: >-
            Fetch progress, returned as stored. A `{{cursor_value}}` source
            keeps `cursor_value` (the last row's cursor) and, for SQL,
            `pre_query_result`; a window source keeps `window_start`,
            `window_finish`, `cursor_value` (the next window's start) and
            `capped: true` when `max_window_seconds` cut the last window short.
            Empty for receive-based sources.
          additionalProperties: true
          example:
            cursor_value: '2026-01-02T00:00:00Z'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    PaginationInfo:
      type: object
      description: >-
        Where this page sits in the full result, and the sort, filters and
        fields the request applied.
      properties:
        items:
          type: integer
          description: Rows on this page.
          example: 2
        page_size:
          type: integer
          description: Rows per page.
          example: 20
        total_items:
          type: integer
          description: Rows matching the request across all pages.
          example: 2
        current_page:
          type: integer
          description: This page's number, starting at 1.
          example: 1
        next_page:
          type:
            - integer
            - 'null'
          description: The next page's number, or null on the last page.
        previous_page:
          type:
            - integer
            - 'null'
          description: The previous page's number, or null on the first page.
        total_pages:
          type: integer
          description: Pages in the full result.
          example: 1
        sort:
          type: array
          description: >-
            The sort applied, one entry per field, in order. Present on list
            endpoints that accept `sort`.
          items:
            type: object
            properties:
              field:
                type: string
              direction:
                type: string
                enum:
                  - asc
                  - desc
        filter:
          type: array
          description: >-
            The filters applied, one entry per field and comparator. Present on
            list endpoints that accept `filter`.
          items:
            type: object
            properties:
              field:
                type: string
              comparator:
                type: string
                enum:
                  - eq
                  - neq
                  - gt
                  - geq
                  - lt
                  - leq
                  - contains
              value: {}
        fields:
          type:
            - array
            - 'null'
          description: >-
            The requested `fields`, or null when none were requested. Present on
            list endpoints that accept `fields`.
          items:
            type: string
    ErrorResponse:
      type: object
      required:
        - errors
      properties:
        errors:
          type: array
          items:
            type: object
            required:
              - message
            properties:
              message:
                type: string
                description: Human-readable error message
              field:
                type: string
                description: Attribute the error applies to (validation errors only)
              code:
                type: string
                description: Machine-readable error code (validation errors only)
              blocking:
                type: array
                description: >-
                  Bounded preview of the records blocking a destroy
                  (blocked-destroy errors only)
                items:
                  $ref: '#/components/schemas/DeletionBlockingRecord'
              blocking_count:
                type: integer
                description: >-
                  Total count of records blocking a destroy (blocked-destroy
                  errors only)
              config_key:
                type: string
                description: >-
                  The data feed source config setting to fix, when the error is
                  on `config` (data feed source validation errors only)
              count:
                type: number
                description: >-
                  The limit or comparison value the failed validation checked
                  against, e.g. a maximum length or a numeric bound (validation
                  errors only, when the validation has one)
              value:
                description: >-
                  The rejected value, e.g. on an inclusion or uniqueness failure
                  (validation errors only, when the validation reports one)
    DataFeedSourceConfigResponse:
      type: object
      description: >-
        The source's stored `config`, with the keys described for the request
        body. Scalar values are returned as strings, so `daily_fetch` reads
        `"true"` and a port `"1433"`; objects and arrays (`headers`, `query`,
        `auth`, `poll`, `success_when`) are returned as JSON. Credentials never
        appear here, but values typed directly into `headers` or `query` are
        stored and returned as entered.
      additionalProperties:
        oneOf:
          - type: string
          - type: object
            additionalProperties: true
          - type: array
            items: {}
    DeletionBlockingRecord:
      type: object
      required:
        - type
      properties:
        type:
          type: string
        friendly_id:
          type: string
        name:
          type:
            - string
            - 'null'
          description: >-
            Display label, and the only identifier for records that have no
            friendly_id
  responses:
    Unauthorized:
      description: >-
        The API token is missing, invalid or expired. The body is empty, except
        for an expired token, which returns the error below.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            errors:
              - message: API token has expired
    Forbidden:
      description: >-
        The token lacks the scope the operation's description names, or a
        condition the description states applies, such as a feature that isn't
        enabled for your account.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            errors:
              - message: You are not authorized to perform this action
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: Authorization
      x-bearer-format: ''

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.