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

# List data stores

> The workspace's data stores, newest first.

Scope: `datasets:read`.



## OpenAPI

````yaml /api-reference/openapi.json get /data-stores
openapi: 3.1.0
info:
  title: Fandom API
  version: 1.0.0
  description: >-
    Campaigns, targeting, audiences, data stores, brands and Audience
    Exploration. The same operations are available as MCP tools at /mcp.
servers:
  - url: https://fandom-api-preview.vercel.app/api/v1
  - url: https://www.fandom.ai/api/v1
security:
  - bearerAuth: []
tags:
  - name: Workspace
    description: What's in the workspace.
  - name: Campaigns
    description: Campaigns, as the app's Marketing section shows them.
  - name: Targeting
    description: Keywords, segments, topics and websites for each audience on a campaign.
  - name: Google Ads
    description: Connected accounts, performance, and creating campaigns in Google Ads.
  - name: Audiences
    description: Saved audiences you can attach to campaigns.
  - name: Data stores
    description: >-
      YouTube channels and videos, with their comments, that audiences are built
      from.
  - name: Brands
    description: Brands that campaigns belong to.
  - name: Audience Exploration
    description: >-
      Who an audience is on YouTube: the channels they watch and how they group.
      Invite-only for now.
paths:
  /data-stores:
    get:
      tags:
        - Data stores
      summary: List data stores
      description: |-
        The workspace's data stores, newest first.

        Scope: `datasets:read`.
      operationId: list_data_stores
      parameters:
        - name: search
          in: query
          required: false
          description: Only items whose name contains this text.
          schema:
            anyOf:
              - not: {}
              - type: string
                maxLength: 200
        - name: limit
          in: query
          required: false
          description: How many to return, 1–100. Default 25.
          schema:
            anyOf:
              - not: {}
              - type: integer
                minimum: 1
                maximum: 100
        - name: cursor
          in: query
          required: false
          description: The `nextCursor` from the previous page.
          schema:
            anyOf:
              - not: {}
              - type: string
                maxLength: 64
        - name: includeLibrary
          in: query
          required: false
          description: Also list Fandom's shared library stores. Default false.
          schema:
            anyOf:
              - not: {}
              - type: boolean
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        description:
                          type: string
                        status:
                          type: string
                          description: >-
                            `collecting`, `ready` or `error`. Collection usually
                            takes minutes.
                        error:
                          type:
                            - string
                            - 'null'
                        scope:
                          type: string
                          enum:
                            - workspace
                            - private
                            - library
                          description: '`library` stores are shared by Fandom and read-only.'
                        channelCount:
                          type: number
                        videoCount:
                          type: number
                        createdAt:
                          type:
                            - string
                            - 'null'
                        updatedAt:
                          type:
                            - string
                            - 'null'
                        readyAt:
                          type:
                            - string
                            - 'null'
                      required:
                        - id
                        - name
                        - description
                        - status
                        - error
                        - scope
                        - channelCount
                        - videoCount
                        - createdAt
                        - updatedAt
                        - readyAt
                      additionalProperties: false
                  nextCursor:
                    type:
                      - string
                      - 'null'
                    description: >-
                      Pass as `cursor` to get the next page. Null on the last
                      page.
                required:
                  - data
                  - nextCursor
                additionalProperties: false
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  responses:
    BadRequest:
      description: >-
        The request is missing something or has a bad value. The message says
        what.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: No API key, or the key is wrong or revoked.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        The key doesn't have the scope, or isn't allowed this campaign or
        account.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: More than 120 requests in a minute. Wait and retry.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Stable, machine-readable.
              examples:
                - not_found
            message:
              type: string
              description: Plain-language explanation.
            requestId:
              type: string
              description: Quote this when asking for help.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An API key from Settings → API access, starting with `fnd_`.

````

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