Consumer API

Transactions

28 public operations generated from the current Awaken schema.

Query

getClientTransactions

Public query documented by the Awaken skill.

Schema signature
getClientTransactions(accountFilterMode: String, accountIds: [ID!], amountFilterOperator: String, amountFilterValue: String, ascending: Boolean, assetFilterMode: String, assetId: String, assetIds: [String!], assetKey: String, assetKeyV2: String, assetSymbolOrName: String, assetType: String, clientId: ID!, endDate: Date, financialEventType: String, fromAddress: String, fromOrToAddress: String, gainLossFilter: String, hasDuplicateTransfers: Boolean, hasIncome: Boolean, hasNotes: Boolean, includeBalances: Boolean, includeHidden: Boolean, includeSpam: Boolean, includeSummary: Boolean, insightPatternId: ID, investmentId: ID, involvedAddresses: [String!], isMissingBasis: Boolean, isNegativeBalance: Boolean, labelFilterMode: String, labeledPriority: Int, labels: [String!], limit: Int, onlyDisposals: Boolean, onlyShowDeleted: Boolean, onlyTransactionIds: [String!], onlyWashSales: Boolean, page: Int, protocolAddress: String, providerFilterMode: String, providers: [String!], reminderId: String, reminderQuestion: Int, reviewed: Boolean, saleTerm: String, search: String, showOnlyEditedTransactions: Boolean, showOnlyPerpetuals: Boolean, sortBy: String, stakeAccountIdentifier: String, startDate: Date, toAddress: String): GetTransactionsResponse!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"query { getClientTransactions }"}'
Query

getClientTransactionsSummary

Public query documented by the Awaken skill.

Schema signature
getClientTransactionsSummary(accountFilterMode: String, accountIds: [ID!], amountFilterOperator: String, amountFilterValue: String, ascending: Boolean, assetFilterMode: String, assetId: String, assetIds: [String!], assetKey: String, assetKeyV2: String, assetSymbolOrName: String, assetType: String, clientId: ID!, endDate: Date, financialEventType: String, fromAddress: String, fromOrToAddress: String, gainLossFilter: String, hasDuplicateTransfers: Boolean, hasIncome: Boolean, hasNotes: Boolean, includeBalances: Boolean, includeHidden: Boolean, includeSpam: Boolean, includeSummary: Boolean, insightPatternId: ID, investmentId: ID, involvedAddresses: [String!], isMissingBasis: Boolean, isNegativeBalance: Boolean, labelFilterMode: String, labeledPriority: Int, labels: [String!], limit: Int, onlyDisposals: Boolean, onlyShowDeleted: Boolean, onlyTransactionIds: [String!], onlyWashSales: Boolean, page: Int, protocolAddress: String, providerFilterMode: String, providers: [String!], reminderId: String, reminderQuestion: Int, reviewed: Boolean, saleTerm: String, search: String, showOnlyEditedTransactions: Boolean, showOnlyPerpetuals: Boolean, sortBy: String, stakeAccountIdentifier: String, startDate: Date, toAddress: String): GetTransactionsSummaryResponse!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"query { getClientTransactionsSummary }"}'
Query

getLabelOptionsForTransactions

Public query documented by the Awaken skill.

Schema signature
getLabelOptionsForTransactions(clientId: ID!, transactionIds: [ID!]!): TransactionTypeOptionResponse!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"query { getLabelOptionsForTransactions }"}'
Query

getRawTransactionJSON

Public query documented by the Awaken skill.

Schema signature
getRawTransactionJSON(clientId: ID!, transactionId: ID!): JSON!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"query { getRawTransactionJSON }"}'
Query

getTransaction

Public query documented by the Awaken skill.

Schema signature
getTransaction(clientId: ID!, includeAllTransfers: Boolean, transactionId: ID!): Transaction!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"query { getTransaction }"}'
Query

getTransactionHistoryReportV2

Public query documented by the Awaken skill.

Schema signature
getTransactionHistoryReportV2(accountIds: [ID!], ascending: Boolean, assetId: String, assetIds: [String!], assetKey: String, assetKeyV2: String, assetSymbolOrName: String, assetType: String, clientId: ID!, endDate: Date, hasIncome: Boolean, hasNotes: Boolean, includeHidden: Boolean, includeSpam: Boolean, isMissingBasis: Boolean, labeledPriority: Int, labels: [String!], limit: Int, page: Int, providers: [String!], reviewed: Boolean, search: String, showOnlyPerpetuals: Boolean, sortBy: String, startDate: Date): ReportExportResponse!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"query { getTransactionHistoryReportV2 }"}'
Query

getTransactionImportJobs

Public query documented by the Awaken skill.

Schema signature
getTransactionImportJobs(clientId: ID!): GetTransactionImportJobs!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"query { getTransactionImportJobs }"}'
Query

getTransactionTypeOptions

Public query documented by the Awaken skill.

Schema signature
getTransactionTypeOptions(clientId: ID!, transactionId: ID!): TransactionTypeOptionResponse!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"query { getTransactionTypeOptions }"}'
Query

getTransactions

Public query documented by the Awaken skill.

Schema signature
getTransactions(clientId: ID!, transactionIds: [ID!]!): [Transaction!]!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"query { getTransactions }"}'
Mutation

bridgeTransactions

Public mutation documented by the Awaken skill.

