Skip to content

ChainGraph API Documentation / @badaitech/badai-api / GraphQL / Query

Type Alias: Query ​

Query = object

Defined in: client/graphql.ts:1699

Properties ​

__typename? ​

optional __typename: "Query"

Defined in: client/graphql.ts:1700


_service ​

_service: _Service

Defined in: client/graphql.ts:1703


adminAgentGetTwitterApiKeys ​

adminAgentGetTwitterApiKeys: XApiKeys

Defined in: client/graphql.ts:1704


adminGetParticipantTelegramBotApiKey ​

adminGetParticipantTelegramBotApiKey: Scalars["String"]["output"]

Defined in: client/graphql.ts:1705


adminGetUserProfile ​

adminGetUserProfile: UserProfile

Defined in: client/graphql.ts:1706


agentCheckUsernameExists ​

agentCheckUsernameExists: Scalars["Boolean"]["output"]

Defined in: client/graphql.ts:1707


agentGetAttachedTwitterAccounts ​

agentGetAttachedTwitterAccounts: TwitterAccount[]

Defined in: client/graphql.ts:1708


agentGetMyXAccount ​

agentGetMyXAccount: MyXAccount

Defined in: client/graphql.ts:1709


authBlumMetamaskMessage ​

authBlumMetamaskMessage: Scalars["MetamaskMessage"]["output"]

Defined in: client/graphql.ts:1710


authGoogleRedirectURL ​

authGoogleRedirectURL: OAuthRedirectUrlResult

Defined in: client/graphql.ts:1711


authMetamaskMessage ​

authMetamaskMessage: Scalars["MetamaskMessage"]["output"]

Defined in: client/graphql.ts:1712


authSessionAlive ​

authSessionAlive: Scalars["Boolean"]["output"]

Defined in: client/graphql.ts:1713


authTelegramBotID ​

authTelegramBotID: Scalars["TelegramBotID"]["output"]

Defined in: client/graphql.ts:1714


authTwitterRedirectURL ​

authTwitterRedirectURL: OAuthRedirectUrlResult

Defined in: client/graphql.ts:1715


chainGraphGet? ​

optional chainGraphGet: Maybe<ChainGraph>

Defined in: client/graphql.ts:1717

Deprecated ​

use chainGraphGetByID instead


chainGraphGetByID? ​

optional chainGraphGetByID: Maybe<ChainGraph>

Defined in: client/graphql.ts:1718


chainGraphHistory ​

chainGraphHistory: ChainGraphHistory[]

Defined in: client/graphql.ts:1719


chatRoomGetParticipant ​

chatRoomGetParticipant: Participant

Defined in: client/graphql.ts:1720


chatRoomGetParticipants ​

chatRoomGetParticipants: Participant[]

Defined in: client/graphql.ts:1721


ctGetReferences ​

ctGetReferences: CtPostReference[]

Defined in: client/graphql.ts:1722


CurrentPrice ​

CurrentPrice: CurrentPriceResponse

Defined in: client/graphql.ts:1701


getChatRoom ​

getChatRoom: ChatRoom

Defined in: client/graphql.ts:1723


getChatRooms ​

getChatRooms: ChatRoom[]

Defined in: client/graphql.ts:1724


getLLMUsages ​

getLLMUsages: LlmUsage[]

Defined in: client/graphql.ts:1725


getTelegramBotInfo ​

getTelegramBotInfo: TelegramBot

Defined in: client/graphql.ts:1726


getTweetsFromDB ​

getTweetsFromDB: Tweet[]

Defined in: client/graphql.ts:1727


getVariable ​

getVariable: VariableResponse

Defined in: client/graphql.ts:1728


getVariables ​

getVariables: VariablesResponse

Defined in: client/graphql.ts:1729


getWhitelistEntries ​

getWhitelistEntries: WhitelistEntry[]

Defined in: client/graphql.ts:1730


HistoricalPrice? ​

optional HistoricalPrice: Maybe<HistoricalPriceResponse[]>

Defined in: client/graphql.ts:1702


isAddressWhitelisted ​

isAddressWhitelisted: Scalars["Boolean"]["output"]

Defined in: client/graphql.ts:1731


kdbGetAgentCollections ​

kdbGetAgentCollections: Collection[]

Defined in: client/graphql.ts:1732


kdbGetAgentCollectionsWithDocuments ​

kdbGetAgentCollectionsWithDocuments: CollectionWithDocuments[]

Defined in: client/graphql.ts:1733


kdbGetChunk ​

kdbGetChunk: Chunk

Defined in: client/graphql.ts:1734


kdbGetChunksByDocument ​

kdbGetChunksByDocument: Chunk[]

Defined in: client/graphql.ts:1735


kdbGetChunksByTask ​

kdbGetChunksByTask: Chunk[]

Defined in: client/graphql.ts:1736


kdbGetCollection ​

kdbGetCollection: Collection

Defined in: client/graphql.ts:1737


kdbGetCollections ​

