Skip to content

List Data Sinks

DataSinkListPaginatedPageResponse DataSinks.ListPaginated(DataSinkListPaginatedParams?parameters, CancellationTokencancellationToken = default)
GET/api/v1/beta/data-sinks

List the data sinks in a project, newest first.

ParametersExpand Collapse
DataSinkListPaginatedParams parameters
Boolean includeTotal

Return total_size, a count of every row matching the filter. It is a second query on every page, so it is off unless asked for.

string? organizationID
Long pageSize

Number of items per page

maximum100
minimum1
string? pageToken

Cursor from the previous page’s next_page_token.

string? projectID
ReturnsExpand Collapse
class DataSinkListPaginatedPageResponse:

Paginated list of data sinks.

required IReadOnlyList<DataSink> Items

The list of items.

required string ID

Unique identifier

formatuuid
required Component Component

Component that implements the data sink

One of the following:
IReadOnlyDictionary<string, JsonElement>
class CloudPineconeVectorStore:

Cloud Pinecone Vector Store.

This class is used to store the configuration for a Pinecone vector store, so that it can be created and used in LlamaCloud.

Args: api_key (str): API key for authenticating with Pinecone index_name (str): name of the Pinecone index namespace (optional[str]): namespace to use in the Pinecone index insert_kwargs (optional[dict]): additional kwargs to pass during insertion

required string ApiKey

The API key for authenticating with Pinecone

formatpassword
required string IndexName
string ClassName
IReadOnlyDictionary<string, JsonElement>? InsertKwargs
string? Namespace
SupportsNestedMetadataFilters SupportsNestedMetadataFilters
class CloudPostgresVectorStore:
required string Database
required Long EmbedDim
required string Host
required string Password
required Long Port
required string SchemaName
required string TableName
required string User
string ClassName
PgVectorHnswSettings? HnswSettings

HNSW settings for PGVector.

DistanceMethod DistanceMethod

The distance method to use.

One of the following:
"cosine"Cosine
"hamming"Hamming
"ip"IP
"jaccard"Jaccard
"l1"L1
"l2"L2
Long EfConstruction

The number of edges to use during the construction phase.

minimum1

The number of edges to use during the search phase.

minimum1
Long M

The number of bi-directional links created for each new element.

minimum1
VectorType VectorType

The type of vector to use.

One of the following:
"bit"Bit
"half_vec"HalfVec
"sparse_vec"SparseVec
"vector"Vector
Boolean PerformSetup
Boolean SupportsNestedMetadataFilters
class CloudQdrantVectorStore:

Cloud Qdrant Vector Store.

This class is used to store the configuration for a Qdrant vector store, so that it can be created and used in LlamaCloud.

Args: collection_name (str): name of the Qdrant collection url (str): url of the Qdrant instance api_key (str): API key for authenticating with Qdrant max_retries (int): maximum number of retries in case of a failure. Defaults to 3 client_kwargs (dict): additional kwargs to pass to the Qdrant client

required string ApiKey
required string CollectionName
required string Url
string ClassName
IReadOnlyDictionary<string, JsonElement> ClientKwargs
Long MaxRetries
SupportsNestedMetadataFilters SupportsNestedMetadataFilters
class CloudAzureAISearchVectorStore:

Cloud Azure AI Search Vector Store.

required string SearchServiceApiKey
required string SearchServiceEndpoint
string ClassName
string? ClientID
string? ClientSecret
Long? EmbeddingDimension
IReadOnlyDictionary<string, JsonElement>? FilterableMetadataFieldKeys
string? IndexName
string? SearchServiceApiVersion
SupportsNestedMetadataFilters SupportsNestedMetadataFilters
string? TenantID

Cloud MongoDB Atlas Vector Store.

This class is used to store the configuration for a MongoDB Atlas vector store, so that it can be created and used in LlamaCloud.

