Consumer API
Reports & Tax
7 public operations generated from the current Awaken schema.
Query
getHarvestableLosses
Public query documented by the Awaken skill.
Schema signature
getHarvestableLosses(clientId: ID!, date: Date!): GetHarvestableLossesResponse!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"query { getHarvestableLosses }"}'
Query
getIncomeAndCapGains
Public query documented by the Awaken skill.
Schema signature
getIncomeAndCapGains(clientId: ID!, year: String!): GetIncomeAndCapGainsResponse!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"query { getIncomeAndCapGains }"}'
Query
getReportDownloadUrl
Public query documented by the Awaken skill.
Schema signature
getReportDownloadUrl(reportId: ID!): DownloadUrlResponse!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"query { getReportDownloadUrl }"}'
Query
getReportExportV2
Public query documented by the Awaken skill.
Schema signature
getReportExportV2(accountIds: [ID!], checkboxType: String, clientId: ID!, dateQueryType: ReportDateQueryType!, email: String, endDate: Date, exclude1099DA: Boolean, forceSendEmail: Boolean, includeDefiPositions: Boolean, is1099DAAccount: Boolean, is1099DAAccountId: ID, language: String, shouldDownload: Boolean, startDate: Date, tagGroupId: ID, type: ReportExportTypeEnum!, year: String): ReportExportResponse!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"query { getReportExportV2 }"}'
Query
getReports
Public query documented by the Awaken skill.
Schema signature
getReports(clientId: ID!): [Report!]!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"query { getReports }"}'
Query
getTaxLots
Public query documented by the Awaken skill.
Schema signature
getTaxLots(assetPricingKey: String!, clientId: ID!): GetTaxLotsResponse!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"query { getTaxLots }"}'
Query
getTaxYears
Public query documented by the Awaken skill.
Schema signature
getTaxYears(clientId: ID!): [Int!]!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"query { getTaxYears }"}'