kdbGetCollections: Collection[]

Defined in: client/graphql.ts:1739

Deprecated ​

Use kdbGetCollectionsByIds instead


kdbGetCollectionsByIds ​

kdbGetCollectionsByIds: Collection[]

Defined in: client/graphql.ts:1740


kdbGetDefaultParticipantCollection ​

kdbGetDefaultParticipantCollection: Collection

Defined in: client/graphql.ts:1742

Deprecated ​

just old


kdbGetDocuments ​

kdbGetDocuments: DocumentMeta[]

Defined in: client/graphql.ts:1743


kdbGetDocumentsByCollection ​

kdbGetDocumentsByCollection: DocumentWithPagesCount[]

Defined in: client/graphql.ts:1744


kdbGetPagesByDocument ​

kdbGetPagesByDocument: Page[]

Defined in: client/graphql.ts:1745


kdbGetPagesByTask ​

kdbGetPagesByTask: Page[]

Defined in: client/graphql.ts:1746


kdbGetParticipantCollections ​

kdbGetParticipantCollections: Collection[]

Defined in: client/graphql.ts:1748

Deprecated ​

just old


kdbGetQAByCollection ​

kdbGetQAByCollection: Qa[]

Defined in: client/graphql.ts:1749


kdbGetQAByDocument ​

kdbGetQAByDocument: Qa[]

Defined in: client/graphql.ts:1750


kdbGetQAByTask ​

kdbGetQAByTask: Qa[]

Defined in: client/graphql.ts:1751


kdbIndexingDocumentTaskGet ​

kdbIndexingDocumentTaskGet: IndexingDocumentTask

Defined in: client/graphql.ts:1752


kdbIndexingDocumentTaskGetByCollection ​

kdbIndexingDocumentTaskGetByCollection: IndexingDocumentTask[]

Defined in: client/graphql.ts:1754

Retrieves indexing document tasks for specified collections.


kdbIndexingDocumentTaskGetByDocument ​

kdbIndexingDocumentTaskGetByDocument: IndexingDocumentTask[]

Defined in: client/graphql.ts:1755


kdbIndexingDocumentTaskGetByState ​

kdbIndexingDocumentTaskGetByState: IndexingDocumentTask[]

Defined in: client/graphql.ts:1756


kdbIndexingDocumentTasksGet ​

kdbIndexingDocumentTasksGet: IndexingDocumentTask[]

Defined in: client/graphql.ts:1757


kdbQueryCollectionQA ​

kdbQueryCollectionQA: QaWithDistance[]

Defined in: client/graphql.ts:1759

Deprecated ​

use kdbSearchQAWithDocuments


kdbQueryCollectionQAWithDocuments ​

kdbQueryCollectionQAWithDocuments: QaWithDocuments[]

Defined in: client/graphql.ts:1761

Deprecated ​

use kdbSearchQAWithDocuments


kdbQueryParticipantCollectionQA ​

kdbQueryParticipantCollectionQA: QaWithDistance[]

Defined in: client/graphql.ts:1763

Deprecated ​

use kdbSearchQAWithDocuments


kdbSearchQAWithDocuments ​

kdbSearchQAWithDocuments: QaWithSimilarityByDocuments[]

Defined in: client/graphql.ts:1764


kdbSemanticSearchPagesByChunkEmbeddings ​

kdbSemanticSearchPagesByChunkEmbeddings: PagesWithSimilarityByDocument[]

Defined in: client/graphql.ts:1769

Performs semantic search on pages using chunk embeddings to find pages that are semantically similar to the provided query. Returns pages ranked by their similarity score to the query.


marketplaceAgent ​

marketplaceAgent: AgentMeta

Defined in: client/graphql.ts:1770


marketplaceAgents ​

marketplaceAgents: AgentCollection[]

Defined in: client/graphql.ts:1771


marketplaceAgentsByIDs ​

marketplaceAgentsByIDs: AgentMeta[]

Defined in: client/graphql.ts:1772


message? ​

optional message: Maybe<Message>

Defined in: client/graphql.ts:1773


messages ​

messages: Message[]

Defined in: client/graphql.ts:1774


messagesWithoutSystem ​

messagesWithoutSystem: Message[]

Defined in: client/graphql.ts:1775


partnerAgents ​

partnerAgents: PartnerAgentMeta[]

Defined in: client/graphql.ts:1776


secret ​

secret: SecretResponse

Defined in: client/graphql.ts:1778

Retrieve a secret by ID.


secrets ​

secrets: SecretsResponse

Defined in: client/graphql.ts:1780

List of the secrets owned by the user.


staking ​

staking: StakingResponse

Defined in: client/graphql.ts:1782

Aggregated data of the staking contract.


stakingTier ​

stakingTier: StakingTierResponse

Defined in: client/graphql.ts:1784

Tier of the staker.


userProfile ​

userProfile: UserProfile

Defined in: client/graphql.ts:1785

Licensed under BUSL-1.1