Args: mongodb_uri (str): URI for connecting to MongoDB Atlas db_name (str): name of the MongoDB database collection_name (str): name of the MongoDB collection vector_index_name (str): name of the MongoDB Atlas vector index fulltext_index_name (str): name of the MongoDB Atlas full-text index

class CloudMilvusVectorStore:

Cloud Milvus Vector Store.

required string Uri
string? Token
string ClassName
string? CollectionName
Long? EmbeddingDimension
Boolean SupportsNestedMetadataFilters
class CloudAstraDBVectorStore:

Cloud AstraDB Vector Store.

This class is used to store the configuration for an AstraDB vector store, so that it can be created and used in LlamaCloud.

Args: token (str): The Astra DB Application Token to use. api_endpoint (str): The Astra DB JSON API endpoint for your database. collection_name (str): Collection name to use. If not existing, it will be created. embedding_dimension (int): Length of the embedding vectors in use. keyspace (optional[str]): The keyspace to use. If not provided, ‘default_keyspace’

required string Token

The Astra DB Application Token to use

formatpassword
required string ApiEndpoint

The Astra DB JSON API endpoint for your database

required string CollectionName

Collection name to use. If not existing, it will be created

required Long EmbeddingDimension

Length of the embedding vectors in use

string ClassName
string? Keyspace

The keyspace to use. If not provided, ‘default_keyspace’

SupportsNestedMetadataFilters SupportsNestedMetadataFilters
required string Name

The name of the data sink.

required string ProjectID
required SinkType SinkType
One of the following:
"ASTRA_DB"AstraDB
"AZUREAI_SEARCH"AzureaiSearch
"MILVUS"Milvus
"MONGODB_ATLAS"MongoDBAtlas
"PINECONE"Pinecone
"POSTGRES"Postgres
"QDRANT"Qdrant
DateTimeOffset? CreatedAt

Creation datetime

formatdate-time
DateTimeOffset? UpdatedAt

Update datetime

formatdate-time
string? NextPageToken

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Long? TotalSize

The total number of items available. This is only populated when specifically requested. The value may be an estimate and can be used for display purposes only.

List Data Sinks

DataSinkListPaginatedParams parameters = new();

var page = await client.DataSinks.ListPaginated(parameters);
await foreach (var item in page.Paginate())
{
    Console.WriteLine(item);
}
{
  "items": [
    {
      "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "component": {
        "foo": "bar"
      },
      "name": "name",
      "project_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "sink_type": "ASTRA_DB",
      "created_at": "2019-12-27T18:11:19.117Z",
      "updated_at": "2019-12-27T18:11:19.117Z"
    }
  ],
  "next_page_token": "next_page_token",
  "total_size": 0
}
Returns Examples
{
  "items": [
    {
      "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "component": {
        "foo": "bar"
      },
      "name": "name",
      "project_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "sink_type": "ASTRA_DB",
      "created_at": "2019-12-27T18:11:19.117Z",
      "updated_at": "2019-12-27T18:11:19.117Z"
    }
  ],
  "next_page_token": "next_page_token",
  "total_size": 0
}
Note for AI agents: this documentation is built for programmatic access. - Overview of all docs: https://developers.llamaindex.ai/llms.txt - Any page is available as raw Markdown by appending index.md to its URL — e.g. https://developers.llamaindex.ai/llamaparse/parse/getting_started/index.md - Agent-friendly REST search APIs live under https://developers.llamaindex.ai/api/ — search (BM25 full-text), grep (regex), read (fetch a page), and list (browse the doc tree). See https://developers.llamaindex.ai/llms.txt for parameters. - A hosted documentation MCP server is available at https://developers.llamaindex.ai/mcp. If you support MCP, you can ask the user to install it for browsing these docs directly (an alternative to the REST API). Setup: https://developers.llamaindex.ai/for-agents/mcp/ - Other LlamaIndex tooling for agents — the LlamaParse Platform MCP server, agent skills and plugins, and the n8n node — is mapped at https://developers.llamaindex.ai/for-agents/