Schema signature
bridgeTransactions(clientId: ID!, fromTransactionId: ID!, toTransactionId: ID!): String!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { bridgeTransactions }"}'
Mutation

createTransaction

Public mutation documented by the Awaken skill.

Schema signature
createTransaction(accountId: ID!, clientId: ID!, createdAt: Date!, txnHash: String): Transaction!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { createTransaction }"}'
Mutation

createTransfer

Public mutation documented by the Awaken skill.

Schema signature
createTransfer(amount: Float, assetId: ID!, clientId: ID!, fiatValue: Float, fromAccountId: ID, toAccountId: ID, transactionId: ID!): Transaction!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { createTransfer }"}'
Mutation

crossChainSwap

Public mutation documented by the Awaken skill.

Schema signature
crossChainSwap(clientId: ID!, fromTransactionId: ID!, toTransactionId: ID!): Transaction!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { crossChainSwap }"}'
Mutation

duplicateTransaction

Public mutation documented by the Awaken skill.

Schema signature
duplicateTransaction(clientId: ID!, transactionId: ID!): Transaction!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { duplicateTransaction }"}'
Mutation

hideMultipleTransactions

Public mutation documented by the Awaken skill.

Schema signature
hideMultipleTransactions(clientId: ID!, transactionIds: [ID!]!): String!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { hideMultipleTransactions }"}'
Mutation

hideTransaction

Public mutation documented by the Awaken skill.

Schema signature
hideTransaction(clientId: ID!, isHidden: Boolean!, transactionId: ID!): Transaction!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { hideTransaction }"}'
Mutation

labelTransactions

Public mutation documented by the Awaken skill.

Schema signature
labelTransactions(clientId: ID!, label: String, notes: String, transactionIds: [ID!]!, wipeLabel: Boolean): [Transaction!]!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { labelTransactions }"}'
Mutation

markInternalTransfer

Public mutation documented by the Awaken skill.

Schema signature
markInternalTransfer(clientId: ID!, fromTransactionId: ID!, toTransactionId: ID!): String!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { markInternalTransfer }"}'
Mutation

mergeTransactions

Public mutation documented by the Awaken skill.

Schema signature
mergeTransactions(clientId: ID!, fromTransactionIds: [ID!]!, toTransactionId: ID!): Transaction!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { mergeTransactions }"}'
Mutation

saveReceivePriceForTransactions

Public mutation documented by the Awaken skill.

Schema signature
saveReceivePriceForTransactions(assetAmount: Float, assetAmountAssetId: ID, assetId: ID, clientId: ID!, contractAddress: String, fiatValue: Float, overrideAllMissingBasis: Boolean, transactionIds: [ID!]!): [Transaction!]!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { saveReceivePriceForTransactions }"}'
Mutation

undoAllEdits

Public mutation documented by the Awaken skill.

Schema signature
undoAllEdits(clientId: ID!): Boolean!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { undoAllEdits }"}'
Mutation

undoAuditLogs

Public mutation documented by the Awaken skill.

Schema signature
undoAuditLogs(auditLogIds: [ID!]!, clientId: ID!): [Transaction!]!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { undoAuditLogs }"}'
Mutation

unhideMultipleTransactions

Public mutation documented by the Awaken skill.

Schema signature
unhideMultipleTransactions(clientId: ID!, transactionIds: [ID!]!): String!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { unhideMultipleTransactions }"}'
Mutation

unmarkInternalTransfer

Public mutation documented by the Awaken skill.

Schema signature
unmarkInternalTransfer(clientId: ID!, fromTransactionId: ID!, toTransactionId: ID!): String!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { unmarkInternalTransfer }"}'
Mutation

updateMultiTransactionsCostBasis

Public mutation documented by the Awaken skill.

Schema signature
updateMultiTransactionsCostBasis(clientId: ID!, isMissingBasis: Boolean!, overrideIsMissingBasis: Boolean!, transactionIds: [ID!]!): [Transaction!]!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { updateMultiTransactionsCostBasis }"}'
Mutation

updateTransaction

Public mutation documented by the Awaken skill.

Schema signature
updateTransaction(clientId: ID!, createDefaultRule: Boolean!, transactionId: ID!, updates: UpdateTransactionInput!): UpdateTransactionResponse!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { updateTransaction }"}'
Mutation

updateTransfer

Public mutation documented by the Awaken skill.

Schema signature
updateTransfer(amount: Float, assetId: String, basisFiatValue: Float, clientId: ID!, fiatCurrency: String, fiatValue: Float, fromAccountId: ID, isHidden: Boolean, originalBasisFiatValue: Float, originalFiatValue: Float, purchaseDateOverride: Date, resetFiatValue: Boolean, toAccountId: ID, transactionId: ID!, transferId: ID!): Transaction!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { updateTransfer }"}'
Mutation

uploadManualTransactions

Public mutation documented by the Awaken skill.

Schema signature
uploadManualTransactions(accountId: ID, clientId: String, fileObjectKey: String!, importType: UploadManualTransactionFileType, name: String, provider: String): String!
curl
curl https://api.awaken.tax/graphql \
-H "content-type: application/json" \
-H "x-api-key: $AWAKEN_API_KEY" \
--data '{"query":"mutation { uploadManualTransactions }"}'