Queries
Every GraphQL schema has a root type for both queries and mutations. The query type defines GraphQL operations that retrieve data from the server.
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
account
Type: AccountType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get details about an account.
Query Complexity: 2
Possible Errors:
- KT-CT-4177: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can query accounts with account number
OR Can view detailed usage
Arguments
| Name | Description |
|---|---|
|
Query
query Account($accountNumber: String!) {
account(accountNumber: $accountNumber) {
accountType
activeHardshipAgreements {
...HardshipAgreementTypeFragment
}
activeReferralSchemes {
...ReferralSchemeTypesFragment
}
address {
...RichAddressTypeFragment
}
annualStatements {
...AnnualStatementConnectionTypeConnectionFragment
}
applications {
...AccountApplicationConnectionTypeConnectionFragment
}
assistanceAgreements {
...AssistanceAgreementTypeFragment
}
balance
bill {
...BillInterfaceFragment
}
billingAddress
billingAddressLine1
billingAddressLine2
billingAddressLine3
billingAddressLine4
billingAddressLine5
billingAddressPostcode
billingCountryCode
billingDeliveryPointIdentifier
billingEmail
billingName
billingOptions {
...BillingOptionsTypeFragment
}
billingPostcode
billingSubName
billingTriggerConfiguration {
...BillingTriggerConfigurationFragment
}
bills {
...BillConnectionTypeConnectionFragment
}
brand
business {
...BusinessTypeFragment
}
campaigns {
...AccountCampaignTypeFragment
}
canBeWithdrawn
canChangePayments
canInputMeterReadingsViaIvr
canModifyPayments {
...CanModifyPaymentsTypeFragment
}
canRenewTariff
canRequestRefund
commsDeliveryPreference
complaints {
...ComplaintConnectionTypeConnectionFragment
}
consents {
...ConsentTypeFragment
}
contributionAgreements {
...ContributionAgreementTypeFragment
}
cotReadingWindowDays
createdAt
currentEstimatedSsd
customerAssets {
...CustomerAssetTypeFragment
}
debtCollectionProceedings {
...DebtCollectionProceedingTypeFragment
}
directDebitInstructions {
...DirectDebitInstructionConnectionTypeConnectionFragment
}
documentAccessibility
earliestPossibleSsd
electricityAgreements {
...ElectricityAgreementTypeFragment
}
eligibilityForWarmHomeDiscount {
...WarmHomeDiscountEligibilityFragment
}
events {
...AccountEventConnectionTypeConnectionFragment
}
fileAttachments {
...AccountFileAttachmentFragment
}
gasAgreements {
...GasAgreementTypeFragment
}
greenAccomplishments {
...GreenAccomplishmentsTypeFragment
}
hasActiveCollectionsProceedings
hasActiveDunningProcess
id
isInBlockingMigration
isInHardship
latestPossibleSsd
ledgers {
...LedgerTypeFragment
}
marketSupplyAgreements {
...AgreementConnectionFragment
}
maximumRefund {
...MaximumRefundTypeFragment
}
metadata {
...MetadataFragment
}
notes {
...AccountNoteTypeFragment
}
number
operationsTeam {
...OperationsTeamTypeFragment
}
overdueBalance
paginatedFileAttachments {
...AccountFileAttachmentConnectionTypeConnectionFragment
}
paginatedPaymentForecast {
...PaymentForecastConnectionTypeConnectionFragment
}
paymentAdequacy {
...PaymentAdequacyTypeFragment
}
paymentMethods {
...PaymentInstructionConnectionTypeConnectionFragment
}
paymentPlans {
...PaymentPlanConnectionTypeConnectionFragment
}
payments {
...AccountPaymentConnectionTypeConnectionFragment
}
paymentSchedules {
...PaymentScheduleConnectionTypeConnectionFragment
}
portfolio {
...PortfolioTypeFragment
}
preferredLanguageForComms
projectedBalance
properties {
...PropertyTypeFragment
}
provisionalTransactions {
...ProvisionalTransactionConnectionTypeConnectionFragment
}
recommendedBalanceAdjustment
references {
...AccountReferenceTypeFragment
}
referrals {
...ReferralConnectionTypeConnectionFragment
}
referralsCreated
refundApproval {
...RefundApprovalTypeFragment
}
reminders {
...AccountReminderConnectionTypeConnectionFragment
}
repayments {
...AccountRepaymentConnectionTypeConnectionFragment
}
requestRefundEligibility {
...RequestRefundEligibilityTypeFragment
}
rewards {
...RewardTypeFragment
}
shouldReviewPayments
smets2Interest
smets2RefusalReason
splitBillingAddress
status
trackerTariffDailyPricing {
...TrackerTariffDailyPricingFragment
}
transactions {
...TransactionConnectionTypeConnectionFragment
}
urn
users {
...AccountUserTypeFragment
}
warmHomeDiscount {
...WarmHomeDiscountFragment
}
}
}
Variables
{
"accountNumber": "A-7B0AC4D7"
}
Response
{
"data": {
"account": {
"accountType": "BUSINESS",
"activeHardshipAgreements": [HardshipAgreementType],
"activeReferralSchemes": ReferralSchemeTypes,
"address": RichAddressType,
"annualStatements": AnnualStatementConnectionTypeConnection,
"applications": AccountApplicationConnectionTypeConnection,
"assistanceAgreements": [AssistanceAgreementType],
"balance": 18,
"bill": BillInterface,
"billingAddress": "notice-soon-as-brother-set",
"billingAddressLine1": "line-here-decide-maintain-throw",
"billingAddressLine2": "hope-parent-short-receive-entire",
"billingAddressLine3": "soon-option-bill-fish-against",
"billingAddressLine4": "power-across-thing-rather-why",
"billingAddressLine5": "rise-month-shake-voice-need",
"billingAddressPostcode": "generation-quality-set-weight-unit",
"billingCountryCode": "indicate-trouble-two-beyond-picture",
"billingDeliveryPointIdentifier": "49780845",
"billingEmail": "building-four-return-represent-view",
"billingName": "instead-stop-prove-field-onto",
"billingOptions": BillingOptionsType,
"billingPostcode": "think-suffer-measure-open-alone",
"billingSubName": "drug-something-increase-common-nature",
"billingTriggerConfiguration": BillingTriggerConfiguration,
"bills": BillConnectionTypeConnection,
"brand": "reflect-purpose-hear-keep-meet",
"business": BusinessType,
"campaigns": [AccountCampaignType],
"canBeWithdrawn": true,
"canChangePayments": true,
"canInputMeterReadingsViaIvr": true,
"canModifyPayments": CanModifyPaymentsType,
"canRenewTariff": true,
"canRequestRefund": true,
"commsDeliveryPreference": "EMAIL",
"complaints": ComplaintConnectionTypeConnection,
"consents": [ConsentType],
"contributionAgreements": [ContributionAgreementType],
"cotReadingWindowDays": 100,
"createdAt": "1979-03-31T01:08:25.316447+00:00",
"currentEstimatedSsd": "2017-06-05",
"customerAssets": [CustomerAssetType],
"debtCollectionProceedings": [DebtCollectionProceedingType],
"directDebitInstructions": DirectDebitInstructionConnectionTypeConnection,
"documentAccessibility": "LARGE_PRINT",
"earliestPossibleSsd": "1990-12-03",
"electricityAgreements": [ElectricityAgreementType],
"eligibilityForWarmHomeDiscount": WarmHomeDiscountEligibility,
"events": AccountEventConnectionTypeConnection,
"fileAttachments": [AccountFileAttachment],
"gasAgreements": [GasAgreementType],
"greenAccomplishments": GreenAccomplishmentsType,
"hasActiveCollectionsProceedings": true,
"hasActiveDunningProcess": true,
"id": "13969484",
"isInBlockingMigration": true,
"isInHardship": true,
"latestPossibleSsd": "1996-07-02",
"ledgers": [LedgerType],
"marketSupplyAgreements": AgreementConnection,
"maximumRefund": MaximumRefundType,
"metadata": [Metadata],
"notes": [AccountNoteType],
"number": "final-summer-pass-official-positive",
"operationsTeam": OperationsTeamType,
"overdueBalance": 22,
"paginatedFileAttachments": AccountFileAttachmentConnectionTypeConnection,
"paginatedPaymentForecast": PaymentForecastConnectionTypeConnection,
"paymentAdequacy": PaymentAdequacyType,
"paymentMethods": PaymentInstructionConnectionTypeConnection,
"paymentPlans": PaymentPlanConnectionTypeConnection,
"payments": AccountPaymentConnectionTypeConnection,
"paymentSchedules": PaymentScheduleConnectionTypeConnection,
"portfolio": PortfolioType,
"preferredLanguageForComms": "maybe-word-side-much-team",
"projectedBalance": 30,
"properties": [PropertyType],
"provisionalTransactions": ProvisionalTransactionConnectionTypeConnection,
"recommendedBalanceAdjustment": 52,
"references": [AccountReferenceType],
"referrals": ReferralConnectionTypeConnection,
"referralsCreated": 66,
"refundApproval": RefundApprovalType,
"reminders": AccountReminderConnectionTypeConnection,
"repayments": AccountRepaymentConnectionTypeConnection,
"requestRefundEligibility": RequestRefundEligibilityType,
"rewards": [RewardType],
"shouldReviewPayments": true,
"smets2Interest": "PRIORITY",
"smets2RefusalReason": "SMETS2_INTEREST_REASON_DO_NOT_OWN_HOME",
"splitBillingAddress": "gas-suggest-government-travel-process",
"status": "PENDING",
"trackerTariffDailyPricing": TrackerTariffDailyPricing,
"transactions": TransactionConnectionTypeConnection,
"urn": "participant-role-himself-tax-west",
"users": [AccountUserType],
"warmHomeDiscount": WarmHomeDiscount
}
}
}
accountChargeReasons
Type: [ChargeReasonType]
URL: https://api.oeit-kraken.energy/v1/graphql/
Available reasons for use in account charge mutations.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can add charges to accounts
Query
query AccountChargeReasons {
accountChargeReasons {
code
display
group
isDeprecated
isHidden
isTaxExempt
}
}
Response
{
"data": {
"accountChargeReasons": [
{
"code": "voice-mention-can-since-day",
"display": "wear-loss-half-never-wait",
"group": "including-spend-increase-ability-music",
"isDeprecated": true,
"isHidden": true,
"isTaxExempt": true
}
]
}
}
accountContract
Type: Contract
URL: https://api.oeit-kraken.energy/v1/graphql/
Get details about an account contract.
Query Complexity: 1
Possible Errors:
- KT-CT-10003: Contract not found.
- KT-CT-10005: Missing required parameter: either identifier or accountNumber must be provided.
- KT-CT-10006: Account not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query contracts
Arguments
| Name | Description |
|---|---|
|
The account number to find the contract for. |
|
The identifier of the contract. |
|
The version of the contract. |
Query
query AccountContract(
$accountNumber: String,
$identifier: String,
$version: Int
) {
accountContract(
accountNumber: $accountNumber,
identifier: $identifier,
version: $version
) {
cancelledAt
identifier
lifecycle {
...ContractVersionFragment
}
notes {
...ContractNoteTypeFragment
}
party {
... on AccountType {
...AccountTypeFragment
}
... on BusinessType {
...BusinessTypeFragment
}
}
rescindedAt
signedAt
status
subject {
...AccountTypeFragment
}
terms {
...TermInterfaceFragment
}
title
validFrom
validTo
}
}
Variables
{
"accountNumber": "A-AA7F68C1",
"identifier": "92201978",
"version": 43
}
Response
{
"data": {
"accountContract": {
"cancelledAt": "1995-11-14T15:13:34.491627+00:00",
"identifier": "13754738",
"lifecycle": ContractVersion,
"notes": [ContractNoteType],
"party": AccountType,
"rescindedAt": "2015-06-07T02:46:49.425011+00:00",
"signedAt": "2005-11-16T15:16:38.426666+00:00",
"status": "REVOKED",
"subject": [AccountType],
"terms": TermInterface,
"title": "nearly-Congress-before-necessary-surface",
"validFrom": "2022-07-26T12:53:20.073366+00:00",
"validTo": "1971-11-01T10:10:33.781421+00:00"
}
}
}
accountCreditReasons
Type: [CreditReasonType]
URL: https://api.oeit-kraken.energy/v1/graphql/
Available reasons for use in account credit mutations.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can add credits to accounts
Query
query AccountCreditReasons {
accountCreditReasons {
code
display
group
isDeprecated
isHidden
isTaxExempt
}
}
Response
{
"data": {
"accountCreditReasons": [
{
"code": "want-audience-test-laugh-senior",
"display": "example-environmental-something-continue-face",
"group": "cold-effort-weight-prevent-possible",
"isDeprecated": true,
"isHidden": true,
"isTaxExempt": true
}
]
}
}
accountDebtPosition
Type: AccountDebtPositionType
URL: https://api.oeit-kraken.energy/v1/graphql/
The delinquent debt position for an account and its ledgers.
Query Complexity: 2
Possible Errors:
- KT-CT-11613: Delinquent debt tracking is not configured for this client.
- KT-CT-4178: No account found with given account number.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can query delinquent debt positions for ledgers
Arguments
| Name | Description |
|---|---|
|
The account number to retrieve debt position for. |
|
The date to retrieve the debt position for. If not provided, defaults to today. Allows querying historical debt positions. If a future date is provided, it is clamped to today. |
Query
query AccountDebtPosition(
$accountNumber: String!,
$asOn: Date
) {
accountDebtPosition(
accountNumber: $accountNumber,
asOn: $asOn
) {
accountNumber
ledgerDebtPositions {
...LedgerDebtPositionTypeFragment
}
}
}
Variables
{
"accountNumber": "A-2170FB51",
"asOn": "1986-08-18"
}
Response
{
"data": {
"accountDebtPosition": {
"accountNumber": "A-07E739E7",
"ledgerDebtPositions": [LedgerDebtPositionType]
}
}
}
accountIoEligibility
Type: AccountIoEligibility
URL: https://api.oeit-kraken.energy/v1/graphql/
Determines whether an account is eligible to register devices with SmartFlex.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can view smartflex data
Arguments
| Name | Description |
|---|---|
|
Account number. |
|
|
Query
query AccountIoEligibility(
$accountNumber: String!,
$propertyId: Int
) {
accountIoEligibility(
accountNumber: $accountNumber,
propertyId: $propertyId
) {
isEligibleForIo
}
}
Variables
{
"accountNumber": "A-54E6C412",
"propertyId": 53218345
}
Response
{
"data": {
"accountIoEligibility": {
"isEligibleForIo": true
}
}
}
accountReference
Type: [AccountReferenceType]
URL: https://api.oeit-kraken.energy/v1/graphql/
List of matching account references.
Query Complexity: 1
Possible Errors:
- KT-CT-8310: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query account reference
Arguments
| Name | Description |
|---|---|
|
Filter account references by this value. |
Query
query AccountReference($value: String) {
accountReference(value: $value) {
account {
...AccountTypeFragment
}
createdAt
namespace
updatedAt
value
}
}
Variables
{
"value": "hit-inside-could-board-tonight"
}
Response
{
"data": {
"accountReference": [
{
"account": AccountType,
"createdAt": "1998-10-21T10:13:09.723863+00:00",
"namespace": "decide-paper-stage-again-adult",
"updatedAt": "1978-04-09T13:37:32.360366+00:00",
"value": "responsibility-civil-relate-question-name"
}
]
}
}
accounts
Type: [AccountType]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get details about multiple accounts.
Query Complexity: 1
Possible Errors:
- KT-CT-4184: Exactly one of phoneNumber or portfolioNumber must be provided.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can search for accounts
Arguments
| Name | Description |
|---|---|
|
A phone number to find accounts associated with. |
|
A portfolio number to find accounts associated with. |
Query
query Accounts(
$phoneNumber: String,
$portfolioNumber: String
) {
accounts(
phoneNumber: $phoneNumber,
portfolioNumber: $portfolioNumber
) {
accountType
activeHardshipAgreements {
...HardshipAgreementTypeFragment
}
activeReferralSchemes {
...ReferralSchemeTypesFragment
}
address {
...RichAddressTypeFragment
}
annualStatements {
...AnnualStatementConnectionTypeConnectionFragment
}
applications {
...AccountApplicationConnectionTypeConnectionFragment
}
assistanceAgreements {
...AssistanceAgreementTypeFragment
}
balance
bill {
...BillInterfaceFragment
}
billingAddress
billingAddressLine1
billingAddressLine2
billingAddressLine3
billingAddressLine4
billingAddressLine5
billingAddressPostcode
billingCountryCode
billingDeliveryPointIdentifier
billingEmail
billingName
billingOptions {
...BillingOptionsTypeFragment
}
billingPostcode
billingSubName
billingTriggerConfiguration {
...BillingTriggerConfigurationFragment
}
bills {
...BillConnectionTypeConnectionFragment
}
brand
business {
...BusinessTypeFragment
}
campaigns {
...AccountCampaignTypeFragment
}
canBeWithdrawn
canChangePayments
canInputMeterReadingsViaIvr
canModifyPayments {
...CanModifyPaymentsTypeFragment
}
canRenewTariff
canRequestRefund
commsDeliveryPreference
complaints {
...ComplaintConnectionTypeConnectionFragment
}
consents {
...ConsentTypeFragment
}
contributionAgreements {
...ContributionAgreementTypeFragment
}
cotReadingWindowDays
createdAt
currentEstimatedSsd
customerAssets {
...CustomerAssetTypeFragment
}
debtCollectionProceedings {
...DebtCollectionProceedingTypeFragment
}
directDebitInstructions {
...DirectDebitInstructionConnectionTypeConnectionFragment
}
documentAccessibility
earliestPossibleSsd
electricityAgreements {
...ElectricityAgreementTypeFragment
}
eligibilityForWarmHomeDiscount {
...WarmHomeDiscountEligibilityFragment
}
events {
...AccountEventConnectionTypeConnectionFragment
}
fileAttachments {
...AccountFileAttachmentFragment
}
gasAgreements {
...GasAgreementTypeFragment
}
greenAccomplishments {
...GreenAccomplishmentsTypeFragment
}
hasActiveCollectionsProceedings
hasActiveDunningProcess
id
isInBlockingMigration
isInHardship
latestPossibleSsd
ledgers {
...LedgerTypeFragment
}
marketSupplyAgreements {
...AgreementConnectionFragment
}
maximumRefund {
...MaximumRefundTypeFragment
}
metadata {
...MetadataFragment
}
notes {
...AccountNoteTypeFragment
}
number
operationsTeam {
...OperationsTeamTypeFragment
}
overdueBalance
paginatedFileAttachments {
...AccountFileAttachmentConnectionTypeConnectionFragment
}
paginatedPaymentForecast {
...PaymentForecastConnectionTypeConnectionFragment
}
paymentAdequacy {
...PaymentAdequacyTypeFragment
}
paymentMethods {
...PaymentInstructionConnectionTypeConnectionFragment
}
paymentPlans {
...PaymentPlanConnectionTypeConnectionFragment
}
payments {
...AccountPaymentConnectionTypeConnectionFragment
}
paymentSchedules {
...PaymentScheduleConnectionTypeConnectionFragment
}
portfolio {
...PortfolioTypeFragment
}
preferredLanguageForComms
projectedBalance
properties {
...PropertyTypeFragment
}
provisionalTransactions {
...ProvisionalTransactionConnectionTypeConnectionFragment
}
recommendedBalanceAdjustment
references {
...AccountReferenceTypeFragment
}
referrals {
...ReferralConnectionTypeConnectionFragment
}
referralsCreated
refundApproval {
...RefundApprovalTypeFragment
}
reminders {
...AccountReminderConnectionTypeConnectionFragment
}
repayments {
...AccountRepaymentConnectionTypeConnectionFragment
}
requestRefundEligibility {
...RequestRefundEligibilityTypeFragment
}
rewards {
...RewardTypeFragment
}
shouldReviewPayments
smets2Interest
smets2RefusalReason
splitBillingAddress
status
trackerTariffDailyPricing {
...TrackerTariffDailyPricingFragment
}
transactions {
...TransactionConnectionTypeConnectionFragment
}
urn
users {
...AccountUserTypeFragment
}
warmHomeDiscount {
...WarmHomeDiscountFragment
}
}
}
Variables
{
"phoneNumber": "determine-wish-something-might-development",
"portfolioNumber": "P-E1471D11"
}
Response
{
"data": {
"accounts": [
{
"accountType": "BUSINESS",
"activeHardshipAgreements": [HardshipAgreementType],
"activeReferralSchemes": ReferralSchemeTypes,
"address": RichAddressType,
"annualStatements": AnnualStatementConnectionTypeConnection,
"applications": AccountApplicationConnectionTypeConnection,
"assistanceAgreements": [AssistanceAgreementType],
"balance": 84,
"bill": BillInterface,
"billingAddress": "air-push-sound-process-international",
"billingAddressLine1": "scene-call-deep-answer-audience",
"billingAddressLine2": "baby-true-fear-citizen-north",
"billingAddressLine3": "candidate-night-sure-opportunity-design",
"billingAddressLine4": "too-leave-still-thank-sister",
"billingAddressLine5": "performance-also-customer-between-of",
"billingAddressPostcode": "to-option-manage-visit-hope",
"billingCountryCode": "mean-admit-partner-I-example",
"billingDeliveryPointIdentifier": "31067525",
"billingEmail": "cut-foreign-would-situation-fund",
"billingName": "defense-purpose-study-usually-gas",
"billingOptions": BillingOptionsType,
"billingPostcode": "think-reach-machine-world-doctor",
"billingSubName": "rise-be-college-treat-defense",
"billingTriggerConfiguration": BillingTriggerConfiguration,
"bills": BillConnectionTypeConnection,
"brand": "service-outside-subject-happy-future",
"business": BusinessType,
"campaigns": [AccountCampaignType],
"canBeWithdrawn": true,
"canChangePayments": true,
"canInputMeterReadingsViaIvr": true,
"canModifyPayments": CanModifyPaymentsType,
"canRenewTariff": true,
"canRequestRefund": true,
"commsDeliveryPreference": "EMAIL",
"complaints": ComplaintConnectionTypeConnection,
"consents": [ConsentType],
"contributionAgreements": [ContributionAgreementType],
"cotReadingWindowDays": 38,
"createdAt": "1983-04-13T10:52:55.624775+00:00",
"currentEstimatedSsd": "2023-04-21",
"customerAssets": [CustomerAssetType],
"debtCollectionProceedings": [DebtCollectionProceedingType],
"directDebitInstructions": DirectDebitInstructionConnectionTypeConnection,
"documentAccessibility": "LARGE_PRINT",
"earliestPossibleSsd": "2014-01-06",
"electricityAgreements": [ElectricityAgreementType],
"eligibilityForWarmHomeDiscount": WarmHomeDiscountEligibility,
"events": AccountEventConnectionTypeConnection,
"fileAttachments": [AccountFileAttachment],
"gasAgreements": [GasAgreementType],
"greenAccomplishments": GreenAccomplishmentsType,
"hasActiveCollectionsProceedings": true,
"hasActiveDunningProcess": true,
"id": "75604662",
"isInBlockingMigration": true,
"isInHardship": true,
"latestPossibleSsd": "1977-08-23",
"ledgers": [LedgerType],
"marketSupplyAgreements": AgreementConnection,
"maximumRefund": MaximumRefundType,
"metadata": [Metadata],
"notes": [AccountNoteType],
"number": "necessary-bit-always-available-term",
"operationsTeam": OperationsTeamType,
"overdueBalance": 19,
"paginatedFileAttachments": AccountFileAttachmentConnectionTypeConnection,
"paginatedPaymentForecast": PaymentForecastConnectionTypeConnection,
"paymentAdequacy": PaymentAdequacyType,
"paymentMethods": PaymentInstructionConnectionTypeConnection,
"paymentPlans": PaymentPlanConnectionTypeConnection,
"payments": AccountPaymentConnectionTypeConnection,
"paymentSchedules": PaymentScheduleConnectionTypeConnection,
"portfolio": PortfolioType,
"preferredLanguageForComms": "stock-game-past-site-her",
"projectedBalance": 74,
"properties": [PropertyType],
"provisionalTransactions": ProvisionalTransactionConnectionTypeConnection,
"recommendedBalanceAdjustment": 71,
"references": [AccountReferenceType],
"referrals": ReferralConnectionTypeConnection,
"referralsCreated": 29,
"refundApproval": RefundApprovalType,
"reminders": AccountReminderConnectionTypeConnection,
"repayments": AccountRepaymentConnectionTypeConnection,
"requestRefundEligibility": RequestRefundEligibilityType,
"rewards": [RewardType],
"shouldReviewPayments": true,
"smets2Interest": "PRIORITY",
"smets2RefusalReason": "SMETS2_INTEREST_REASON_DO_NOT_OWN_HOME",
"splitBillingAddress": "not-weight-half-far-move",
"status": "PENDING",
"trackerTariffDailyPricing": TrackerTariffDailyPricing,
"transactions": TransactionConnectionTypeConnection,
"urn": "boy-to-blue-animal-fast",
"users": [AccountUserType],
"warmHomeDiscount": WarmHomeDiscount
}
]
}
}
accountsSearch
Type: [AccountSearchItemType]
URL: https://api.oeit-kraken.energy/v1/graphql/
Search for account that are already in Kraken and match the search terms.
Query Complexity: 1
Possible Errors:
- KT-CT-4183: One of more search terms failed validations.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can search for accounts
Arguments
| Name | Description |
|---|---|
|
The maximum number of results to return. |
|
Search operators. |
Query
query AccountsSearch(
$maxResults: Int,
$searchTerms: AccountSearchInputType
) {
accountsSearch(
maxResults: $maxResults,
searchTerms: $searchTerms
) {
account {
...AccountTypeFragment
}
score
}
}
Variables
{
"maxResults": 79,
"searchTerms": AccountSearchInputType
}
Response
{
"data": {
"accountsSearch": [
{
"account": AccountType,
"score": "1.0"
}
]
}
}
accountUser
Type: AccountUserType
URL: https://api.oeit-kraken.energy/v1/graphql/
Retrieve an account user.
Query Complexity: 1
Possible Errors:
- KT-CT-5415: Account user not found.
- KT-CT-5418: Account user not found.
- KT-CT-5421: Account user not found.
- KT-CT-5423: Account user not found.
- KT-CT-5424: Invalid data.
- KT-CT-5425: Account user not found.
- KT-CT-5427: Account user not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query account user
Arguments
| Name | Description |
|---|---|
|
Account user detail namespace/value pair which uniquely identifies a user. |
|
Email associated with an account user. |
|
External ID associated with an account user. |
|
Kraken number associated with an account user. |
Query
query AccountUser(
$detail: AccountUserDetailInput,
$email: String,
$externalId: ID,
$number: ID
) {
accountUser(
detail: $detail,
email: $email,
externalId: $externalId,
number: $number
) {
accounts {
...AccountInterfaceFragment
}
accountUserRoles {
...AccountUserRoleTypeFragment
}
address {
...RichAddressTypeFragment
}
alternativePhoneNumbers
businesses {
...BusinessConnectionTypeConnectionFragment
}
consents {
...ConsentTypeFragment
}
createdAt
dateOfBirth
details {
...AccountUserDetailTypeFragment
}
email
familyName
fullName
givenName
hasFamilyIssues
holdMusicChoices {
...TrackOptionTypeFragment
}
id
isActive
isDeceased
isInHardship
isOptedInToWof
label
landline
liveSecretKey
mobile
number
paymentMethods {
...PaymentInstructionConnectionTypeConnectionFragment
}
permissions {
...AccountUserPermissionFragment
}
portfolioIds
portfolios {
...PortfolioConnectionTypeConnectionFragment
}
portfolioUserRoles {
...PortfolioUserRoleTypeFragment
}
preferences {
...AccountUserCommsPreferencesFragment
}
preferredName
pronouns
specialCircumstances {
...SpecialCircumstancesTypeFragment
}
title
}
}
Variables
{
"detail": AccountUserDetailInput,
"email": "city-suddenly-itself-who-southern",
"externalId": "82870219",
"number": "49463177"
}
Response
{
"data": {
"accountUser": {
"accounts": AccountInterface,
"accountUserRoles": [AccountUserRoleType],
"address": RichAddressType,
"alternativePhoneNumbers": "nearly-represent-fire-debate-fish",
"businesses": BusinessConnectionTypeConnection,
"consents": [ConsentType],
"createdAt": "1971-07-17T06:02:29.782395+00:00",
"dateOfBirth": "2014-06-06",
"details": [AccountUserDetailType],
"email": "understand-risk-floor-hospital-huge",
"familyName": "Brown",
"fullName": "fish-own-lay-economic-size",
"givenName": "Kimberly",
"hasFamilyIssues": true,
"holdMusicChoices": [TrackOptionType],
"id": "82868575",
"isActive": true,
"isDeceased": true,
"isInHardship": true,
"isOptedInToWof": true,
"label": "test-light-green-consumer-debate",
"landline": "current-guess-star-become-send",
"liveSecretKey": "bed-off-fund-dinner-whom",
"mobile": "American-cost-society-often-TV",
"number": "early-big-particularly-space-begin",
"paymentMethods": PaymentInstructionConnectionTypeConnection,
"permissions": [AccountUserPermission],
"portfolioIds": "39548761",
"portfolios": PortfolioConnectionTypeConnection,
"portfolioUserRoles": [PortfolioUserRoleType],
"preferences": AccountUserCommsPreferences,
"preferredName": "after-during-authority-necessary-audience",
"pronouns": "avoid-play-fact-society-manage",
"specialCircumstances": SpecialCircumstancesType,
"title": "television-child-may-some-baby"
}
}
}
activeAffiliateReferralScheme
Type: ReferralSchemeType
URL: https://api.oeit-kraken.energy/v1/graphql/
Return the current active referral reward scheme of a given affiliate organisation, if any exists.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can create affiliate links
OR Can query affiliate links
OR Can update affiliate links
Arguments
| Name | Description |
|---|---|
|
The account type for which to get the referral scheme. |
|
The affiliate link subdomain. |
Query
query ActiveAffiliateReferralScheme(
$accountType: ReferralSchemeAccountTypeOptions,
$subdomain: String!
) {
activeAffiliateReferralScheme(
accountType: $accountType,
subdomain: $subdomain
) {
canBeReferred
code
combinedRewardAmount
isUsageAtCapacity
loyaltyPointsBonus
maxRecurrence
referralDisplayUrl
referralUrl
referredRewardAmount
referrerGivenName
referrerRewardAmount
schemeType
}
}
Variables
{
"accountType": "DOMESTIC",
"subdomain": "include-night-trade-truth-every"
}
Response
{
"data": {
"activeAffiliateReferralScheme": {
"canBeReferred": true,
"code": "position-answer-author-memory-theory",
"combinedRewardAmount": 21,
"isUsageAtCapacity": true,
"loyaltyPointsBonus": 66,
"maxRecurrence": 99,
"referralDisplayUrl": "society-data-federal-federal-need",
"referralUrl": "close-red-let-be-but",
"referredRewardAmount": 78,
"referrerGivenName": "Susan",
"referrerRewardAmount": 74,
"schemeType": "help-choose-interview-walk-rest"
}
}
}
activeDomesticSignupRewardScheme
Type: ReferralSchemeType
URL: https://api.oeit-kraken.energy/v1/graphql/
Return the current active signup referral reward scheme with the given code, if any exists.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Query
query ActiveDomesticSignupRewardScheme {
activeDomesticSignupRewardScheme {
canBeReferred
code
combinedRewardAmount
isUsageAtCapacity
loyaltyPointsBonus
maxRecurrence
referralDisplayUrl
referralUrl
referredRewardAmount
referrerGivenName
referrerRewardAmount
schemeType
}
}
Response
{
"data": {
"activeDomesticSignupRewardScheme": {
"canBeReferred": true,
"code": "big-say-base-window-wide",
"combinedRewardAmount": 79,
"isUsageAtCapacity": true,
"loyaltyPointsBonus": 85,
"maxRecurrence": 88,
"referralDisplayUrl": "red-knowledge-under-will-him",
"referralUrl": "sort-item-clearly-for-call",
"referredRewardAmount": 63,
"referrerGivenName": "Susan",
"referrerRewardAmount": 16,
"schemeType": "issue-move-training-produce-everyone"
}
}
}
activeSalesChannels
Type: [SalesChannelType]
URL: https://api.oeit-kraken.energy/v1/graphql/
A list of active sales channels.
Query Complexity: 4
Possible Errors:
- KT-CT-12702: Invalid datetime range.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query sales channels
Arguments
| Name | Description |
|---|---|
|
The datetime from which to filter active sales channels. |
|
The datetime up to which to filter active sales channels. |
Query
query ActiveSalesChannels(
$activeFrom: DateTime,
$activeTo: DateTime
) {
activeSalesChannels(
activeFrom: $activeFrom,
activeTo: $activeTo
) {
code
description
hierarchicalName
name
}
}
Variables
{
"activeFrom": "1991-05-24T05:44:14.261467+00:00",
"activeTo": "2001-08-02T07:20:24.298262+00:00"
}
Response
{
"data": {
"activeSalesChannels": [
{
"code": "where-more-often-air-win",
"description": "drug-employee-common-chance-customer",
"hierarchicalName": "find-serious-strategy-land-technology",
"name": "talk-collection-ground-information-business"
}
]
}
}
addressFields
Type: AddressFieldDescriptorType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the address field descriptor for a given identifier. The identifier can be an ISO 3166-1 alpha-2 country code (e.g. 'AU', 'GB') or a custom descriptor key configured for the deployment. Returns null if the identifier is not recognised.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
Ip |
['10/s'] |
Arguments
| Name | Description |
|---|---|
|
Address field descriptor identifier. Typically an ISO 3166-1 alpha-2 country code, but may also be a custom descriptor key. |
Query
query AddressFields($addressFieldDescriptorId: String!) {
addressFields(addressFieldDescriptorId: $addressFieldDescriptorId) {
fieldGroups {
...AddressFieldGroupTypeFragment
}
}
}
Variables
{
"addressFieldDescriptorId": "86411303"
}
Response
{
"data": {
"addressFields": {
"fieldGroups": [AddressFieldGroupType]
}
}
}
affiliateLink
Type: AffiliateLinkType!
URL: https://api.oeit-kraken.energy/v1/graphql/
Link object for an affiliate organization.
Query Complexity: 1
Possible Errors:
- KT-CT-7713: Invalid data.
- KT-CT-7718: Affiliate link is expired.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can create affiliate links
OR Can query affiliate links
OR Can update affiliate links
Arguments
| Name | Description |
|---|---|
|
The affiliate link subdomain. |
Query
query AffiliateLink($subdomain: String!) {
affiliateLink(subdomain: $subdomain) {
contactEmail
contactName
id
isBusiness
landingUrl
organisation {
...AffiliateOrganisationTypeFragment
}
subdomain
trainingStatus
}
}
Variables
{
"subdomain": "human-situation-raise-manage-positive"
}
Response
{
"data": {
"affiliateLink": {
"contactEmail": "help-daughter-about-everyone-our",
"contactName": "think-stop-memory-would-left",
"id": "79378817",
"isBusiness": true,
"landingUrl": "important-seat-would-figure-color",
"organisation": AffiliateOrganisationType,
"subdomain": "per-most-grow-about-home",
"trainingStatus": "NOT_APPLICABLE"
}
}
}
affiliateLinks
Type: [AffiliateLinkType!]!
URL: https://api.oeit-kraken.energy/v1/graphql/
Links (urls) for the affiliate organizations.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query affiliate links
Arguments
| Name | Description |
|---|---|
|
Email address of the affiliate agent. |
Query
query AffiliateLinks($agentContactEmail: String!) {
affiliateLinks(agentContactEmail: $agentContactEmail) {
contactEmail
contactName
id
isBusiness
landingUrl
organisation {
...AffiliateOrganisationTypeFragment
}
subdomain
trainingStatus
}
}
Variables
{
"agentContactEmail": "international-if-technology-once-safe"
}
Response
{
"data": {
"affiliateLinks": [
{
"contactEmail": "today-see-manage-second-policy",
"contactName": "possible-picture-imagine-picture-plant",
"id": "63327055",
"isBusiness": true,
"landingUrl": "site-suffer-should-spring-painting",
"organisation": AffiliateOrganisationType,
"subdomain": "glass-enough-remain-them-name",
"trainingStatus": "NOT_APPLICABLE"
}
]
}
}
affiliateOrganisation
Type: AffiliateOrganisationType
URL: https://api.oeit-kraken.energy/v1/graphql/
Return the details of a given affiliate organization, if any exists.
Query Complexity: 1
Possible Errors:
- KT-CT-7701: The affiliate organisation was not found.
- KT-CT-7702: Either id or number must be provided.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query affiliate organisations
Arguments
| Name | Description |
|---|---|
|
The affiliate organisation ID. |
|
The affiliate organisation number. |
Query
query AffiliateOrganisation(
$id: Int,
$number: String
) {
affiliateOrganisation(
id: $id,
number: $number
) {
allowAlternativePaymentMethods
canRegisterBusinessMeterPoints
canRegisterCustomersWithoutEmailAddress
canRegisterPortfolioAccounts
canRenewTariffs
canUseIvrSupportApi
contactEmail
defaultAccountType
id
isFieldSalesOnlyProduct
name
number
salesChannelCode
skipMeterPointAddressValidation
}
}
Variables
{
"id": 30410485,
"number": "left-else-college-member-establish"
}
Response
{
"data": {
"affiliateOrganisation": {
"allowAlternativePaymentMethods": true,
"canRegisterBusinessMeterPoints": true,
"canRegisterCustomersWithoutEmailAddress": true,
"canRegisterPortfolioAccounts": true,
"canRenewTariffs": true,
"canUseIvrSupportApi": true,
"contactEmail": "better-opportunity-attorney-attack-kind",
"defaultAccountType": "BUSINESS",
"id": "32030331",
"isFieldSalesOnlyProduct": true,
"name": "medical-watch-real-I-read",
"number": "painting-decade-debate-though-especially",
"salesChannelCode": "avoid-store-model-happy-memory",
"skipMeterPointAddressValidation": true
}
}
}
agentCallCenterStatus
Type: AgentCallCenterStatusType!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the call center status for a given agent.
Query Complexity: 1
Possible Errors:
- KT-CT-7813: Support user not found with that username.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query calls
Arguments
| Name | Description |
|---|---|
|
The support user name. |
Query
query AgentCallCenterStatus($supportUserName: String!) {
agentCallCenterStatus(supportUserName: $supportUserName) {
id
mostRecentCallId
status
updatedAt
}
}
Variables
{
"supportUserName": "say-collection-president-require-spring"
}
Response
{
"data": {
"agentCallCenterStatus": {
"id": "46206659",
"mostRecentCallId": 57761590,
"status": "participant-discussion-night-common-smile",
"updatedAt": "2018-12-09T20:08:02.862415+00:00"
}
}
}
agreement
Type: Agreement
URL: https://api.oeit-kraken.energy/v1/graphql/
Get an agreement by id.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query agreements
Arguments
| Name | Description |
|---|---|
|
The agreement id. |
Query
query Agreement($id: ID!) {
agreement(id: $id) {
account {
...AccountTypeFragment
}
agreedAt
agreedFrom
agreedTo
characteristicValues {
...CharacteristicValueInterfaceFragment
}
id
isActive
isRevoked
params
product {
...SupplyProductTypeFragment
}
ratesAgreedAt
rescissionDeadlineAt
supplyPoint {
...SupplyPointTypeFragment
}
terminatedAt
validFrom
validTo
}
}
Variables
{
"id": "54244009"
}
Response
{
"data": {
"agreement": {
"account": AccountType,
"agreedAt": "2010-06-07T13:45:17.566566+00:00",
"agreedFrom": "1984-08-11T17:12:37.634908+00:00",
"agreedTo": "2004-06-10T08:48:38.014855+00:00",
"characteristicValues": CharacteristicValueInterface,
"id": "42779653",
"isActive": true,
"isRevoked": true,
"params": {"key": "value"},
"product": SupplyProductType,
"ratesAgreedAt": "2017-08-24T00:54:42.231464+00:00",
"rescissionDeadlineAt": "1971-09-22T17:32:09.834896+00:00",
"supplyPoint": SupplyPointType,
"terminatedAt": "2020-10-13T17:22:45.169887+00:00",
"validFrom": "2005-02-23T04:47:35.390656+00:00",
"validTo": "1987-11-15T23:15:50.907531+00:00"
}
}
}
agreementRollover
Type: AgreementRolloverType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get an agreement rollover by its number.
Query Complexity: 1
Possible Errors:
- KT-CT-13705: Agreement rollover not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query agreement rollovers
Arguments
| Name | Description |
|---|---|
|
Number of the agreement rollover. |
Query
query AgreementRollover($number: String!) {
agreementRollover(number: $number) {
actualSendDate
agreement {
...CommonAgreementTypeFragment
}
createdAt
expectedSendDate
failureReason
id
number
params
quoteRequests {
...MarketSupplyQuoteRequestTypeFragment
}
rolledOnTo {
...CommonAgreementTypeFragment
}
rolloverType
status
suppressComms
tags
updatedAt
}
}
Variables
{
"number": "it-seven-size-couple-personal"
}
Response
{
"data": {
"agreementRollover": {
"actualSendDate": "1979-05-09",
"agreement": CommonAgreementType,
"createdAt": "2024-12-10T18:52:26.909164+00:00",
"expectedSendDate": "1995-01-18",
"failureReason": "tree-rock-paper-energy-money",
"id": "28605226",
"number": "sing-throw-key-finally-husband",
"params": {"key": "value"},
"quoteRequests": [MarketSupplyQuoteRequestType],
"rolledOnTo": CommonAgreementType,
"rolloverType": "DEFAULT",
"status": "PENDING",
"suppressComms": true,
"tags": "break-deal-race-attention-direction",
"updatedAt": "1988-02-23T19:24:06.074183+00:00"
}
}
}
agreementsForRollover
Type: [CommonAgreementType]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get agreements eligible for the rollover process.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query agreements
Arguments
| Name | Description |
|---|---|
|
Days before the agreement expiration. |
|
Window size in days. |
Query
query AgreementsForRollover(
$daysBeforeExpiration: Int!,
$windowSize: Int!
) {
agreementsForRollover(
daysBeforeExpiration: $daysBeforeExpiration,
windowSize: $windowSize
) {
account {
...AccountTypeFragment
}
agreedAt
agreedFrom
agreedTo
characteristicValues {
...CharacteristicValueInterfaceFragment
}
id
isActive
isRevoked
params
product {
...SupplyProductTypeFragment
}
ratesAgreedAt
rescissionDeadlineAt
supplyPoint {
...SupplyPointTypeFragment
}
terminatedAt
validFrom
validTo
}
}
Variables
{
"daysBeforeExpiration": 13,
"windowSize": 24
}
Response
{
"data": {
"agreementsForRollover": [
{
"account": AccountType,
"agreedAt": "1972-07-16T15:54:39.855275+00:00",
"agreedFrom": "2015-09-16T08:13:44.368868+00:00",
"agreedTo": "1971-04-26T04:30:45.001405+00:00",
"characteristicValues": CharacteristicValueInterface,
"id": "39065894",
"isActive": true,
"isRevoked": true,
"params": {"key": "value"},
"product": SupplyProductType,
"ratesAgreedAt": "2008-08-01T02:09:52.026789+00:00",
"rescissionDeadlineAt": "1997-12-02T13:15:26.584390+00:00",
"supplyPoint": SupplyPointType,
"terminatedAt": "1999-11-05T07:36:50.358545+00:00",
"validFrom": "2010-11-17T16:46:40.579088+00:00",
"validTo": "2020-02-04T19:01:26.327416+00:00"
}
]
}
}
apiBrownouts
Type: APIBrownoutConnection
URL: https://api.oeit-kraken.energy/v1/graphql/
Get brownouts by status.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query api brownouts
Arguments
| Name | Description |
|---|---|
|
|
|
|
|
|
|
Statuses to filter for. Otherwise return active and upcoming brownouts. |
|
Query
query ApiBrownouts(
$after: String,
$before: String,
$first: Int,
$input: APIBrownoutInput,
$last: Int
) {
apiBrownouts(
after: $after,
before: $before,
first: $first,
input: $input,
last: $last
) {
edgeCount
edges {
...APIBrownoutEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"first": 10,
"input": APIBrownoutInput,
"last": 10
}
Response
{
"data": {
"apiBrownouts": {
"edgeCount": 52,
"edges": [APIBrownoutEdge],
"pageInfo": PageInfo,
"totalCount": 21
}
}
}
apiExceptions
Type: APIExceptionConnectionTypeConnection
URL: https://api.oeit-kraken.energy/v1/graphql/
Get a connection containing API Exceptions.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query api exceptions
Arguments
| Name | Description |
|---|---|
|
|
|
|
|
|
|
Fields to filter for. Otherwise don't filter at all. |
|
Query
query ApiExceptions(
$after: String,
$before: String,
$first: Int,
$input: APIExceptionQueryInput,
$last: Int
) {
apiExceptions(
after: $after,
before: $before,
first: $first,
input: $input,
last: $last
) {
edgeCount
edges {
...APIExceptionConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"first": 10,
"input": APIExceptionQueryInput,
"last": 10
}
Response
{
"data": {
"apiExceptions": {
"edgeCount": 98,
"edges": [APIExceptionConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 83
}
}
}
appSessions
Type: AppSessionConnectionTypeConnection!
URL: https://api.oeit-kraken.energy/v1/graphql/
App sessions recorded at the specified postcode or for the specified affiliate link subdomain.
Query Complexity: 1
Possible Errors:
- KT-CT-4410: Invalid postcode.
- KT-CT-7713: Invalid data.
- KT-CT-7723: Must supply postcode or subdomain.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query affiliate app sessions
Arguments
| Name | Description |
|---|---|
|
|
|
|
|
|
|
|
|
The postcode of the address at which the app session was recorded. |
|
The affiliate link subdomain to filter app sessions by. |
Query
query AppSessions(
$after: String,
$before: String,
$first: Int,
$last: Int,
$postcode: String,
$subdomain: String
) {
appSessions(
after: $after,
before: $before,
first: $first,
last: $last,
postcode: $postcode,
subdomain: $subdomain
) {
edgeCount
edges {
...AppSessionConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"first": 10,
"last": 10,
"postcode": "leg-style-town-along-article",
"subdomain": "subject-amount-event-brother-before"
}
Response
{
"data": {
"appSessions": {
"edgeCount": 4,
"edges": [AppSessionConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 64
}
}
}
authorizedApplications
Type: [AuthorizedApplication]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get all the confidential-client applications the current user has authorized.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Query
query AuthorizedApplications {
authorizedApplications {
clientId
name
}
}
Response
{
"data": {
"authorizedApplications": [
{
"clientId": "95565548",
"name": "candidate-evidence-stage-court-language"
}
]
}
}
availableOfferings
Type: [OfferingType]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get a list of actively available offerings from the catalog.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query catalog offerings
Query
query AvailableOfferings {
availableOfferings {
customerDescription
customerName
groups {
...GroupTypeFragment
}
identifier
internalName
isActive
isAmendable
isDraft
isExpired
isFirstDraft
isLatestVersion
isSellable
lifecycle {
...LifecycleTypeFragment
}
offeringComponents {
...OfferingComponentTypeFragment
}
productComponents {
...ProductComponentTypeFragment
}
tags {
...TagTypeFragment
}
termTemplateComponents {
...TermTemplateComponentTypeFragment
}
}
}
Response
{
"data": {
"availableOfferings": [
{
"customerDescription": "during-art-very-opportunity-glass",
"customerName": "painting-night-mission-article-good",
"groups": [GroupType],
"identifier": "65384948",
"internalName": "Mrs-Republican-movie-turn-audience",
"isActive": true,
"isAmendable": true,
"isDraft": true,
"isExpired": true,
"isFirstDraft": true,
"isLatestVersion": true,
"isSellable": true,
"lifecycle": LifecycleType,
"offeringComponents": [OfferingComponentType],
"productComponents": [ProductComponentType],
"tags": [TagType],
"termTemplateComponents": [TermTemplateComponentType]
}
]
}
}
availableProducts
Type: Products
URL: https://api.oeit-kraken.energy/v1/graphql/
Retrieve products list.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
(No)
Query
query AvailableProducts($marketName: String!) {
availableProducts(marketName: $marketName) {
availabilityStatus
availableFrom
availableTo
brandCode
code
description
displayName
endsAt
fullName
id
isHidden
marketName
notes
params
tags {
...SupplyProductTagTypeFragment
}
term
termsAndConditionsTypes {
...TermsAndConditionsTypeFragment
}
termsContractType
}
}
Variables
{
"marketName": "can-spring-model-next-such"
}
Response
{
"data": {
"availableProducts": [
{
"availabilityStatus": "EVERYONE",
"availableFrom": "2002-10-29T19:23:38.503566+00:00",
"availableTo": "1999-05-14T21:25:20.396586+00:00",
"brandCode": "air-woman-yard-sea-customer",
"code": "home-food-important-call-ask",
"description": "feel-sometimes-move-individual-five",
"displayName": "evening-see-minute-across-business",
"endsAt": "1987-11-27T23:08:50.788154+00:00",
"fullName": "risk-six-of-later-evidence",
"id": "70953926",
"isHidden": true,
"marketName": "tree-until-wide-spring-understand",
"notes": "two-soon-care-model-offer",
"params": {"key": "value"},
"tags": [SupplyProductTagType],
"term": 33,
"termsAndConditionsTypes": [TermsAndConditionsType],
"termsContractType": "six-reflect-second-gun-walk"
}
]
}
}
availableProductSwitchDates
Type: [Date]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get available dates for product switch.
Query Complexity: 1
Possible Errors:
- KT-CT-1501: Agreement not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can switch product
Arguments
| Name | Description |
|---|---|
|
Agreement ID. |
|
The maximum number of days to look for available dates. |
Query
query AvailableProductSwitchDates(
$agreementId: Int!,
$maxRange: Int
) {
availableProductSwitchDates(
agreementId: $agreementId,
maxRange: $maxRange
)
}
Variables
{
"agreementId": 65178090,
"maxRange": 94
}
Response
{
"data": {
"availableProductSwitchDates": "2004-12-28"
}
}
backendScreen
Type: BackendScreenType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get mobile screen details to render.
Query Complexity: 1
Possible Errors:
- KT-CT-8001: No backend screen available.
- KT-CT-8005: Backend screen does not support parameters.
- KT-CT-8006: Error applying parameters to backend screen.
- KT-CT-8008: Incorrect or missing data necessary to build the screen.
- KT-CT-8009: Error translating screen content.
- KT-CT-8010: Invalid step ID.
- KT-CT-8011: Cannot rewind past a previous irreversible step.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The maximum version of backend screens supported by the client. |
|
List of key-value pairs (strings) to pass as parameters to the screen. |
|
The ID of the screen to return. |
Query
query BackendScreen(
$maxVersionSupported: Int,
$params: [BackendScreenParamInputType],
$screenId: ID!
) {
backendScreen(
maxVersionSupported: $maxVersionSupported,
params: $params,
screenId: $screenId
) {
... on ComponentListType {
...ComponentListTypeFragment
}
... on Dashboard {
...DashboardFragment
}
... on FormScreenType {
...FormScreenTypeFragment
}
... on GenericBackendScreen {
...GenericBackendScreenFragment
}
}
}
Variables
{
"maxVersionSupported": 13,
"params": BackendScreenParamInputType,
"screenId": "83243674"
}
Response
{
"data": {
"backendScreen": ComponentListType
}
}
backendScreenEventIds
Type: [String]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get all registered backend screen event IDs.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Query
query BackendScreenEventIds {
backendScreenEventIds
}
Response
{
"data": {
"backendScreenEventIds": "race-research-daughter-at-number"
}
}
backendScreenIds
Type: [String]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get all registered backend screen IDs.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Query
query BackendScreenIds {
backendScreenIds
}
Response
{
"data": {
"backendScreenIds": "political-talk-some-design-study"
}
}
bankDetailsValidation
Type: BankDetailsValidationResult
URL: https://api.oeit-kraken.energy/v1/graphql/
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
(No)
Rate Limits
| Key | Steps |
|---|---|
Ip |
['65/m'] |
Arguments
| Name | Description |
|---|---|
|
The IBAN of the bank account. |
Query
query BankDetailsValidation($iban: NonEmptyString!) {
bankDetailsValidation(iban: $iban) {
areValid
message
}
}
Variables
{
"iban": "memory-it-opportunity-tonight-main"
}
Response
{
"data": {
"bankDetailsValidation": {
"areValid": true,
"message": "space-detail-customer-management-together"
}
}
}
billingTriggerConfigurations
Type: BillingTriggerConfigurationsConnection
URL: https://api.oeit-kraken.energy/v1/graphql/
Query billing trigger configurations for a specific target. By default returns only active configurations. Specify effective_from/effective_to for time range filtering. Use include_children=true on parent target to get configurations for all child targets.
Query Complexity: 1
Possible Errors:
- KT-CT-9706: Invalid billing trigger target input.
- KT-CT-9707: includeChildren cannot be used with effectiveFrom or effectiveTo parameters.
- KT-CT-9708: Both effectiveFrom and effectiveTo must be provided to filter by period.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query billing information
Arguments
| Name | Description |
|---|---|
|
|
|
|
|
Start of the time range to query configurations for. |
|
End of the time range to query configurations for. |
|
|
|
Include all child targets of the specified target. |
|
|
|
The target to query configurations for. |
Query
query BillingTriggerConfigurations(
$after: String,
$before: String,
$effectiveFrom: DateTime,
$effectiveTo: DateTime,
$first: Int,
$includeChildren: Boolean,
$last: Int,
$target: TargetInput!
) {
billingTriggerConfigurations(
after: $after,
before: $before,
effectiveFrom: $effectiveFrom,
effectiveTo: $effectiveTo,
first: $first,
includeChildren: $includeChildren,
last: $last,
target: $target
) {
edgeCount
edges {
...BillingTriggerConfigurationsEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"effectiveFrom": "2000-01-15T12:17:26.177108+00:00",
"effectiveTo": "1991-07-01T17:51:44.947951+00:00",
"first": 10,
"includeChildren": true,
"last": 10,
"target": TargetInput
}
Response
{
"data": {
"billingTriggerConfigurations": {
"edgeCount": 63,
"edges": [BillingTriggerConfigurationsEdge],
"pageInfo": PageInfo,
"totalCount": 10
}
}
}
business
Type: BusinessType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get details about a business.
Query Complexity: 1
Possible Errors:
- KT-CT-11101: The viewer is not authorized to execute the query/mutation. Check the ownership/permissions of provided data.
- KT-CT-11107: Unauthorized.
- KT-CT-1605: Invalid input.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query businesses
Arguments
| Name | Description |
|---|---|
|
List of business detail key-value pairs to filter by. |
|
Kraken-generated, human-readable number for display purposes. |
|
The business ID. |
Query
query Business(
$details: [BusinessDetailInput],
$displayableNumber: String,
$id: ID
) {
business(
details: $details,
displayableNumber: $displayableNumber,
id: $id
) {
billingAddress {
...RichAddressTypeFragment
}
businessType
details {
...BusinessDetailTypeFragment
}
displayableNumber
id
legalAddress {
...RichAddressTypeFragment
}
linkedAccountNumbers
name
number
paymentMethods {
...PaymentInstructionConnectionTypeConnectionFragment
}
sectors
segmentName
}
}
Variables
{
"details": BusinessDetailInput,
"displayableNumber": "identify-third-someone-once-always",
"id": "71532611"
}
Response
{
"data": {
"business": {
"billingAddress": RichAddressType,
"businessType": "SOLE_TRADER",
"details": [BusinessDetailType],
"displayableNumber": "according-whether-receive-politics-must",
"id": "50621483",
"legalAddress": RichAddressType,
"linkedAccountNumbers": "78785505",
"name": "thought-section-wife-myself-occur",
"number": "necessary-moment-my-stand-well",
"paymentMethods": PaymentInstructionConnectionTypeConnection,
"sectors": None,
"segmentName": "impact-picture-film-few-media"
}
}
}
businessAccountReferralRewardScheme
Type: ReferralSchemeType
URL: https://api.oeit-kraken.energy/v1/graphql/
Return a business referral reward scheme for the given account referral code.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Friend referral code. |
Query
query BusinessAccountReferralRewardScheme($code: String!) {
businessAccountReferralRewardScheme(code: $code) {
canBeReferred
code
combinedRewardAmount
isUsageAtCapacity
loyaltyPointsBonus
maxRecurrence
referralDisplayUrl
referralUrl
referredRewardAmount
referrerGivenName
referrerRewardAmount
schemeType
}
}
Variables
{
"code": "only-nearly-with-clear-PM"
}
Response
{
"data": {
"businessAccountReferralRewardScheme": {
"canBeReferred": true,
"code": "yes-save-not-happy-I",
"combinedRewardAmount": 85,
"isUsageAtCapacity": true,
"loyaltyPointsBonus": 97,
"maxRecurrence": 86,
"referralDisplayUrl": "adult-bed-bed-above-especially",
"referralUrl": "evening-sit-player-system-shoulder",
"referredRewardAmount": 50,
"referrerGivenName": "Stephen",
"referrerRewardAmount": 15,
"schemeType": "low-certain-challenge-yet-sport"
}
}
}
businessContract
Type: Contract
URL: https://api.oeit-kraken.energy/v1/graphql/
Get details about an account contract.
Query Complexity: 1
Possible Errors:
- KT-CT-10003: Contract not found.
- KT-CT-10005: Missing required parameter: either identifier or accountNumber must be provided.
- KT-CT-10006: Account not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query contracts
Arguments
| Name | Description |
|---|---|
|
The account number to find the business contract for. |
|
The identifier of the contract. |
|
The version of the contract. |
Query
query BusinessContract(
$accountNumber: String,
$identifier: String,
$version: Int
) {
businessContract(
accountNumber: $accountNumber,
identifier: $identifier,
version: $version
) {
cancelledAt
identifier
lifecycle {
...ContractVersionFragment
}
notes {
...ContractNoteTypeFragment
}
party {
... on AccountType {
...AccountTypeFragment
}
... on BusinessType {
...BusinessTypeFragment
}
}
rescindedAt
signedAt
status
subject {
...AccountTypeFragment
}
terms {
...TermInterfaceFragment
}
title
validFrom
validTo
}
}
Variables
{
"accountNumber": "A-E2FA1B2B",
"identifier": "59360709",
"version": 17
}
Response
{
"data": {
"businessContract": {
"cancelledAt": "2003-04-17T04:48:49.154851+00:00",
"identifier": "48539936",
"lifecycle": ContractVersion,
"notes": [ContractNoteType],
"party": AccountType,
"rescindedAt": "2023-08-15T18:35:45.649334+00:00",
"signedAt": "1993-04-25T17:07:05.060850+00:00",
"status": "REVOKED",
"subject": [AccountType],
"terms": TermInterface,
"title": "voice-expert-inside-event-from",
"validFrom": "2021-08-10T08:38:58.996084+00:00",
"validTo": "1982-03-02T15:33:20.942313+00:00"
}
}
}
call
Type: CallInterface!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get a call using an integer or UUID identifier.
Query Complexity: 2
Possible Errors:
- KT-CT-11802: Call not found.
- KT-CT-11817: Invalid call ID.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query calls
Arguments
| Name | Description |
|---|---|
|
Identifier for the call, as an integer or a UUID. |
Query
query Call($id: ID!) {
call(id: $id) {
account {
...AccountTypeFragment
}
id
metadata {
...CallMetadataItemTypeFragment
}
}
}
Variables
{
"id": "75951442"
}
Response
{
"data": {
"call": {
"account": AccountType,
"id": "63942720",
"metadata": [CallMetadataItemType]
}
}
}
callRecordingDetail
Type: CallRecordingDetailType!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get recording detail for a call and call recording.
Query Complexity: 2
Possible Errors:
- KT-CT-11822: Recording detail incomplete.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query calls
Arguments
| Name | Description |
|---|---|
|
The voice vendor managing the call. |
|
Unique ID of the call in the vendor's system. |
Query
query CallRecordingDetail(
$vendor: VoiceVendor!,
$vendorRecordingId: ID!
) {
callRecordingDetail(
vendor: $vendor,
vendorRecordingId: $vendorRecordingId
) {
endTime
fromPhoneNumber
primaryAgentEmail
startTime
toPhoneNumber
}
}
Variables
{
"vendor": "TWILIO",
"vendorRecordingId": "67058989"
}
Response
{
"data": {
"callRecordingDetail": {
"endTime": "1975-02-28T12:39:09.247692+00:00",
"fromPhoneNumber": "can-whom-director-ago-education",
"primaryAgentEmail": "look-weight-human-rich-strong",
"startTime": "1975-01-13T20:11:38.069054+00:00",
"toPhoneNumber": "partner-yet-near-move-get"
}
}
}
callTag
Type: CallTagType!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the call tag for a given ID.
Query Complexity: 2
Possible Errors:
- KT-CT-11809: Call tag not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query calls
Arguments
| Name | Description |
|---|---|
|
The call tag ID. |
Query
query CallTag($id: ID!) {
callTag(id: $id) {
id
isActive
name
}
}
Variables
{
"id": "97454906"
}
Response
{
"data": {
"callTag": {
"id": "23847222",
"isActive": true,
"name": "same-quickly-strong-scientist-yet"
}
}
}
callTags
Type: CallTagConnectionTypeConnection!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get call tags.
Query Complexity: 2
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query calls
Arguments
| Name | Description |
|---|---|
|
|
|
|
|
|
|
Filter by active status. |
|
|
|
Filter by call tag name. |
Query
query CallTags(
$after: String,
$before: String,
$first: Int,
$isActive: Boolean,
$last: Int,
$name: String
) {
callTags(
after: $after,
before: $before,
first: $first,
isActive: $isActive,
last: $last,
name: $name
) {
edgeCount
edges {
...CallTagConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"first": 10,
"isActive": true,
"last": 10,
"name": "range-condition-source-region-answer"
}
Response
{
"data": {
"callTags": {
"edgeCount": 28,
"edges": [CallTagConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 87
}
}
}
callTranscripts
Type: CallTranscriptConnectionTypeConnection!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get all non-deleted transcripts for the given call, newest first. In-progress and failed transcripts are included for diagnostic visibility but their download field will be null.
Query Complexity: 2
Possible Errors:
- KT-CT-11802: Call not found.
- KT-CT-11817: Invalid call ID.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query call transcripts
Arguments
| Name | Description |
|---|---|
|
|
|
|
|
Identifier for the call, as an integer or a UUID. |
|
|
|
Query
query CallTranscripts(
$after: String,
$before: String,
$callId: ID!,
$first: Int,
$last: Int
) {
callTranscripts(
after: $after,
before: $before,
callId: $callId,
first: $first,
last: $last
) {
edgeCount
edges {
...CallTranscriptConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"callId": "96472700",
"first": 10,
"last": 10
}
Response
{
"data": {
"callTranscripts": {
"edgeCount": 12,
"edges": [CallTranscriptConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 50
}
}
}
callTranscriptsInWindow
Type: CallTranscriptConnectionTypeConnection!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get all completed transcripts whose transcribed_at falls within a time window.
Query Complexity: 6
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query call transcripts
Arguments
| Name | Description |
|---|---|
|
|
|
|
|
|
|
|
|
Only transcripts where transcribed_at is at or after this datetime. |
|
Only transcripts where transcribed_at is at or before this datetime. Defaults to the current time when omitted. |
Query
query CallTranscriptsInWindow(
$after: String,
$before: String,
$first: Int,
$last: Int,
$transcribedAfter: DateTime!,
$transcribedBefore: DateTime
) {
callTranscriptsInWindow(
after: $after,
before: $before,
first: $first,
last: $last,
transcribedAfter: $transcribedAfter,
transcribedBefore: $transcribedBefore
) {
edgeCount
edges {
...CallTranscriptConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"first": 10,
"last": 10,
"transcribedAfter": "1976-12-27T23:02:42.754250+00:00",
"transcribedBefore": "1995-04-04T18:55:14.596756+00:00"
}
Response
{
"data": {
"callTranscriptsInWindow": {
"edgeCount": 88,
"edges": [CallTranscriptConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 66
}
}
}
campaigns
Type: AccountCampaignConnectionTypeConnection
URL: https://api.oeit-kraken.energy/v1/graphql/
The campaigns associated with this account.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query account campaigns
Arguments
| Name | Description |
|---|---|
|
The account number. |
|
|
|
|
|
|
|
Query
query Campaigns(
$accountNumber: String!,
$after: String,
$before: String,
$first: Int,
$last: Int
) {
campaigns(
accountNumber: $accountNumber,
after: $after,
before: $before,
first: $first,
last: $last
) {
edgeCount
edges {
...AccountCampaignConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"accountNumber": "A-EE63B98D",
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"first": 10,
"last": 10
}
Response
{
"data": {
"campaigns": {
"edgeCount": 64,
"edges": [AccountCampaignConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 51
}
}
}
canRescindAgreement
Type: Boolean
URL: https://api.oeit-kraken.energy/v1/graphql/
Check if an agreement can be rescinded.
Query Complexity: 1
Possible Errors:
- KT-CT-1501: Agreement not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query agreement rescissions
Arguments
| Name | Description |
|---|---|
|
The ID of the agreement to check. |
Query
query CanRescindAgreement($agreementId: Int!) {
canRescindAgreement(agreementId: $agreementId)
}
Variables
{
"agreementId": 61856956
}
Response
{
"data": {
"canRescindAgreement": true
}
}
chargePointVariants
Type: [ChargePointVariantType]
URL: https://api.oeit-kraken.energy/v1/graphql/
All charge points variants.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
(No)
Deprecated
The 'chargePointVariants' field is deprecated.
Please use 'flexSupportedDevices' instead.
- Marked as deprecated on 2026-04-15.
- Scheduled for removal on or after 2026-10-15.
Query
query ChargePointVariants {
chargePointVariants {
make
models {
...ChargePointVariantModelTypeFragment
}
}
}
Response
{
"data": {
"chargePointVariants": [
{
"make": "very-Mr-than-plant-special",
"models": [ChargePointVariantModelType]
}
]
}
}
citiesAndProvince
Type: [CityProvinceType]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get a list of cities and their corresponding province from a given postcode.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
(No)
Arguments
| Name | Description |
|---|---|
|
The postcode of the cities to return. |
Query
query CitiesAndProvince($postcode: String!) {
citiesAndProvince(postcode: $postcode) {
cities
province
}
}
Variables
{
"postcode": "painting-room-western-right-nature"
}
Response
{
"data": {
"citiesAndProvince": [
{
"cities": "suddenly-head-describe-many-stand",
"province": "marriage-front-thank-act-rather"
}
]
}
}
collectionProcessDetails
Type: CollectionProcessDetailsType
URL: https://api.oeit-kraken.energy/v1/graphql/
Collection process record details.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-11201: No Collection Process Records associated with id.
- KT-CT-11206: Unable to retrieve disconnection related data for collection process.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The collection process record number. |
Query
query CollectionProcessDetails($collectionProcessRecordNumber: String!) {
collectionProcessDetails(collectionProcessRecordNumber: $collectionProcessRecordNumber) {
associatedItems {
...CollectionProcessRecordAssociatedItemTypeFragment
}
collectionProcessRecordNumber
collectionProcessType
completionType
isActive
isComplete
isPaused
pausedDays
targetObjectIdentifier
}
}
Variables
{
"collectionProcessRecordNumber": "tree-small-perhaps-technology-bill"
}
Response
{
"data": {
"collectionProcessDetails": {
"associatedItems": [CollectionProcessRecordAssociatedItemType],
"collectionProcessRecordNumber": "serious-role-get-those-remember",
"collectionProcessType": "ACCOUNT",
"completionType": "argue-personal-feel-tough-beyond",
"isActive": true,
"isComplete": true,
"isPaused": true,
"pausedDays": 66,
"targetObjectIdentifier": "46851445"
}
}
}
complaint
Type: ComplaintType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get a complaint.
Query Complexity: 1
Possible Errors:
- KT-CT-12301: Complaint not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query complaints
Arguments
| Name | Description |
|---|---|
|
Query
query Complaint($complaintId: Int!) {
complaint(complaintId: $complaintId) {
assigneeId
contacts {
...ComplaintContactConnectionTypeConnectionFragment
}
creationDate
id
isOfficial
resolutionDate
subtype
type
}
}
Variables
{
"complaintId": 46284106
}
Response
{
"data": {
"complaint": {
"assigneeId": "43064449",
"contacts": ComplaintContactConnectionTypeConnection,
"creationDate": "1993-03-30",
"id": "27475354",
"isOfficial": true,
"resolutionDate": "1984-06-22",
"subtype": "imagine-picture-tough-around-strong",
"type": "meeting-watch-establish-lose-figure"
}
}
}
completedDispatches
Type: [UpsideDispatchType]
URL: https://api.oeit-kraken.energy/v1/graphql/
All completed device dispatches 12 hours behind, in reverse time order.
Query Complexity: 3
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4341: Unable to fetch completed dispatches.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can access third party queries
OR Can view ev data
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Arguments
| Name | Description |
|---|---|
|
Query
query CompletedDispatches($accountNumber: String!) {
completedDispatches(accountNumber: $accountNumber) {
delta
end
meta {
...UpsideDispatchMetaTypeFragment
}
start
}
}
Variables
{
"accountNumber": "A-D4425842"
}
Response
{
"data": {
"completedDispatches": [
{
"delta": "1.0",
"end": "1997-09-28T22:02:23.634097+00:00",
"meta": UpsideDispatchMetaType,
"start": "1998-03-01T04:28:41.635645+00:00"
}
]
}
}
consentTypes
Type: [ConsentTypeType]
URL: https://api.oeit-kraken.energy/v1/graphql/
A list of the consent types available.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Query
query ConsentTypes {
consentTypes {
code
defaultValue
description
name
}
}
Response
{
"data": {
"consentTypes": [
{
"code": "out-drop-computer-serve-school",
"defaultValue": "ACCEPTED",
"description": "oil-later-change-mean-more",
"name": "career-seven-writer-defense-performance"
}
]
}
}
contractCreationJourney
Type: ContractCreationJourneyType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get details about a contract creation journey.
Query Complexity: 1
Possible Errors:
- KT-CT-10017: The contract journey could not be found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query contracts AND Can query contract journeys
Arguments
| Name | Description |
|---|---|
|
The number of the contract journey. |
Query
query ContractCreationJourney($number: String!) {
contractCreationJourney(number: $number) {
context {
...ContractCreationContextFragment
}
contractDetails {
...ContractDetailsFragment
}
journeyType
notes {
...ContractNoteTypeFragment
}
number
orderReference
requestedAt
status
}
}
Variables
{
"number": "lose-brother-thought-recognize-different"
}
Response
{
"data": {
"contractCreationJourney": {
"context": ContractCreationContext,
"contractDetails": ContractDetails,
"journeyType": "CONTRACT_CREATION",
"notes": [ContractNoteType],
"number": "play-stock-anyone-common-break",
"orderReference": "none-me-process-film-foreign",
"requestedAt": "2013-09-10T07:33:52.207108+00:00",
"status": "IN_PROGRESS"
}
}
}
contractNoteReasons
Type: [ContractNoteReasonType]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get a list of contract note reasons, optionally filtered by activity types.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query contract note reasons
Arguments
| Name | Description |
|---|---|
|
Filter reasons applicable to any of the given contract activity types. |
Query
query ContractNoteReasons($activityTypes: [ContractActivityTypeOptions]) {
contractNoteReasons(activityTypes: $activityTypes) {
activityTypes
description
slug
}
}
Variables
{
"activityTypes": "ALL_ACTIVITY_TYPES"
}
Response
{
"data": {
"contractNoteReasons": [
{
"activityTypes": "ALL_ACTIVITY_TYPES",
"description": "start-state-detail-sea-exactly",
"slug": "personal-technology-especially-responsibility-here"
}
]
}
}
contracts
Type: [Contract]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get a list of contracts filtered by party or subject.
Query Complexity: 1
Possible Errors:
- KT-CT-10029: Missing contract filters.
- KT-CT-10030: Filter by subject is not implemented.
- KT-CT-10031: Invalid party filter.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query contracts
Arguments
| Name | Description |
|---|---|
|
Filters to apply when querying contracts. At least one filter must be provided. |
Query
query Contracts($filters: ContractFiltersInput!) {
contracts(filters: $filters) {
cancelledAt
identifier
lifecycle {
...ContractVersionFragment
}
notes {
...ContractNoteTypeFragment
}
party {
... on AccountType {
...AccountTypeFragment
}
... on BusinessType {
...BusinessTypeFragment
}
}
rescindedAt
signedAt
status
subject {
...AccountTypeFragment
}
terms {
...TermInterfaceFragment
}
title
validFrom
validTo
}
}
Variables
{
"filters": ContractFiltersInput
}
Response
{
"data": {
"contracts": [
{
"cancelledAt": "1976-11-13T23:47:55.173503+00:00",
"identifier": "56576670",
"lifecycle": ContractVersion,
"notes": [ContractNoteType],
"party": AccountType,
"rescindedAt": "1977-11-15T18:41:02.080641+00:00",
"signedAt": "1984-02-29T20:16:41.924140+00:00",
"status": "REVOKED",
"subject": [AccountType],
"terms": TermInterface,
"title": "show-race-American-back-right",
"validFrom": "1975-10-30T13:19:21.913217+00:00",
"validTo": "1987-11-26T02:12:33.519277+00:00"
}
]
}
}
contributionSchemes
Type: [ContributionSchemeType]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get contribution schemes.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Query
query ContributionSchemes {
contributionSchemes {
acceptingContributions
code
displayName
id
taxable
}
}
Response
{
"data": {
"contributionSchemes": [
{
"acceptingContributions": true,
"code": "especially-anyone-all-cause-human",
"displayName": "value-point-drug-quickly-event",
"id": "79154075",
"taxable": true
}
]
}
}
costOfCharge
Type: [CostOfChargeType]
URL: https://api.oeit-kraken.energy/v1/graphql/
Aggregated cost of charge for an EV device.
Query Complexity: 1
Possible Errors:
- KT-CT-4326: Could not get consumption cost data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
Deprecated
The 'costOfCharge' field is deprecated.
Use `cost` field on `SmartFlexChargingSession` instead.
- Marked as deprecated on 2025-05-13.
- Scheduled for removal on or after 2026-01-16.
You can read more about this deprecation on:
https://announcements.kraken.tech/announcements/public/605/
Arguments
| Name | Description |
|---|---|
|
|
|
Frequency by day, week, month or year. |
|
The date up to which data should be relative to. |
|
The start date of the results required. Overrides report date (end date) if provided. |
Query
query CostOfCharge(
$accountNumber: String!,
$frequency: DataFrequency!,
$startDate: Date
) {
costOfCharge(
accountNumber: $accountNumber,
frequency: $frequency,
startDate: $startDate
) {
costOfChargeId
isSmartCharge
krakenflexDeviceId
reportDate
totalConsumption
totalCostExclTax
totalCostInclTax
}
}
Variables
{
"accountNumber": "A-B51F6D82",
"frequency": "DAILY",
"startDate": "2010-11-21"
}
Response
{
"data": {
"costOfCharge": [
{
"costOfChargeId": "26898001",
"isSmartCharge": true,
"krakenflexDeviceId": "91357467",
"reportDate": "2022-05-10",
"totalConsumption": 277.51,
"totalCostExclTax": 93.86,
"totalCostInclTax": 590.79
}
]
}
}
customerAsset
Type: CustomerAssetType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get customer asset by ID.
Query Complexity: 2
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query customer assets
Arguments
| Name | Description |
|---|---|
|
Customer asset ID. |
Query
query CustomerAsset($customerAssetId: String!) {
customerAsset(customerAssetId: $customerAssetId) {
accountNumber
activeFrom
activeTo
id
name
physicalId
type
}
}
Variables
{
"customerAssetId": "46841944"
}
Response
{
"data": {
"customerAsset": {
"accountNumber": "A-62073703",
"activeFrom": "2000-10-29T14:13:37.376701+00:00",
"activeTo": "1984-02-21T09:34:00.291975+00:00",
"id": "46364196",
"name": "war-energy-call-remember-seat",
"physicalId": "19271060",
"type": "pressure-name-name-such-rich"
}
}
}
customerFeedbackForms
Type: CustomerFeedbackFormConnectionTypeConnection
URL: https://api.oeit-kraken.energy/v1/graphql/
Returns all active customer feedback forms for the account's brand.
Query Complexity: 1
Possible Errors:
- KT-CT-5515: Unable to retrieve feedback forms.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can submit customer feedback
Arguments
| Name | Description |
|---|---|
|
The account number. |
|
|
|
|
|
Feedback sources currently supported. |
|
|
|
Query
query CustomerFeedbackForms(
$accountNumber: String!,
$after: String,
$before: String,
$feedbackSource: CustomerFeedbackSourceChoices,
$first: Int,
$last: Int
) {
customerFeedbackForms(
accountNumber: $accountNumber,
after: $after,
before: $before,
feedbackSource: $feedbackSource,
first: $first,
last: $last
) {
edgeCount
edges {
...CustomerFeedbackFormConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"accountNumber": "A-4C45880B",
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"feedbackSource": "FEEDBACK_SOURCE_PHONE_CALL_FOLLOW_UP",
"first": 10,
"last": 10
}
Response
{
"data": {
"customerFeedbackForms": {
"edgeCount": 88,
"edges": [CustomerFeedbackFormConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 75
}
}
}
dashboardScreen
Type: Dashboard
URL: https://api.oeit-kraken.energy/v1/graphql/
Get a dashboard screen to render in the form of a json list of sections containing cards or grouped cards each with an order attribute.
Query Complexity: 1
Possible Errors:
- KT-CT-3820: Received both ledger ID and number.
- KT-CT-8001: No backend screen available.
- KT-CT-8005: Backend screen does not support parameters.
- KT-CT-8006: Error applying parameters to backend screen.
- KT-CT-8008: Incorrect or missing data necessary to build the screen.
- KT-CT-8009: Error translating screen content.
- KT-CT-8010: Invalid step ID.
- KT-CT-8011: Cannot rewind past a previous irreversible step.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The account number of the user. |
|
The ID of the dashboard type screen to return. |
|
The ledger id associated to the account. |
|
The ledger number associated to the account. |
|
The maximum version of dahshboard type screens supported by the client. |
|
List of key-value pairs (strings) to pass as parameters to the screen. |
|
The property id associated to the account. |
Query
query DashboardScreen(
$accountNumber: String!,
$dashboardId: ID!,
$ledgerNumber: String,
$maxVersionSupported: Int!,
$params: [BackendScreenParamInputType],
$propertyId: String
) {
dashboardScreen(
accountNumber: $accountNumber,
dashboardId: $dashboardId,
ledgerNumber: $ledgerNumber,
maxVersionSupported: $maxVersionSupported,
params: $params,
propertyId: $propertyId
) {
dashboardItems {
...SectionTypeFragment
}
id
serialisedDashboardItems
typename
}
}
Variables
{
"accountNumber": "A-DB138BAF",
"dashboardId": "74970974",
"ledgerNumber": "success-summer-friend-thousand-civil",
"maxVersionSupported": 49,
"params": BackendScreenParamInputType,
"propertyId": "69017897"
}
Response
{
"data": {
"dashboardScreen": {
"dashboardItems": [SectionType],
"id": "64444088",
"serialisedDashboardItems": "brother-over-especially-project-son",
"typename": "page-account-weight-turn-poor"
}
}
}
defaultPaymentInstruction
Type: PaymentInstructionType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the default payment instruction for the account's main ledger.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Deprecated
The 'defaultPaymentInstruction' field is deprecated.
Please use 'usablePaymentInstructions' on the Ledger type to get all usable instructions, or 'paymentPreferenceAtTime' on the Ledger type to get a specific one. Both require explicitly requesting a ledger.
- Marked as deprecated on 2026-01-28.
- Scheduled for removal on or after 2026-07-28.
Arguments
| Name | Description |
|---|---|
|
The account number. |
|
Provide an option to get either a CARD or DIRECT_DEBIT instruction. |
Query
query DefaultPaymentInstruction(
$accountNumber: String!,
$instructionType: PaymentType
) {
defaultPaymentInstruction(
accountNumber: $accountNumber,
instructionType: $instructionType
) {
accountHolder
accountType
bankCode
cardExpiryMonth
cardExpiryYear
cardNumber
cardPaymentNetwork
cardType
iban
id
instructionType
maskedAccountIdentifier
owners {
...PaymentInstructionOwnerTypeFragment
}
sortCode
status
supplementaryLedger {
...SupplementaryLedgerTypeFragment
}
validFrom
vendor
}
}
Variables
{
"accountNumber": "A-2C975F61",
"instructionType": "BPAY"
}
Response
{
"data": {
"defaultPaymentInstruction": {
"accountHolder": "perform-black-weight-the-bring",
"accountType": "American-region-institution-road-effect",
"bankCode": "personal-together-trouble-pay-increase",
"cardExpiryMonth": 46,
"cardExpiryYear": 38,
"cardNumber": "senior-game-sometimes-draw-participant",
"cardPaymentNetwork": "certain-game-box-message-myself",
"cardType": "personal-thus-serious-building-old",
"iban": "lose-decide-place-well-however",
"id": "40575391",
"instructionType": "between-friend-wide-prevent-six",
"maskedAccountIdentifier": "71915366",
"owners": [PaymentInstructionOwnerType],
"sortCode": "sea-hard-prepare-production-view",
"status": "it-human-build-major-entire",
"supplementaryLedger": SupplementaryLedgerType,
"validFrom": "1977-01-26T09:07:04.533127+00:00",
"vendor": "activity-increase-sometimes-present-walk"
}
}
}
defaultRawScore
Type: Int
URL: https://api.oeit-kraken.energy/v1/graphql/
Get default raw score for a customer feedback form.
Query Complexity: 1
Possible Errors:
- KT-CT-5513: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can submit customer feedback
Arguments
| Name | Description |
|---|---|
|
Query
query DefaultRawScore($formId: Int!) {
defaultRawScore(formId: $formId)
}
Variables
{
"formId": 71578715
}
Response
{
"data": {
"defaultRawScore": 99
}
}
depositAgreements
Type: [DepositAgreementOutput]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get deposit agreements for a given account.
Query Complexity: 1
Possible Errors:
- KT-CT-4177: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can use deposit system
Arguments
| Name | Description |
|---|---|
|
Query
query DepositAgreements($accountNumber: String!) {
depositAgreements(accountNumber: $accountNumber) {
acceptedAt
collectionDate
currentEligibilityStatus {
...CurrentEligibilityStatusOutputFragment
}
depositAmount
depositKey
dueDate
fulfilledAt
returnStrategy
}
}
Variables
{
"accountNumber": "A-08996EBA"
}
Response
{
"data": {
"depositAgreements": [
{
"acceptedAt": "1991-04-16T10:56:23.426153+00:00",
"collectionDate": "1998-05-07",
"currentEligibilityStatus": CurrentEligibilityStatusOutput,
"depositAmount": 37,
"depositKey": "truth-child-modern-black-effort",
"dueDate": "1996-03-23",
"fulfilledAt": "2015-10-15T02:00:13.461624+00:00",
"returnStrategy": "relate-society-direction-receive-yard"
}
]
}
}
devices
Type: [SmartFlexDeviceInterface!]
URL: https://api.oeit-kraken.energy/v1/graphql/
A list of devices registered to an account.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can query devices
Arguments
| Name | Description |
|---|---|
|
The account number, e.g. A-12345678. |
|
Only list the device with this ID. |
|
Only list the device with this integration device ID. |
|
Only list devices registered to this property. |
Query
query Devices(
$accountNumber: String!,
$deviceId: String,
$integrationDeviceId: String,
$propertyId: ID
) {
devices(
accountNumber: $accountNumber,
deviceId: $deviceId,
integrationDeviceId: $integrationDeviceId,
propertyId: $propertyId
) {
alerts {
...SmartFlexDeviceAlertInterfaceFragment
}
deviceType
id
integrationDeviceId
name
onboardingWizard {
...SmartFlexOnboardingWizardFragment
}
preferences {
...SmartFlexDevicePreferencesInterfaceFragment
}
preferenceSetting {
...FlexDevicePreferenceSettingInterfaceFragment
}
propertyId
provider
reAuthenticationState {
...DeviceReAuthenticationInterfaceFragment
}
status {
...SmartFlexDeviceStatusInterfaceFragment
}
}
}
Variables
{
"accountNumber": "A-76A8C3F1",
"deviceId": "83031024",
"integrationDeviceId": "43483882",
"propertyId": "66770102"
}
Response
{
"data": {
"devices": [
{
"alerts": SmartFlexDeviceAlertInterface,
"deviceType": "BATTERIES",
"id": "31327853",
"integrationDeviceId": "98888174",
"name": "condition-production-away-movie-newspaper",
"onboardingWizard": SmartFlexOnboardingWizard,
"preferences": SmartFlexDevicePreferencesInterface,
"preferenceSetting": FlexDevicePreferenceSettingInterface,
"propertyId": "31602136",
"provider": "BYD",
"reAuthenticationState": DeviceReAuthenticationInterface,
"status": SmartFlexDeviceStatusInterface
}
]
}
}
domesticAccountReferralRewardScheme
Type: ReferralSchemeType
URL: https://api.oeit-kraken.energy/v1/graphql/
Return a domestic referral reward scheme for the given account referral code.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Friend referral code. |
Query
query DomesticAccountReferralRewardScheme($code: String!) {
domesticAccountReferralRewardScheme(code: $code) {
canBeReferred
code
combinedRewardAmount
isUsageAtCapacity
loyaltyPointsBonus
maxRecurrence
referralDisplayUrl
referralUrl
referredRewardAmount
referrerGivenName
referrerRewardAmount
schemeType
}
}
Variables
{
"code": "compare-one-message-into-some"
}
Response
{
"data": {
"domesticAccountReferralRewardScheme": {
"canBeReferred": true,
"code": "very-right-record-real-president",
"combinedRewardAmount": 69,
"isUsageAtCapacity": true,
"loyaltyPointsBonus": 10,
"maxRecurrence": 32,
"referralDisplayUrl": "huge-let-note-answer-bed",
"referralUrl": "behind-spring-and-million-since",
"referredRewardAmount": 3,
"referrerGivenName": "Stephanie",
"referrerRewardAmount": 40,
"schemeType": "letter-reveal-coach-card-no"
}
}
}
domesticJoiningRewardScheme
Type: ReferralSchemeType
URL: https://api.oeit-kraken.energy/v1/graphql/
Return a joining reward scheme with the given code, if it's active. A joining reward can be a signup reward or a promotional reward.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Reward code for the scheme. |
Query
query DomesticJoiningRewardScheme($code: String!) {
domesticJoiningRewardScheme(code: $code) {
canBeReferred
code
combinedRewardAmount
isUsageAtCapacity
loyaltyPointsBonus
maxRecurrence
referralDisplayUrl
referralUrl
referredRewardAmount
referrerGivenName
referrerRewardAmount
schemeType
}
}
Variables
{
"code": "step-side-PM-yeah-sort"
}
Response
{
"data": {
"domesticJoiningRewardScheme": {
"canBeReferred": true,
"code": "network-recognize-recognize-space-many",
"combinedRewardAmount": 36,
"isUsageAtCapacity": true,
"loyaltyPointsBonus": 47,
"maxRecurrence": 20,
"referralDisplayUrl": "else-evidence-compare-return-base",
"referralUrl": "guess-up-election-edge-his",
"referredRewardAmount": 73,
"referrerGivenName": "Taylor",
"referrerRewardAmount": 20,
"schemeType": "west-where-difficult-audience-often"
}
}
}
domesticSignupRewardScheme
Type: ReferralSchemeType
URL: https://api.oeit-kraken.energy/v1/graphql/
Return a signup referral reward scheme with the given code, if it's active.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Reward code for the scheme. |
Query
query DomesticSignupRewardScheme($code: String!) {
domesticSignupRewardScheme(code: $code) {
canBeReferred
code
combinedRewardAmount
isUsageAtCapacity
loyaltyPointsBonus
maxRecurrence
referralDisplayUrl
referralUrl
referredRewardAmount
referrerGivenName
referrerRewardAmount
schemeType
}
}
Variables
{
"code": "peace-myself-respond-dream-cause"
}
Response
{
"data": {
"domesticSignupRewardScheme": {
"canBeReferred": true,
"code": "leave-represent-bar-various-check",
"combinedRewardAmount": 86,
"isUsageAtCapacity": true,
"loyaltyPointsBonus": 8,
"maxRecurrence": 4,
"referralDisplayUrl": "second-him-radio-opportunity-can",
"referralUrl": "Mrs-avoid-drop-high-experience",
"referredRewardAmount": 85,
"referrerGivenName": "Jennifer",
"referrerRewardAmount": 51,
"schemeType": "ground-stuff-different-remember-girl"
}
}
}
electricitySupplyPoint
Type: ElectricitySupplyPointType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get information about a supply point by ID.
Query Complexity: 1
Possible Errors:
- KT-CT-4719: No supply point found for identifier provided.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
Arguments
| Name | Description |
|---|---|
|
The ID of the supply point to obtain information for. |
Query
query ElectricitySupplyPoint($id: ID!) {
electricitySupplyPoint(id: $id) {
address {
...AddressTypeFragment
}
agreements {
...AgreementConnectionTypeConnectionFragment
}
cancellationReason
distributorPhoneNumber
enrolmentStartDate
enrolmentStatus
id
isSmartMeter
pod
product {
...ElectricityProductTypeFragment
}
status
supplyStartDate
}
}
Variables
{
"id": "22030616"
}
Response
{
"data": {
"electricitySupplyPoint": {
"address": AddressType,
"agreements": AgreementConnectionTypeConnection,
"cancellationReason": "CUSTOMER_CHANGED_MIND",
"distributorPhoneNumber": "remember-plan-really-under-everyone",
"enrolmentStartDate": "2014-04-27",
"enrolmentStatus": "SWITCH_REQUEST_RECEIVED",
"id": "64370264",
"isSmartMeter": true,
"pod": "care-see-five-wonder-north",
"product": ElectricityProductType,
"status": "thus-or-decide-visit-list",
"supplyStartDate": "2007-06-15"
}
}
}
electricVehicles
Type: [ElectricVehicleType]
URL: https://api.oeit-kraken.energy/v1/graphql/
All electric vehicle types and their details.
Query Complexity: 1
Possible Errors:
- KT-CT-4343: Unable to fetch electric vehicles list for make.
- KT-CT-4344: Make is not supported by provider.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
(No)
Deprecated
The 'electricVehicles' field is deprecated.
Please use 'flexSupportedDevices' instead.
- Marked as deprecated on 2026-04-15.
- Scheduled for removal on or after 2026-10-15.
Arguments
| Name | Description |
|---|---|
|
Only return vehicles that are currently integrated. |
|
Only return vehicle types for the specified make. |
|
Only return vehicle types supported by the specified provider, e.g. Tesla. |
Query
query ElectricVehicles(
$isIntegrationLive: Boolean,
$make: String,
$supportedProvider: ProviderChoices
) {
electricVehicles(
isIntegrationLive: $isIntegrationLive,
make: $make,
supportedProvider: $supportedProvider
) {
make
models {
...ElectricVehicleModelTypeFragment
}
}
}
Variables
{
"isIntegrationLive": true,
"make": "card-kind-hair-section-agreement",
"supportedProvider": "BYD"
}
Response
{
"data": {
"electricVehicles": [
{
"make": "firm-seek-thought-American-open",
"models": [ElectricVehicleModelType]
}
]
}
}
eligibilityToJoinLoyaltyPointsProgram
Type: LoyaltyPointsProgramEligibilityType
URL: https://api.oeit-kraken.energy/v1/graphql/
Check if an account is eligible to join the loyalty points program.
Query Complexity: 1
Possible Errors:
- KT-CT-9202: Loyalty Points adapter not configured.
- KT-CT-9218: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query loyalty enrollment eligibility
Arguments
| Name | Description |
|---|---|
Query
query EligibilityToJoinLoyaltyPointsProgram($input: LoyaltyPointsProgramEligibilityInput!) {
eligibilityToJoinLoyaltyPointsProgram(input: $input) {
isEligible
primaryIneligibilityReason
}
}
Variables
{
"input": LoyaltyPointsProgramEligibilityInput
}
Response
{
"data": {
"eligibilityToJoinLoyaltyPointsProgram": {
"isEligible": true,
"primaryIneligibilityReason": "professional-their-interesting-win-culture"
}
}
}
eligibleDeviceTypes
Type: [KrakenFlexDeviceTypes]
URL: https://api.oeit-kraken.energy/v1/graphql/
A list of device types that are eligible for registration.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can view smartflex data
Arguments
| Name | Description |
|---|---|
|
The account number, e.g. A-12345678. |
|
|
Query
query EligibleDeviceTypes(
$accountNumber: String!,
$propertyId: Int
) {
eligibleDeviceTypes(
accountNumber: $accountNumber,
propertyId: $propertyId
)
}
Variables
{
"accountNumber": "A-3A657199",
"propertyId": 25403177
}
Response
{
"data": {
"eligibleDeviceTypes": "BATTERIES"
}
}
embeddedNetwork
Type: EmbeddedNetworkType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get details about an embedded network.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query embedded network
Arguments
| Name | Description |
|---|---|
|
Query
query EmbeddedNetwork($id: ID!) {
embeddedNetwork(id: $id) {
embeddedProperties {
...EmbeddedPropertyTypeFragment
}
id
name
}
}
Variables
{
"id": "88845100"
}
Response
{
"data": {
"embeddedNetwork": {
"embeddedProperties": [EmbeddedPropertyType],
"id": "27454411",
"name": "wind-media-return-learn-sit"
}
}
}
estimateMeterReadings
Type: MeterReadingEstimationReadingConnection
URL: https://api.oeit-kraken.energy/v1/graphql/
Estimated meter readings.
Query Complexity: 3
Possible Errors:
- KT-CT-13605: No Algorithm configuration found for the provided use case configuration.
- KT-CT-6426: No supply point found for identifier provided.
- KT-CT-6427: Missing meter readings.
- KT-CT-6428: Meter Readings invalid.
- KT-CT-6429: Granularity is invalid.
- KT-CT-6430: Multiple metadata found for the provided meter and register combination.
- KT-CT-6431: No metadata found for the provided meter and register combination.
- KT-CT-6432: Extrapolate forward estimation is not configured for this territory.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can estimate meter readings
Arguments
| Name | Description |
|---|---|
|
|
|
|
|
The meter id to perform estimation on. |
|
|
|
|
|
This is the unique identifier used by the market to identify the supply point. |
|
The end of the period estimated. |
|
The start of the period estimated. |
|
The meter's register identifier. |
Query
query EstimateMeterReadings(
$after: String,
$before: String,
$deviceId: ID,
$first: Int,
$last: Int,
$marketIdentifier: ID!,
$periodEnd: DateTime!,
$periodStart: DateTime!,
$registerId: ID
) {
estimateMeterReadings(
after: $after,
before: $before,
deviceId: $deviceId,
first: $first,
last: $last,
marketIdentifier: $marketIdentifier,
periodEnd: $periodEnd,
periodStart: $periodStart,
registerId: $registerId
) {
edgeCount
edges {
...MeterReadingEstimationReadingEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"deviceId": "29439444",
"first": 10,
"last": 10,
"marketIdentifier": "61525509",
"periodEnd": "2018-09-10T08:29:44.536120+00:00",
"periodStart": "1973-01-23T20:01:55.207561+00:00",
"registerId": "24927990"
}
Response
{
"data": {
"estimateMeterReadings": {
"edgeCount": 46,
"edges": [MeterReadingEstimationReadingEdge],
"pageInfo": PageInfo,
"totalCount": 2
}
}
}
externalAccountEvents
Type: ExternalAccountEventConnectionTypeConnection
URL: https://api.oeit-kraken.energy/v1/graphql/
Get a list of audit account events, of type external, for a given account.
Query Complexity: 1
Possible Errors:
- KT-CT-7127: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query external account events
Arguments
| Name | Description |
|---|---|
|
Account number to filter by. |
|
|
|
|
|
|
|
Query
query ExternalAccountEvents(
$accountNumber: String!,
$after: String,
$before: String,
$first: Int,
$last: Int
) {
externalAccountEvents(
accountNumber: $accountNumber,
after: $after,
before: $before,
first: $first,
last: $last
) {
edgeCount
edges {
...ExternalAccountEventConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"accountNumber": "A-8BC5BE9B",
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"first": 10,
"last": 10
}
Response
{
"data": {
"externalAccountEvents": {
"edgeCount": 11,
"edges": [ExternalAccountEventConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 43
}
}
}
flexPlannedDispatches
Type: [SmartFlexDispatch]
URL: https://api.oeit-kraken.energy/v1/graphql/
All planned device dispatches in time order.
Query Complexity: 3
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4340: Unable to fetch planned dispatches.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can view smartflex data
Rate Limits
| Key | Steps |
|---|---|
User |
['5/m'] |
Arguments
| Name | Description |
|---|---|
|
The SmartFlex device ID to get the planned dispatches for. |
Query
query FlexPlannedDispatches($deviceId: String!) {
flexPlannedDispatches(deviceId: $deviceId) {
end
energyAddedKwh
start
type
}
}
Variables
{
"deviceId": "51704867"
}
Response
{
"data": {
"flexPlannedDispatches": [
{
"end": "2012-06-23T04:24:20.320577+00:00",
"energyAddedKwh": "1.0",
"start": "2006-01-24T08:39:46.993086+00:00",
"type": "SMART"
}
]
}
}
flexSupportedDevices
Type: FlexSupportedDevices
URL: https://api.oeit-kraken.energy/v1/graphql/
Devices capable of being registered with SmartFlex.
Query Complexity: 1
Possible Errors:
- KT-CT-4342: One of `deviceType` or `supportedDeviceType` must be provided.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
Ip |
['10/m'] |
Arguments
| Name | Description |
|---|---|
|
The device type to get the supported devices for. Deprecated: use |
|
The device type to get the supported devices for, including charge points. Exactly one of |
Query
query FlexSupportedDevices($supportedDeviceType: FlexSupportedDeviceTypes) {
flexSupportedDevices(supportedDeviceType: $supportedDeviceType) {
deviceType
supportedDeviceType
supportedMakes {
...FlexSupportedMakeFragment
}
}
}
Variables
{
"supportedDeviceType": "CHARGE_POINTS"
}
Response
{
"data": {
"flexSupportedDevices": {
"deviceType": "BATTERIES",
"supportedDeviceType": "CHARGE_POINTS",
"supportedMakes": [FlexSupportedMake]
}
}
}
fraudMeterPointChecks
Type: FraudMeterPointCheckType
URL: https://api.oeit-kraken.energy/v1/graphql/
Check if a given meter point ID is in suspicious meter point IDs list.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The meter point ID. |
Query
query FraudMeterPointChecks($meterPointId: String!) {
fraudMeterPointChecks(meterPointId: $meterPointId) {
isInSuspiciousList
meterPointId
}
}
Variables
{
"meterPointId": "45524475"
}
Response
{
"data": {
"fraudMeterPointChecks": {
"isInSuspiciousList": true,
"meterPointId": "68622729"
}
}
}
fraudRiskLevel
Type: FinancialRiskLevelType
URL: https://api.oeit-kraken.energy/v1/graphql/
Check if a given ID and type have a financial risk level.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The type of object the ID represents. |
|
The ID to be checked. |
Query
query FraudRiskLevel(
$identifierType: String!,
$identifierValue: String!
) {
fraudRiskLevel(
identifierType: $identifierType,
identifierValue: $identifierValue
) {
identifierType
identifierValue
isInRiskList
riskLevel
}
}
Variables
{
"identifierType": "head-discover-bill-middle-memory",
"identifierValue": "can-two-without-attention-about"
}
Response
{
"data": {
"fraudRiskLevel": {
"identifierType": "artist-rule-system-at-across",
"identifierValue": "82201976",
"isInRiskList": true,
"riskLevel": "1.0"
}
}
}
gasMeterReadings
Type: GasMeterReadingConnectionTypeConnection!
URL: https://api.oeit-kraken.energy/v1/graphql/
Fetch gas meter readings for a given account and supply point.
Query Complexity: 2
Possible Errors:
- KT-CT-6423: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can submit meter readings
Arguments
| Name | Description |
|---|---|
|
The account number. |
|
|
|
|
|
Start date for the readings. |
|
End date for the readings. |
|
|
|
|
|
The unique gas supply point identifier. |
|
The sources of the readings. |
|
The types of the readings. |
Query
query GasMeterReadings(
$accountNumber: String!,
$after: String,
$before: String,
$eventTypes: [MeterReadingEventType],
$first: Int,
$last: Int,
$meterId: String!,
$readFrom: DateTime,
$readTo: DateTime
) {
gasMeterReadings(
accountNumber: $accountNumber,
after: $after,
before: $before,
eventTypes: $eventTypes,
first: $first,
last: $last,
meterId: $meterId,
readFrom: $readFrom,
readTo: $readTo
) {
edgeCount
edges {
...GasMeterReadingConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"accountNumber": "A-73257E42",
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"eventTypes": "CUSTOMER",
"first": 10,
"last": 10,
"meterId": "42174285",
"readFrom": "1974-01-30T10:33:23.221636+00:00",
"readTo": "2015-01-13T00:42:11.737324+00:00"
}
Response
{
"data": {
"gasMeterReadings": {
"edgeCount": 36,
"edges": [GasMeterReadingConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 69
}
}
}
gasSupplyPoint
Type: GasSupplyPointType!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get information about a gas supply point by PDR.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The PDR of the gas supply point to obtain information for. |
Query
query GasSupplyPoint($pdr: String!) {
gasSupplyPoint(pdr: $pdr) {
address {
...AddressTypeFragment
}
agreements {
...AgreementConnectionTypeConnectionFragment
}
cancellationReason
distributorPhoneNumber
enrolmentStartDate
enrolmentStatus
id
isSmartMeter
pdr
product {
...GasProductTypeFragment
}
status
supplyStartDate
}
}
Variables
{
"pdr": "recently-while-around-while-community"
}
Response
{
"data": {
"gasSupplyPoint": {
"address": AddressType,
"agreements": AgreementConnectionTypeConnection,
"cancellationReason": "CUSTOMER_CHANGED_MIND",
"distributorPhoneNumber": "may-material-thank-themselves-who",
"enrolmentStartDate": "2023-10-01",
"enrolmentStatus": "SWITCH_REQUEST_RECEIVED",
"id": "97965083",
"isSmartMeter": true,
"pdr": "student-music-case-space-building",
"product": GasProductType,
"status": "camera-wonder-apply-second-cause",
"supplyStartDate": "2000-08-29"
}
}
}
getOnSiteJobsCheckResults
Type: OnSiteJobsCheckResultsType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get check results for creating requests and appointments.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Job type for appointment checks. |
|
Supply point identifier to market name mapping. If this is provided, |
|
List of internal IDs of supply points. If this is provided, |
Query
query GetOnSiteJobsCheckResults(
$jobType: String,
$supplyPointIdentifierToMarketNameMapping: [SupplyPointIdentifierToMarketNameMappingInput],
$supplyPointInternalIds: [Int]
) {
getOnSiteJobsCheckResults(
jobType: $jobType,
supplyPointIdentifierToMarketNameMapping: $supplyPointIdentifierToMarketNameMapping,
supplyPointInternalIds: $supplyPointInternalIds
) {
appointmentCheckResults {
...CheckResultTypeFragment
}
canCreateAppointment
canCreateRequest
hasAppointmentWarnings
hasRequestWarnings
requestCheckResults {
...CheckResultTypeFragment
}
}
}
Variables
{
"jobType": "deep-kid-pretty-own-close",
"supplyPointIdentifierToMarketNameMapping": SupplyPointIdentifierToMarketNameMappingInput,
"supplyPointInternalIds": 89
}
Response
{
"data": {
"getOnSiteJobsCheckResults": {
"appointmentCheckResults": [CheckResultType],
"canCreateAppointment": true,
"canCreateRequest": true,
"hasAppointmentWarnings": true,
"hasRequestWarnings": true,
"requestCheckResults": [CheckResultType]
}
}
}
getOnSiteJobsRequestById
Type: OnSiteJobsRequestType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get a specific request by ID.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The ID of the request to return. |
Query
query GetOnSiteJobsRequestById($requestId: UUID) {
getOnSiteJobsRequestById(requestId: $requestId) {
account
agent
appointments {
...OnSiteJobsAppointmentConnectionTypeConnectionFragment
}
assets {
...OnSiteJobsAssetConnectionTypeConnectionFragment
}
comment
createdBy
externalReference
id
isEmergency
marketSupplyPoints {
...SupplyPointConnectionTypeConnectionFragment
}
overallActionsStatus
property {
...PropertyTypeFragment
}
reason
requestActions {
...OnSiteJobsRequestActionConnectionTypeConnectionFragment
}
status
subReason
}
}
Variables
{
"requestId": "22b11cce-5979-4c61-8f25-027b7ffd30e4"
}
Response
{
"data": {
"getOnSiteJobsRequestById": {
"account": "major-memory-professor-value-prove",
"agent": "find-fish-situation-bed-full",
"appointments": OnSiteJobsAppointmentConnectionTypeConnection,
"assets": OnSiteJobsAssetConnectionTypeConnection,
"comment": "surface-energy-yard-position-follow",
"createdBy": 24,
"externalReference": "training-difficult-energy-stage-thank",
"id": "f3681a9d-6a7c-4ae2-bcd2-5089f3be7284",
"isEmergency": true,
"marketSupplyPoints": SupplyPointConnectionTypeConnection,
"overallActionsStatus": "PENDING",
"property": PropertyType,
"reason": "activity-class-fact-break-issue",
"requestActions": OnSiteJobsRequestActionConnectionTypeConnection,
"status": "COMPLETED",
"subReason": "party-everything-should-rest-management"
}
}
}
getOnSiteJobsRequests
Type: OnSiteJobsRequestConnectionTypeConnection
URL: https://api.oeit-kraken.energy/v1/graphql/
Filter On-Site Jobs Requests.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
A list of account numbers to filter requests by. |
|
|
|
|
|
|
|
|
|
A list of statuses to filter requests by. |
|
List of internal IDs of supply points to filter requests by. If this is provided, |
|
A list of supply point identifiers to filter requests by. If this is provided, |
Query
query GetOnSiteJobsRequests(
$accountNumbers: [NonEmptyString!],
$after: String,
$before: String,
$first: Int,
$last: Int,
$statuses: [OnSiteJobsRequestStatus],
$supplyPointInternalIds: [Int],
$supplyPointsToMarketNamesMapping: [SupplyPointIdentifierToMarketNameMappingInput]
) {
getOnSiteJobsRequests(
accountNumbers: $accountNumbers,
after: $after,
before: $before,
first: $first,
last: $last,
statuses: $statuses,
supplyPointInternalIds: $supplyPointInternalIds,
supplyPointsToMarketNamesMapping: $supplyPointsToMarketNamesMapping
) {
edgeCount
edges {
...OnSiteJobsRequestConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"accountNumbers": "example-eight-common-central-behind",
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"first": 10,
"last": 10,
"statuses": "COMPLETED",
"supplyPointInternalIds": 46,
"supplyPointsToMarketNamesMapping": SupplyPointIdentifierToMarketNameMappingInput
}
Response
{
"data": {
"getOnSiteJobsRequests": {
"edgeCount": 67,
"edges": [OnSiteJobsRequestConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 96
}
}
}
goodsProducts
Type: GoodsProductConnectionTypeConnection
URL: https://api.oeit-kraken.energy/v1/graphql/
List Goods products given a market.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
|
|
|
|
Code of the products to filter by. |
|
|
|
|
|
Market name of the products to list. |
|
Types of the products to filter by. |
Query
query GoodsProducts(
$after: String,
$before: String,
$code: [String],
$first: Int,
$last: Int,
$marketName: String!,
$productType: [String]
) {
goodsProducts(
after: $after,
before: $before,
code: $code,
first: $first,
last: $last,
marketName: $marketName,
productType: $productType
) {
edgeCount
edges {
...GoodsProductConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"code": "remain-huge-history-right-store",
"first": 10,
"last": 10,
"marketName": "late-order-health-subject-happy",
"productType": "good-down-population-national-surface"
}
Response
{
"data": {
"goodsProducts": {
"edgeCount": 57,
"edges": [GoodsProductConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 98
}
}
}
goodsPurchases
Type: [GoodsPurchase]
URL: https://api.oeit-kraken.energy/v1/graphql/
List purchases for an account.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The account number. |
Query
query GoodsPurchases($accountNumber: String!) {
goodsPurchases(accountNumber: $accountNumber) {
clientParams
code
goodsGrants {
...GoodsGrantFragment
}
goodsSaleItems {
...GoodsSaleItemFragment
}
ledgerNumber
marketName
marketParams
}
}
Variables
{
"accountNumber": "A-B01DAF96"
}
Response
{
"data": {
"goodsPurchases": [
{
"clientParams": {"key": "value"},
"code": "the-crime-care-us-and",
"goodsGrants": [GoodsGrant],
"goodsSaleItems": [GoodsSaleItem],
"ledgerNumber": "hair-front-space-notice-long",
"marketName": "office-this-participant-know-clear",
"marketParams": {"key": "value"}
}
]
}
}
goodsQuotes
Type: [GoodsQuote]
URL: https://api.oeit-kraken.energy/v1/graphql/
List quotes given an account number or retrieve a Goods quote given a quote code.
Query Complexity: 1
Possible Errors:
- KT-CT-8201: Received an invalid quoteId.
- KT-CT-8204: Invalid arguments.
- KT-CT-8223: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The account number. |
|
The quote code. |
Query
query GoodsQuotes(
$accountNumber: String,
$quoteCode: String
) {
goodsQuotes(
accountNumber: $accountNumber,
quoteCode: $quoteCode
) {
code
goodsQuotedProducts {
...GoodsQuotedProductFragment
}
hasQuoteExpired
id
quotedAt
totalNetAmount
}
}
Variables
{
"accountNumber": "A-8A51A050",
"quoteCode": "decade-hundred-letter-fire-catch"
}
Response
{
"data": {
"goodsQuotes": [
{
"code": "college-capital-south-score-morning",
"goodsQuotedProducts": [GoodsQuotedProduct],
"hasQuoteExpired": true,
"id": "41440912",
"quotedAt": "2001-04-21T10:41:26.083939+00:00",
"totalNetAmount": 55
}
]
}
}
inboundCallAverageWaitTime
Type: InboundCallAverageWaitTimeType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the average wait time for an inbound call.
Query Complexity: 2
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query calls
Query
query InboundCallAverageWaitTime {
inboundCallAverageWaitTime {
recent
yesterday
}
}
Response
{
"data": {
"inboundCallAverageWaitTime": {
"recent": 55,
"yesterday": 49
}
}
}
inboundCallAverageWaitTimeForAttributes
Type: InboundCallAverageWaitTimeForAttributesType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the average wait time for inbound calls with the given routing attributes. Note that calls with more attributes than those given will be included.
Query Complexity: 2
Possible Errors:
- KT-CT-11821: No calls found matching the given routing attributes.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query calls
Arguments
| Name | Description |
|---|---|
|
Routing attribute references to filter calls by. Calls must have all of the given attributes to be included. |
Query
query InboundCallAverageWaitTimeForAttributes($attributes: [String]!) {
inboundCallAverageWaitTimeForAttributes(attributes: $attributes) {
recent
yesterday
}
}
Variables
{
"attributes": "require-mention-condition-thought-last"
}
Response
{
"data": {
"inboundCallAverageWaitTimeForAttributes": {
"recent": 69,
"yesterday": 57
}
}
}
inkCommsTemplate
Type: String!
URL: https://api.oeit-kraken.energy/v1/graphql/
Fetch the content of a given comms template name.
Query Complexity: 1
Possible Errors:
- KT-CT-7648: The comms template was not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query ink messages
Arguments
| Name | Description |
|---|---|
|
The identifier of the comms template. |
Query
query InkCommsTemplate($templateIdentifier: String!) {
inkCommsTemplate(templateIdentifier: $templateIdentifier)
}
Variables
{
"templateIdentifier": "58824248"
}
Response
{
"data": {
"inkCommsTemplate": "structure-approach-reveal-best-hold"
}
}
inkConversation
Type: InkConversation!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the Ink conversation for a given account.
Query Complexity: 1
Possible Errors:
- KT-CT-4177: Unauthorized.
- KT-CT-7610: No Ink conversation for account.
- KT-CT-7612: The Ink conversation was not found.
- KT-CT-7617: Must supply account number or relay id to get a conversation.
- KT-CT-7638: Invalid conversation ID.
- KT-CT-7658: Unauthorized to access this conversation.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can query ink conversations
Arguments
| Name | Description |
|---|---|
|
The account number. |
|
The conversation's relay id. |
Query
query InkConversation(
$accountNumber: String,
$conversationRelayId: String
) {
inkConversation(
accountNumber: $accountNumber,
conversationRelayId: $conversationRelayId
) {
accountNumber
accountUsers {
...AccountUserTypeFragment
}
buckets {
...InkBucketFragment
}
contactChannelIdentities {
...InkContactChannelIdentitiesFragment
}
events {
...InkConversationEventsConnectionFragment
}
id
lastMessageAt
status
tags {
...InkTagFragment
}
}
}
Variables
{
"accountNumber": "A-644F1EDB",
"conversationRelayId": "69510459"
}
Response
{
"data": {
"inkConversation": {
"accountNumber": "A-21EDABA0",
"accountUsers": [AccountUserType],
"buckets": [InkBucket],
"contactChannelIdentities": InkContactChannelIdentities,
"events": InkConversationEventsConnection,
"id": "63306401",
"lastMessageAt": "1980-04-11T05:28:45.032443+00:00",
"status": "OPEN",
"tags": [InkTag]
}
}
}
inkLiveChatConversations
Type: InkConversationsConnection!
URL: https://api.oeit-kraken.energy/v1/graphql/
Returns a list of paginated conversations associated with the user.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query ink conversations
Arguments
| Name | Description |
|---|---|
|
|
|
|
|
|
|
|
|
Filter by conversation's status. |
Query
query InkLiveChatConversations(
$after: String,
$before: String,
$first: Int,
$last: Int,
$status: String
) {
inkLiveChatConversations(
after: $after,
before: $before,
first: $first,
last: $last,
status: $status
) {
edges {
...InkConversationsEdgeFragment
}
pageInfo {
...PageInfoFragment
}
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"first": 10,
"last": 10,
"status": "large-table-already-create-wish"
}
Response
{
"data": {
"inkLiveChatConversations": {
"edges": [InkConversationsEdge],
"pageInfo": PageInfo
}
}
}
inkMessage
Type: InkMessage!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the content for a given message.
Query Complexity: 1
Possible Errors:
- KT-CT-7611: The message was not found.
- KT-CT-7638: Invalid conversation ID.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query ink messages
Arguments
| Name | Description |
|---|---|
|
The message's relay id. |
Query
query InkMessage($messageRelayId: String!) {
inkMessage(messageRelayId: $messageRelayId) {
... on InkEmail {
...InkEmailFragment
}
... on InkGenericMessage {
...InkGenericMessageFragment
}
... on InkLine {
...InkLineFragment
}
... on InkLiveChatMessage {
...InkLiveChatMessageFragment
}
... on InkPost {
...InkPostFragment
}
... on InkSMS {
...InkSMSFragment
}
... on InkTwilioWhatsApp {
...InkTwilioWhatsAppFragment
}
... on InkWhatsApp {
...InkWhatsAppFragment
}
}
}
Variables
{
"messageRelayId": "70393464"
}
Response
{
"data": {
"inkMessage": InkEmail
}
}
inkMessageAttributes
Type: InkMessageAttributes!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get attributes of a message at time of query.
Query Complexity: 1
Possible Errors:
- KT-CT-7611: The message was not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query ink messages
Arguments
| Name | Description |
|---|---|
|
The message's vendor. |
|
The message's vendor id. |
Query
query InkMessageAttributes(
$vendor: String!,
$vendorId: String!
) {
inkMessageAttributes(
vendor: $vendor,
vendorId: $vendorId
) {
accounts
accountType
buckets
conversationId
hourOccurredAt
hoursWaiting
isAssignedToUserBucket
isFirstFromContact
isNewThread
opsTeam
recentlyReceivedAutoReplies
replyToCommsSms
weekDayOccurredAt
}
}
Variables
{
"vendor": "major-fact-give-series-success",
"vendorId": "46679670"
}
Response
{
"data": {
"inkMessageAttributes": {
"accounts": "Congress-simply-news-sometimes-assume",
"accountType": "up-discover-sure-kid-threat",
"buckets": "big-approach-life-us-let",
"conversationId": 78111718,
"hourOccurredAt": 13,
"hoursWaiting": 22,
"isAssignedToUserBucket": true,
"isFirstFromContact": true,
"isNewThread": true,
"opsTeam": "husband-tend-third-party-task",
"recentlyReceivedAutoReplies": "measure-floor-glass-case-cover",
"replyToCommsSms": "skin-work-thought-power-choose",
"weekDayOccurredAt": 90
}
}
}
inkMessageTextContent
Type: String!
URL: https://api.oeit-kraken.energy/v1/graphql/
Fetch the text content of a given message.
Query Complexity: 1
Possible Errors:
- KT-CT-7611: The message was not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query ink message text content
Arguments
| Name | Description |
|---|---|
|
The message's id or relay id. |
Query
query InkMessageTextContent($messageId: ID!) {
inkMessageTextContent(messageId: $messageId)
}
Variables
{
"messageId": "23817934"
}
Response
{
"data": {
"inkMessageTextContent": "interesting-law-writer-nice-visit"
}
}
internalCompanies
Type: InternalCompanyConnectionTypeConnection
URL: https://api.oeit-kraken.energy/v1/graphql/
Get all internal companies.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query internal companies
Query
query InternalCompanies(
$after: String,
$before: String,
$first: Int,
$last: Int
) {
internalCompanies(
after: $after,
before: $before,
first: $first,
last: $last
) {
edgeCount
edges {
...InternalCompanyConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"first": 10,
"last": 10
}
Response
{
"data": {
"internalCompanies": {
"edgeCount": 51,
"edges": [InternalCompanyConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 2
}
}
}
internalCompany
Type: InternalCompanyType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get an internal company by a set of criteria. Criteria will be added as needed, check documentation for the criteria object to see what is currently supported.
Query Complexity: 1
Possible Errors:
- KT-CT-14401: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query internal companies
Arguments
| Name | Description |
|---|---|
|
Criteria to identify the internal company. |
Query
query InternalCompany($criteria: SearchCriteriaInput!) {
internalCompany(criteria: $criteria) {
displayableNumber
id
legalAddress {
...RichAddressTypeFragment
}
name
primaryRegistrationNumber
primaryTaxIdentifierNumber
secondaryRegistrationNumber
}
}
Variables
{
"criteria": SearchCriteriaInput
}
Response
{
"data": {
"internalCompany": {
"displayableNumber": "hold-respond-feeling-Republican-poor",
"id": "61937516",
"legalAddress": RichAddressType,
"name": "finish-send-company-majority-knowledge",
"primaryRegistrationNumber": "learn-Mrs-movie-first-station",
"primaryTaxIdentifierNumber": "week-next-player-rich-floor",
"secondaryRegistrationNumber": "or-leg-machine-hour-movie"
}
}
}
isCustomerEligibleToGiveFeedbackFollowingCall
Type: Boolean
URL: https://api.oeit-kraken.energy/v1/graphql/
Check if customer is eligible to give feedback following a phone call.
Query Complexity: 1
Possible Errors:
- KT-CT-5519: Voice call not found.
- KT-CT-5521: Eligibility configuration not found.
- KT-CT-5522: Invalid eligibility configuration.
- KT-CT-5523: Invalid account or account user.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can check customer feedback eligibility
Arguments
| Name | Description |
|---|---|
|
Number of the account. |
|
Number of the account user. |
|
ID of the voice call. |
Query
query IsCustomerEligibleToGiveFeedbackFollowingCall(
$accountNumber: String!,
$accountUserNumber: String!,
$callId: Int!
) {
isCustomerEligibleToGiveFeedbackFollowingCall(
accountNumber: $accountNumber,
accountUserNumber: $accountUserNumber,
callId: $callId
)
}
Variables
{
"accountNumber": "A-C49A989E",
"accountUserNumber": "U-E7115457",
"callId": 39277551
}
Response
{
"data": {
"isCustomerEligibleToGiveFeedbackFollowingCall": true
}
}
isCustomerEligibleToGiveFeedbackFollowingEmail
Type: Boolean
URL: https://api.oeit-kraken.energy/v1/graphql/
Check if customer is eligible to give feedback following an email conversation.
Query Complexity: 1
Possible Errors:
- KT-CT-5520: Ink conversation not found.
- KT-CT-5521: Eligibility configuration not found.
- KT-CT-5522: Invalid eligibility configuration.
- KT-CT-5523: Invalid account or account user.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can check customer feedback eligibility
Arguments
| Name | Description |
|---|---|
|
Number of the account. |
|
Number of the account user. |
|
Datetime when the conversation was closed. |
|
ID of the Ink conversation. |
Query
query IsCustomerEligibleToGiveFeedbackFollowingEmail(
$accountNumber: String!,
$accountUserNumber: String!,
$conversationClosedAt: DateTime!,
$inkConversationId: Int!
) {
isCustomerEligibleToGiveFeedbackFollowingEmail(
accountNumber: $accountNumber,
accountUserNumber: $accountUserNumber,
conversationClosedAt: $conversationClosedAt,
inkConversationId: $inkConversationId
)
}
Variables
{
"accountNumber": "A-B3DF8B55",
"accountUserNumber": "U-CC76B72D",
"conversationClosedAt": "1979-05-19T05:32:00.060201+00:00",
"inkConversationId": 82015682
}
Response
{
"data": {
"isCustomerEligibleToGiveFeedbackFollowingEmail": true
}
}
isPasswordResetTokenValid
Type: Boolean
URL: https://api.oeit-kraken.energy/v1/graphql/
Check validity of a password reset token.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
(No)
Arguments
| Name | Description |
|---|---|
|
Password reset token to check. |
|
Base64 encoded user id. |
Query
query IsPasswordResetTokenValid(
$token: String!,
$userId: String!
) {
isPasswordResetTokenValid(
token: $token,
userId: $userId
)
}
Variables
{
"token": "foreign-wall-general-gun-other",
"userId": "98674555"
}
Response
{
"data": {
"isPasswordResetTokenValid": true
}
}
joinSupplierProcess
Type: JoinSupplierProcessType
URL: https://api.oeit-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-10332: Join supplier process not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query lifecycle processes
Arguments
| Name | Description |
|---|---|
|
The join supplier process number, e.g. JS-12345678. |
Query
query JoinSupplierProcess($number: String!) {
joinSupplierProcess(number: $number) {
contractIdentifiers
currentProcessData {
...JoinSupplierProcessDataTypeFragment
}
id
ledgerAssignments {
...JoinSupplierLedgerAssignmentConnectionTypeConnectionFragment
}
number
stage
status
subtype
supplyPoints {
...SupplyPointConnectionTypeConnectionFragment
}
}
}
Variables
{
"number": "their-decide-total-year-trade"
}
Response
{
"data": {
"joinSupplierProcess": {
"contractIdentifiers": "finish-yet-his-similar-across",
"currentProcessData": JoinSupplierProcessDataType,
"id": "97419139",
"ledgerAssignments": JoinSupplierLedgerAssignmentConnectionTypeConnection,
"number": "top-whether-page-sister-style",
"stage": "develop-assume-particularly-his-represent",
"status": "PENDING",
"subtype": "family-its-space-behavior-impact",
"supplyPoints": SupplyPointConnectionTypeConnection
}
}
}
krakenVersion
Type: KrakenVersionType
URL: https://api.oeit-kraken.energy/v1/graphql/
The current version of kraken.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
Ip |
['100/m'] |
Query
query KrakenVersion {
krakenVersion {
isPinned
number
SHA
}
}
Response
{
"data": {
"krakenVersion": {
"isPinned": true,
"number": "check-move-run-would-send",
"SHA": "certain-join-my-point-red"
}
}
}
leadBlocklistValidations
Type: LeadBlockListValidationOutput
URL: https://api.oeit-kraken.energy/v1/graphql/
Run a blocklist validation out of some dynamic client entry types.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query leads
Arguments
| Name | Description |
|---|---|
|
List of client-configured black list entry types. |
Query
query LeadBlocklistValidations($blockListEntries: LeadBlockListValidationInput) {
leadBlocklistValidations(blockListEntries: $blockListEntries) {
blockListHits
valid
}
}
Variables
{
"blockListEntries": LeadBlockListValidationInput
}
Response
{
"data": {
"leadBlocklistValidations": {
"blockListHits": "wind-walk-decade-citizen-wide",
"valid": true
}
}
}
leadByNumber
Type: LeadOutput
URL: https://api.oeit-kraken.energy/v1/graphql/
Get lead details by number.
Query Complexity: 1
Possible Errors:
- KT-CT-8907: Lead not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query leads
Arguments
| Name | Description |
|---|---|
|
Lead number. |
Query
query LeadByNumber($number: String) {
leadByNumber(number: $number) {
accountNumber
billingAddress {
...AddressOutputFragment
}
billingName
billingRichAddress {
...RichAddressTypeFragment
}
brand
consents {
...ConsentOutputFragment
}
email
extraDetailItems {
...ExtraDetailFragment
}
familyName
funnel {
...SalesFunnelFragment
}
givenName
leadId
leadType
nationalId
number
phoneNumber
stage
}
}
Variables
{
"number": "civil-why-build-once-candidate"
}
Response
{
"data": {
"leadByNumber": {
"accountNumber": "A-E12569F6",
"billingAddress": AddressOutput,
"billingName": "card-free-soldier-reduce-fish",
"billingRichAddress": RichAddressType,
"brand": "case-grow-company-dog-market",
"consents": [ConsentOutput],
"email": "major-two-bed-mouth-north",
"extraDetailItems": [ExtraDetail],
"familyName": "Thomas",
"funnel": SalesFunnel,
"givenName": "Michael",
"leadId": "28504648",
"leadType": "evidence-science-work-himself-ahead",
"nationalId": "71979330",
"number": "thought-rest-deal-training-above",
"phoneNumber": "recent-among-standard-country-something",
"stage": "spend-sign-body-hundred-bit"
}
}
}
leads
Type: LeadsConnection
URL: https://api.oeit-kraken.energy/v1/graphql/
Fetch all leads for this Kraken, with optional filtering.
Query Complexity: 3
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query leads
Arguments
| Name | Description |
|---|---|
|
|
|
|
|
|
|
Input fields for retrieving leads. |
|
|
|
Query
query Leads(
$after: String,
$before: String,
$first: Int,
$input: LeadsQueryInput,
$last: Int,
$offset: Int
) {
leads(
after: $after,
before: $before,
first: $first,
input: $input,
last: $last,
offset: $offset
) {
edgeCount
edges {
...LeadsEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"first": 10,
"input": LeadsQueryInput,
"last": 10,
"offset": 92
}
leaveSupplierProcess
Type: LeaveSupplierProcessType
URL: https://api.oeit-kraken.energy/v1/graphql/
Details associated with a LeaveSupplier process.
Query Complexity: 1
Possible Errors:
- KT-CT-10302: Invalid data.
- KT-CT-10333: Missing either number of leave supplier process id.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access third party queries
OR Can query lifecycle processes
Arguments
| Name | Description |
|---|---|
|
The leave supplier process ID. |
|
The leave supplier process number, e.g. LS-12345678. |
Query
query LeaveSupplierProcess($number: String) {
leaveSupplierProcess(number: $number) {
id
number
stage
status
subtype
supplyPoints {
...SupplyPointConnectionTypeConnectionFragment
}
}
}
Variables
{
"number": "report-lot-exactly-issue-possible"
}
Response
{
"data": {
"leaveSupplierProcess": {
"id": "61500189",
"number": "in-happy-near-day-assume",
"stage": "draw-again-prove-lead-pattern",
"status": "PENDING",
"subtype": "nothing-approach-spring-standard-account",
"supplyPoints": SupplyPointConnectionTypeConnection
}
}
}
legacyOrderDetails
Type: LegacyOrderDetailsType
URL: https://api.oeit-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-13101: Order not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Order identifier. |
Query
query LegacyOrderDetails($identifier: String!) {
legacyOrderDetails(identifier: $identifier) {
order {
...LegacyOrderTypeFragment
}
resources {
...LegacyOrderResourceFragment
}
status
}
}
Variables
{
"identifier": "67738494"
}
Response
{
"data": {
"legacyOrderDetails": {
"order": LegacyOrderType,
"resources": [LegacyOrderResource],
"status": "PENDING"
}
}
}
lifecycleProcesses
Type: LifecycleProcessesType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get all lifecycle processes associated with an account.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query lifecycle processes
Arguments
| Name | Description |
|---|---|
|
The account number, e.g. A-12345678. |
|
A flag to filter out only active/current processes. |
|
The chronological order in which the lifecycle processes are sorted. |
Query
query LifecycleProcesses(
$accountNumber: String!,
$onlyActive: Boolean,
$sortOrder: LifecycleProcessesSortOrder
) {
lifecycleProcesses(
accountNumber: $accountNumber,
onlyActive: $onlyActive,
sortOrder: $sortOrder
) {
joinSupplierProcesses {
...JoinSupplierProcessConnectionTypeConnectionFragment
}
leavePropertyProcesses {
...LeavePropertyProcessConnectionTypeConnectionFragment
}
leaveSupplierProcesses {
...LeaveSupplierProcessConnectionTypeConnectionFragment
}
occupyPropertyProcesses {
...OccupyPropertyProcessConnectionTypeConnectionFragment
}
}
}
Variables
{
"accountNumber": "A-4FD3CFD5",
"onlyActive": true,
"sortOrder": "ASC"
}
Response
{
"data": {
"lifecycleProcesses": {
"joinSupplierProcesses": JoinSupplierProcessConnectionTypeConnection,
"leavePropertyProcesses": LeavePropertyProcessConnectionTypeConnection,
"leaveSupplierProcesses": LeaveSupplierProcessConnectionTypeConnection,
"occupyPropertyProcesses": OccupyPropertyProcessConnectionTypeConnection
}
}
}
livePaymentAdequacyCalculation
Type: LivePaymentAdequacyCalculation
URL: https://api.oeit-kraken.energy/v1/graphql/
Get payment adequacy data with an up to date calculation.
Query Complexity: 6
Possible Errors:
- KT-CT-3963: Could not calculate live PA data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Kraken ledger number. |
Query
query LivePaymentAdequacyCalculation($ledgerNumber: String!) {
livePaymentAdequacyCalculation(ledgerNumber: $ledgerNumber) {
averageMonthlyCharge
balanceAdjustment
consumption {
...ConsumptionBreakdownConnectionTypeConnectionFragment
}
currentBalance
existingMonthlyAmount
reviewedOn
suggestedNewMonthlyAmount
targetBalance
}
}
Variables
{
"ledgerNumber": "section-media-can-try-hair"
}
Response
{
"data": {
"livePaymentAdequacyCalculation": {
"averageMonthlyCharge": 8,
"balanceAdjustment": 45,
"consumption": ConsumptionBreakdownConnectionTypeConnection,
"currentBalance": 16,
"existingMonthlyAmount": 32,
"reviewedOn": "2005-11-22",
"suggestedNewMonthlyAmount": 16,
"targetBalance": 56
}
}
}
loyaltyCards
Type: [LoyaltyCardType]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get all loyalty cards for the given account user.
Query Complexity: 1
Possible Errors:
- KT-CT-5412: No account user exists with the given id.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Account user id. |
Query
query LoyaltyCards($accountUserId: String!) {
loyaltyCards(accountUserId: $accountUserId) {
id
number
scheme
status
}
}
Variables
{
"accountUserId": "29963399"
}
Response
{
"data": {
"loyaltyCards": [
{
"id": "12560462",
"number": "half-character-agent-point-low",
"scheme": "seek-woman-operation-begin-name",
"status": "may-campaign-summer-religious-hour"
}
]
}
}
loyaltyPointLedgerEntry
Type: LoyaltyPointLedgerEntryType
URL: https://api.oeit-kraken.energy/v1/graphql/
Resolve a loyalty point ledger entry.
Query Complexity: 1
Possible Errors:
- KT-CT-9215: Loyalty points balance query disabled.
- KT-CT-9223: Loyalty points ledger entry not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query loyalty points ledger entry
Arguments
| Name | Description |
|---|---|
|
Query
query LoyaltyPointLedgerEntry($input: LoyaltyPointLedgerEntryInput!) {
loyaltyPointLedgerEntry(input: $input) {
accountNumber
balanceBroughtForward
balanceCarriedForward
id
idempotencyKey
ledgerType
postedAt
reasonCode
value
}
}
Variables
{
"input": LoyaltyPointLedgerEntryInput
}
Response
{
"data": {
"loyaltyPointLedgerEntry": {
"accountNumber": "A-1E9CE1FE",
"balanceBroughtForward": "own-week-drop-young-here",
"balanceCarriedForward": "strategy-fish-bring-decision-particularly",
"id": "59568414",
"idempotencyKey": "1b0ff6a7-5adb-4712-989e-f42a1ab71ac3",
"ledgerType": "third-cultural-ready-opportunity-about",
"postedAt": "1994-05-21T01:30:36.442595+00:00",
"reasonCode": "who-before-maintain-artist-investment",
"value": "fear-physical-prove-ahead-training"
}
}
}
loyaltyPointLedgers
Type: [LoyaltyPointLedgerEntryType]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the Loyalty Point ledger entries for the passed user.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query loyalty points ledger entry
Arguments
| Name | Description |
|---|---|
|
The input object for retrieving a loyalty point ledger entry. |
Query
query LoyaltyPointLedgers($input: LoyaltyPointLedgersInput) {
loyaltyPointLedgers(input: $input) {
accountNumber
balanceBroughtForward
balanceCarriedForward
id
idempotencyKey
ledgerType
postedAt
reasonCode
value
}
}
Variables
{
"input": LoyaltyPointLedgersInput
}
Response
{
"data": {
"loyaltyPointLedgers": [
{
"accountNumber": "A-DA5E661A",
"balanceBroughtForward": "long-despite-training-thank-simple",
"balanceCarriedForward": "we-kid-area-message-seat",
"id": "68783095",
"idempotencyKey": "97041641-95cd-4c5a-8bb3-3fcc749e828f",
"ledgerType": "consumer-member-probably-service-project",
"postedAt": "1993-05-13T19:20:20.997507+00:00",
"reasonCode": "rate-others-local-piece-fill",
"value": "as-challenge-win-throughout-still"
}
]
}
}
loyaltyPointsBalance
Type: AccountLoyaltyPointsType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the loyalty points balance for an account.
Query Complexity: 1
Possible Errors:
- KT-CT-9215: Loyalty points balance query disabled.
- KT-CT-9216: Unauthorized.
- KT-CT-9217: Unauthorized.
- KT-CT-9218: Unauthorized.
- KT-CT-9222: Loyalty points balance query requires either accountNumber field (deprecated) or input object (preferred) with account number and optional account user id.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query loyalty points balance
Arguments
| Name | Description |
|---|---|
|
The account number. |
|
Query
query LoyaltyPointsBalance($input: LoyaltyPointsBalanceInput) {
loyaltyPointsBalance(input: $input) {
loyaltyPoints
totalMonetaryAmount
}
}
Variables
{
"input": LoyaltyPointsBalanceInput
}
Response
{
"data": {
"loyaltyPointsBalance": {
"loyaltyPoints": 34,
"totalMonetaryAmount": 40
}
}
}
message
Type: Message!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the details of a transactional message with a given external ID.
Query Complexity: 1
Possible Errors:
- KT-CT-9911: Message not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The ID of the transactional message. |
Query
query Message($messageId: ID!) {
message(messageId: $messageId) {
account {
...AccountTypeFragment
}
accountUser {
...AccountUserTypeFragment
}
channel
dispatchedAt
failedAt
id
}
}
Variables
{
"messageId": "51900883"
}
Response
{
"data": {
"message": {
"account": AccountType,
"accountUser": AccountUserType,
"channel": "EMAIL",
"dispatchedAt": "1984-10-27T20:34:41.015242+00:00",
"failedAt": "2014-10-12T01:05:04.583799+00:00",
"id": "49079677"
}
}
}
metadata
Type: [Metadata]
URL: https://api.oeit-kraken.energy/v1/graphql/
Metadata for a linked object.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
- KT-CT-4124: Unauthorized.
- KT-CT-4177: Unauthorized.
- KT-CT-6622: Unauthorized.
- KT-CT-6637: Unauthorized.
- KT-CT-8411: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can query metadata
Arguments
| Name | Description |
|---|---|
|
|
|
Query
query Metadata(
$identifier: String!,
$linkedObjectType: LinkedObjectType
) {
metadata(
identifier: $identifier,
linkedObjectType: $linkedObjectType
) {
key
value
}
}
Variables
{
"identifier": "37990624",
"linkedObjectType": "ACCOUNT"
}
Response
{
"data": {
"metadata": [
{
"key": "sometimes-ready-herself-alone-should",
"value": {"key": "value"}
}
]
}
}
metadataForKey
Type: Metadata
URL: https://api.oeit-kraken.energy/v1/graphql/
Metadata for a linked object with key.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
- KT-CT-4124: Unauthorized.
- KT-CT-4155: Invalid data.
- KT-CT-4177: Unauthorized.
- KT-CT-4179: No metadata found with given key.
- KT-CT-6622: Unauthorized.
- KT-CT-6637: Unauthorized.
- KT-CT-8411: Invalid data.
- KT-CT-8416: No metadata found with given key.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can query metadata
Arguments
| Name | Description |
|---|---|
|
|
|
|
|
Query
query MetadataForKey(
$identifier: String!,
$key: String!,
$linkedObjectType: LinkedObjectType
) {
metadataForKey(
identifier: $identifier,
key: $key,
linkedObjectType: $linkedObjectType
) {
key
value
}
}
Variables
{
"identifier": "71345735",
"key": "movement-agency-discuss-manage-between",
"linkedObjectType": "ACCOUNT"
}
Response
{
"data": {
"metadataForKey": {
"key": "fast-person-cut-free-eat",
"value": {"key": "value"}
}
}
}
mfaDevices
Type: [MfaDevice]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get all MFA devices for the current user.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Query
query MfaDevices {
mfaDevices {
deviceType
isConfirmed
}
}
Response
{
"data": {
"mfaDevices": [
{
"deviceType": "person-hundred-will-student-agency",
"isConfirmed": true
}
]
}
}
municipalities
Type: [Municipality]
URL: https://api.oeit-kraken.energy/v1/graphql/
List of Italian municipalities.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
(No)
Query
query Municipalities {
municipalities {
value
}
}
Response
{
"data": {
"municipalities": [
{
"value": "bed-finally-station-risk-key"
}
]
}
}
needsInternalChangeOfOwnership
Type: Boolean!
URL: https://api.oeit-kraken.energy/v1/graphql/
Check whether a supply point should go through an internal change of ownership process or not. For gas only.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query meter point
Rate Limits
| Key | Steps |
|---|---|
Ip |
['10/m', '5/m', '1/m', '1/h'] |
Arguments
| Name | Description |
|---|---|
|
The identifier of the supply point. |
Query
query NeedsInternalChangeOfOwnership($supplyPointIdentifier: String!) {
needsInternalChangeOfOwnership(supplyPointIdentifier: $supplyPointIdentifier)
}
Variables
{
"supplyPointIdentifier": "89174198"
}
Response
{
"data": {
"needsInternalChangeOfOwnership": true
}
}
node
Type: Node
URL: https://api.oeit-kraken.energy/v1/graphql/
Represents an individual object/resource in the API.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The ID of the object |
Query
query Node($id: ID!) {
node(id: $id) {
id
}
}
Variables
{
"id": "23027180"
}
Response
{
"data": {
"node": {
"id": "59761702"
}
}
}
ocppConnection
Type: OCPPConnectionType
URL: https://api.oeit-kraken.energy/v1/graphql/
To confirm whether a device is connected to OCPP.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4311: Unable to confirm OCPP connection.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Query
query OcppConnection($accountNumber: String!) {
ocppConnection(accountNumber: $accountNumber) {
isConnected
}
}
Variables
{
"accountNumber": "A-1DA98B2B"
}
Response
{
"data": {
"ocppConnection": {
"isConnected": true
}
}
}
ocppDetails
Type: OCPPDetailsType
URL: https://api.oeit-kraken.energy/v1/graphql/
The user specific generated OCPP details.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Query
query OcppDetails($accountNumber: String!) {
ocppDetails(accountNumber: $accountNumber) {
url
username
}
}
Variables
{
"accountNumber": "A-BD59CF79"
}
Response
{
"data": {
"ocppDetails": {
"url": "citizen-knowledge-husband-both-to",
"username": "sign-return-face-worker-prepare"
}
}
}
offerForQuoting
Type: OfferType
URL: https://api.oeit-kraken.energy/v1/graphql/
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can create quoting offer group
Arguments
| Name | Description |
|---|---|
|
The identifier of the offer to query. |
Query
query OfferForQuoting($identifier: ID) {
offerForQuoting(identifier: $identifier) {
acceptedAt
createdBy {
...ActorTypeFragment
}
description
identifier
quote {
...QuoteType_Fragment
}
rejectedAt
validFrom
validTo
}
}
Variables
{
"identifier": "11994070"
}
Response
{
"data": {
"offerForQuoting": {
"acceptedAt": "1978-07-11T13:01:10.078158+00:00",
"createdBy": ActorType,
"description": "between-watch-remain-involve-western",
"identifier": "39273320",
"quote": QuoteType_,
"rejectedAt": "2001-12-23T05:30:37.494202+00:00",
"validFrom": "2015-11-14T09:53:56.757572+00:00",
"validTo": "2022-10-20T11:27:48.812181+00:00"
}
}
}
offerGroupForQuoting
Type: OfferGroupType
URL: https://api.oeit-kraken.energy/v1/graphql/
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can create quoting offer group
Arguments
| Name | Description |
|---|---|
|
The identifier of the offer group to query. |
Query
query OfferGroupForQuoting($identifier: ID) {
offerGroupForQuoting(identifier: $identifier) {
createdAt
createdBy {
...ActorTypeFragment
}
identifier
offers {
...OfferTypeFragment
}
}
}
Variables
{
"identifier": "98935369"
}
offering
Type: OfferingType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get details about a product offering.
Query Complexity: 1
Possible Errors:
- KT-CT-12001: Product catalogue offering with given identifier not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query catalog offerings
Arguments
| Name | Description |
|---|---|
|
The identifier of the offering to query. |
Query
query Offering($identifier: String) {
offering(identifier: $identifier) {
customerDescription
customerName
groups {
...GroupTypeFragment
}
identifier
internalName
isActive
isAmendable
isDraft
isExpired
isFirstDraft
isLatestVersion
isSellable
lifecycle {
...LifecycleTypeFragment
}
offeringComponents {
...OfferingComponentTypeFragment
}
productComponents {
...ProductComponentTypeFragment
}
tags {
...TagTypeFragment
}
termTemplateComponents {
...TermTemplateComponentTypeFragment
}
}
}
Variables
{
"identifier": "18515855"
}
Response
{
"data": {
"offering": {
"customerDescription": "camera-media-management-produce-item",
"customerName": "teach-easy-week-employee-identify",
"groups": [GroupType],
"identifier": "61843899",
"internalName": "year-not-help-per-blood",
"isActive": true,
"isAmendable": true,
"isDraft": true,
"isExpired": true,
"isFirstDraft": true,
"isLatestVersion": true,
"isSellable": true,
"lifecycle": LifecycleType,
"offeringComponents": [OfferingComponentType],
"productComponents": [ProductComponentType],
"tags": [TagType],
"termTemplateComponents": [TermTemplateComponentType]
}
}
}
opportunities
Type: OpportunitiesConnection
URL: https://api.oeit-kraken.energy/v1/graphql/
Fetch all opportunities for this Kraken, with optional filtering.
Query Complexity: 3
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query leads
Arguments
| Name | Description |
|---|---|
|
|
|
|
|
|
|
Input fields for retrieving opportunities. |
|
|
|
Query
query Opportunities(
$after: String,
$before: String,
$first: Int,
$input: OpportunitiesQueryInput,
$last: Int,
$offset: Int
) {
opportunities(
after: $after,
before: $before,
first: $first,
input: $input,
last: $last,
offset: $offset
) {
edgeCount
edges {
...OpportunitiesEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"first": 10,
"input": OpportunitiesQueryInput,
"last": 10,
"offset": 88
}
Response
{
"data": {
"opportunities": {
"edgeCount": 77,
"edges": [OpportunitiesEdge],
"pageInfo": PageInfo,
"totalCount": 81
}
}
}
opportunityByNumber
Type: OpportunityOutput
URL: https://api.oeit-kraken.energy/v1/graphql/
Get opportunity details by number.
Query Complexity: 1
Possible Errors:
- KT-CT-8906: Opportunity not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query leads
Arguments
| Name | Description |
|---|---|
|
Opportunity number identifier. |
Query
query OpportunityByNumber($number: String) {
opportunityByNumber(number: $number) {
assignedToAffiliateNumber
assignedToTeamIdentifier
assignedToUserIdentifier
attachments {
...OpportunityAttachmentFragment
}
consents {
...ConsentOutputFragment
}
email
extraDetailItems {
...ExtraDetailFragment
}
funnel {
...SalesFunnelFragment
}
leadNumber
leadType
name
notes
number
offerGroupId
opportunityAddress {
...AddressOutputFragment
}
opportunityRichAddress {
...RichAddressTypeFragment
}
phoneNumber
productOffering {
...OfferingTypeFragment
}
productOfferingId
salesChannel
stage
supplyPoints {
...LeadSupplyPointTypeFragment
}
}
}
Variables
{
"number": "source-away-information-only-article"
}
Response
{
"data": {
"opportunityByNumber": {
"assignedToAffiliateNumber": "several-too-personal-share-war",
"assignedToTeamIdentifier": "71023220",
"assignedToUserIdentifier": "57129670",
"attachments": [OpportunityAttachment],
"consents": [ConsentOutput],
"email": "mention-thousand-quality-everybody-operation",
"extraDetailItems": [ExtraDetail],
"funnel": SalesFunnel,
"leadNumber": "should-such-candidate-cold-reach",
"leadType": "respond-role-majority-himself-whether",
"name": "effort-expert-agent-be-personal",
"notes": "production-despite-science-color-head",
"number": "PM-since-laugh-space-line",
"offerGroupId": "99108569",
"opportunityAddress": AddressOutput,
"opportunityRichAddress": RichAddressType,
"phoneNumber": "suffer-bill-major-bar-prove",
"productOffering": OfferingType,
"productOfferingId": "17946549",
"salesChannel": "affect-already-financial-Mrs-pay",
"stage": "race-admit-them-down-whose",
"supplyPoints": [LeadSupplyPointType]
}
}
}
opportunityProductSummary
Type: [OpportunityProductSummary!]!
URL: https://api.oeit-kraken.energy/v1/graphql/
Return summaries of all products in opportunity's accepted offer. Supports multi-product offerings like dual fuel.
Query Complexity: 2
Possible Errors:
- KT-CT-8906: Opportunity not found.
- KT-CT-8922: The opportunity does not have an accepted offer.
- KT-CT-8923: The opportunity does not have a linked offer group.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query leads
Arguments
| Name | Description |
|---|---|
|
Opportunity number. |
Query
query OpportunityProductSummary($number: String) {
opportunityProductSummary(number: $number) {
market
productCharacteristics
productCode
productIdentifier
productOfferingIdentifier
}
}
Variables
{
"number": "generation-suddenly-Republican-age-mention"
}
Response
{
"data": {
"opportunityProductSummary": [
{
"market": "hour-year-discussion-house-company",
"productCharacteristics": "abc123" | 1 | 1.0 | true | ["abc123"] | AccountType,
"productCode": "above-Mrs-per-class-study",
"productIdentifier": "39811624",
"productOfferingIdentifier": "44529138"
}
]
}
}
opportunityValueByKey
Type: String
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the value of a given key that is stored in an opportunity's related JSONFields.
Query Complexity: 2
Possible Errors:
- KT-CT-8903: Unable to update opportunity.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query leads
Arguments
| Name | Description |
|---|---|
|
The key the a funnel-specific value you wish to obtain. |
|
The identifier of the opportunity to query. |
Query
query OpportunityValueByKey(
$key: String,
$opportunityId: ID
) {
opportunityValueByKey(
key: $key,
opportunityId: $opportunityId
)
}
Variables
{
"key": "pull-will-just-stuff-painting",
"opportunityId": "60680255"
}
Response
{
"data": {
"opportunityValueByKey": "improve-memory-even-front-understand"
}
}
partnerTeam
Type: PartnerTeamType
URL: https://api.oeit-kraken.energy/v1/graphql/
Return the details of a given partner team.
Query Complexity: 1
Possible Errors:
- KT-CT-7731: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query partner teams
Arguments
| Name | Description |
|---|---|
|
Input object to identify the partner team. |
Query
query PartnerTeam($input: PartnerTeamInput!) {
partnerTeam(input: $input) {
name
number
parentTeamNumber
teamMembers {
...PartnerTeamUserConnectionTypeConnectionFragment
}
}
}
Variables
{
"input": PartnerTeamInput
}
Response
{
"data": {
"partnerTeam": {
"name": "bad-strategy-seek-class-issue",
"number": "structure-meeting-meet-mean-commercial",
"parentTeamNumber": "wrong-security-experience-girl-remain",
"teamMembers": PartnerTeamUserConnectionTypeConnection
}
}
}
partnerUser
Type: PartnerUserType
URL: https://api.oeit-kraken.energy/v1/graphql/
Return the details of a given partner user, if any exists.
Query Complexity: 1
Possible Errors:
- KT-CT-7724: Either number or email must be provided.
- KT-CT-7725: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query partner users
Arguments
| Name | Description |
|---|---|
|
The partner user email address. |
|
The partner user number. |
Query
query PartnerUser(
$email: String,
$number: String
) {
partnerUser(
email: $email,
number: $number
) {
createdAt
email
familyName
givenName
id
lastLogin
name
number
organisation {
...AffiliateOrganisationTypeFragment
}
permissions {
...PartnerUserPermissionFragment
}
roles {
...PartnerUserRoleTypeFragment
}
}
}
Variables
{
"email": "thank-necessary-expert-grow-name",
"number": "though-region-difficult-after-price"
}
Response
{
"data": {
"partnerUser": {
"createdAt": "1984-11-13T05:39:32.231549+00:00",
"email": "theory-civil-you-song-education",
"familyName": "Smith",
"givenName": "Lori",
"id": "24833140",
"lastLogin": "1982-05-27T02:55:44.854256+00:00",
"name": "both-arm-attention-life-role",
"number": "life-agent-even-more-threat",
"organisation": AffiliateOrganisationType,
"permissions": [PartnerUserPermission],
"roles": [PartnerUserRoleType]
}
}
}
partnerUserRoles
Type: [PartnerUserRoleType!]!
URL: https://api.oeit-kraken.energy/v1/graphql/
Return the available roles that can be assigned to a partner user.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query partner users
Query
query PartnerUserRoles {
partnerUserRoles {
code
description
name
}
}
Response
{
"data": {
"partnerUserRoles": [
{
"code": "politics-green-just-fund-five",
"description": "him-president-face-director-rise",
"name": "night-wrong-issue-toward-seat"
}
]
}
}
partnerViewer
Type: PartnerViewerType
URL: https://api.oeit-kraken.energy/v1/graphql/
The currently authenticated partner user.
This field requires the Authorization header to be set.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Query
query PartnerViewer {
partnerViewer {
email
name
number
permissions {
...PartnerViewerPermissionFragment
}
}
}
Response
{
"data": {
"partnerViewer": {
"email": "onto-cost-tax-form-goal",
"name": "heavy-piece-soldier-fish-total",
"number": "computer-shake-trial-personal-mother",
"permissions": [PartnerViewerPermission]
}
}
}
passwordValidatorHelpTexts
Type: [String]
URL: https://api.oeit-kraken.energy/v1/graphql/
The help text of all configured password validators as plain-text or html. Defaults to plain-text.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
(No)
Arguments
| Name | Description |
|---|---|
|
Return the results as html instead of plain-text. Defaults to False. |
Query
query PasswordValidatorHelpTexts($asHtml: Boolean) {
passwordValidatorHelpTexts(asHtml: $asHtml)
}
Variables
{
"asHtml": true
}
Response
{
"data": {
"passwordValidatorHelpTexts": "local-relate-grow-month-phone"
}
}
paymentFingerprintChecks
Type: PaymentFingerPrintCheckType
URL: https://api.oeit-kraken.energy/v1/graphql/
Check if a given payment fingerprint already exists and/or is risk-listed.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Fingerprint. |
Query
query PaymentFingerprintChecks($fingerprint: String!) {
paymentFingerprintChecks(fingerprint: $fingerprint) {
fingerprint
isFound
isRiskListed
}
}
Variables
{
"fingerprint": "claim-data-commercial-see-position"
}
Response
{
"data": {
"paymentFingerprintChecks": {
"fingerprint": "international-go-sister-mother-agency",
"isFound": true,
"isRiskListed": true
}
}
}
paymentRequests
Type: PaymentRequestsType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get all payment requests for the given ledger.
Query Complexity: 6
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Kraken ledger number. |
Query
query PaymentRequests($ledgerNumber: String!) {
paymentRequests(ledgerNumber: $ledgerNumber) {
paymentRequest {
...PaymentRequestConnectionTypeConnectionFragment
}
}
}
Variables
{
"ledgerNumber": "way-before-assume-contain-create"
}
Response
{
"data": {
"paymentRequests": {
"paymentRequest": PaymentRequestConnectionTypeConnection
}
}
}
plannedDispatches
Type: [UpsideDispatchType]
URL: https://api.oeit-kraken.energy/v1/graphql/
All planned device dispatches 24 hours ahead, (usually) in time order.
Query Complexity: 3
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4340: Unable to fetch planned dispatches.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Deprecated
The 'plannedDispatches' field is deprecated.
Please use 'flexPlannedDispatches' instead.
- Marked as deprecated on 2025-05-27.
- Scheduled for removal on or after 2026-01-16.
You can read more about this deprecation on:
https://announcements.kraken.tech/announcements/public/604/
Arguments
| Name | Description |
|---|---|
|
Query
query PlannedDispatches($accountNumber: String!) {
plannedDispatches(accountNumber: $accountNumber) {
delta
end
meta {
...UpsideDispatchMetaTypeFragment
}
start
}
}
Variables
{
"accountNumber": "A-FE980271"
}
Response
{
"data": {
"plannedDispatches": [
{
"delta": "1.0",
"end": "1996-01-03T12:50:16.115591+00:00",
"meta": UpsideDispatchMetaType,
"start": "2010-04-18T10:07:44.355569+00:00"
}
]
}
}
portfolio
Type: PortfolioType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get details about a portfolio, using its portfolio number.
Query Complexity: 2
Possible Errors:
- KT-CT-9403: Received an invalid portfolioId.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can query portfolios
Arguments
| Name | Description |
|---|---|
|
Portfolio number to be retrieved. |
Query
query Portfolio($portfolioNumber: String!) {
portfolio(portfolioNumber: $portfolioNumber) {
accounts {
...AccountConnectionTypeConnectionFragment
}
ancestors {
...PortfolioConnectionTypeConnectionFragment
}
billingName
brand
collectiveBilling
createdAt
depth
descendants {
...PortfolioConnectionTypeConnectionFragment
}
id
leadAccountNumber
name
number
operationsTeam {
...OperationsTeamTypeFragment
}
parent {
...PortfolioTypeFragment
}
updatedAt
}
}
Variables
{
"portfolioNumber": "P-05C824DE"
}
Response
{
"data": {
"portfolio": {
"accounts": AccountConnectionTypeConnection,
"ancestors": PortfolioConnectionTypeConnection,
"billingName": "memory-recently-team-race-news",
"brand": "than-remain-leg-author-safe",
"collectiveBilling": true,
"createdAt": "1977-08-03T22:25:28.990508+00:00",
"depth": 78,
"descendants": PortfolioConnectionTypeConnection,
"id": "13563458",
"leadAccountNumber": "A-22B8D3EB",
"name": "picture-her-argue-general-price",
"number": "us-admit-per-fish-act",
"operationsTeam": OperationsTeamType,
"parent": PortfolioType,
"updatedAt": "2000-01-28T16:51:07.893863+00:00"
}
}
}
portfolioByReference
Type: PortfolioType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get details about a portfolio, using its reference.
Query Complexity: 2
Possible Errors:
- KT-CT-9409: Invalid portfolio reference.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can query portfolios
Arguments
| Name | Description |
|---|---|
|
Portfolio reference namespace-value pair to filter by. |
Query
query PortfolioByReference($portfolioReference: PortfolioReferenceInput!) {
portfolioByReference(portfolioReference: $portfolioReference) {
accounts {
...AccountConnectionTypeConnectionFragment
}
ancestors {
...PortfolioConnectionTypeConnectionFragment
}
billingName
brand
collectiveBilling
createdAt
depth
descendants {
...PortfolioConnectionTypeConnectionFragment
}
id
leadAccountNumber
name
number
operationsTeam {
...OperationsTeamTypeFragment
}
parent {
...PortfolioTypeFragment
}
updatedAt
}
}
Variables
{
"portfolioReference": PortfolioReferenceInput
}
Response
{
"data": {
"portfolioByReference": {
"accounts": AccountConnectionTypeConnection,
"ancestors": PortfolioConnectionTypeConnection,
"billingName": "try-rock-hot-war-rule",
"brand": "on-raise-take-real-best",
"collectiveBilling": true,
"createdAt": "1992-12-07T22:23:32.545068+00:00",
"depth": 16,
"descendants": PortfolioConnectionTypeConnection,
"id": "85891975",
"leadAccountNumber": "A-74BA2D14",
"name": "yes-admit-trip-simple-other",
"number": "several-give-identify-American-up",
"operationsTeam": OperationsTeamType,
"parent": PortfolioType,
"updatedAt": "2015-08-02T17:03:57.796392+00:00"
}
}
}
possibleErrors
Type: PossibleErrorsOutputType
URL: https://api.oeit-kraken.energy/v1/graphql/
Possible errors of the requested query/mutation.
Query Complexity: 1
Possible Errors:
- KT-CT-1606: Query/Mutation not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
(No)
Rate Limits
| Key | Steps |
|---|---|
Ip |
['10/m'] |
Arguments
| Name | Description |
|---|---|
|
Query or Mutation for which to get the possible errors list. |
Query
query PossibleErrors($input: PossibleErrorsInputType!) {
possibleErrors(input: $input) {
authErrors
name
possibleErrors {
...PossibleErrorTypeFragment
}
type
}
}
Variables
{
"input": PossibleErrorsInputType
}
Response
{
"data": {
"possibleErrors": {
"authErrors": true,
"name": "might-partner-station-coach-now",
"possibleErrors": [PossibleErrorType],
"type": "query"
}
}
}
printBatch
Type: PrintBatchType!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get print batch details, including messages in the batch.
Query Complexity: 1
Possible Errors:
- KT-CT-9012: Invalid data.
- KT-CT-9013: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query print batches
Query
query PrintBatch($batchId: ID) {
printBatch(batchId: $batchId) {
id
messages {
...PrintMessageTypeConnectionFragment
}
status
}
}
Variables
{
"batchId": "29657601"
}
Response
{
"data": {
"printBatch": {
"id": "53485764",
"messages": PrintMessageTypeConnection,
"status": "OPEN"
}
}
}
properties
Type: PropertyConnectionTypeConnection!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the account current and future properties.
Query Complexity: 1
Possible Errors:
- KT-CT-6623: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query property
OR Can submit meter readings
Arguments
| Name | Description |
|---|---|
|
The account number. |
|
|
|
|
|
|
|
Query
query Properties(
$accountNumber: String!,
$active: Boolean
) {
properties(
accountNumber: $accountNumber,
active: $active
) {
address
ancestors {
...PropertyConnectionFragment
}
availableSmets2InstallationTimeslots {
...Smets2InstallationTimeslotTypeFragment
}
coordinates {
...CoordinatesTypeFragment
}
descendants {
...PropertyConnectionFragment
}
electricityMeterPoints {
...ElectricityMeterPointTypeFragment
}
embeddedNetwork {
...EmbeddedNetworkTypeFragment
}
gasMeterPoints {
...GasMeterPointTypeFragment
}
id
isChangeOfTenancyOngoing
isSmets2InstallationAllowed
label
measurements {
...MeasurementConnectionFragment
}
occupancyPeriods {
...OccupancyPeriodTypeFragment
}
parent {
...PropertyInterfaceFragment
}
postcode
richAddress {
...PropertyRichAddressTypeFragment
}
smartDeviceNetworks {
...SmartMeterDeviceNetworkTypeFragment
}
splitAddress
wanCoverage
}
}
Variables
{
"accountNumber": "A-E6D21874",
"active": true
}
Response
{
"data": {
"properties": [
{
"address": "life-character-drive-down-different",
"ancestors": PropertyConnection,
"availableSmets2InstallationTimeslots": [Smets2InstallationTimeslotType],
"coordinates": CoordinatesType,
"descendants": PropertyConnection,
"electricityMeterPoints": [ElectricityMeterPointType],
"embeddedNetwork": EmbeddedNetworkType,
"gasMeterPoints": [GasMeterPointType],
"id": "24533428",
"isChangeOfTenancyOngoing": true,
"isSmets2InstallationAllowed": true,
"label": "sport-benefit-also-price-analysis",
"measurements": MeasurementConnection,
"occupancyPeriods": [OccupancyPeriodType],
"parent": PropertyInterface,
"postcode": "increase-spring-box-successful-travel",
"richAddress": PropertyRichAddressType,
"smartDeviceNetworks": [SmartMeterDeviceNetworkType],
"splitAddress": "window-pass-start-city-off",
"wanCoverage": "HIGH"
}
]
}
}
propertiesSearch
Type: [PropertySearchResult!]!
URL: https://api.oeit-kraken.energy/v1/graphql/
Search for properties that are already in Kraken and match the search term.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query property
Arguments
| Name | Description |
|---|---|
|
The search term. It can be an address or a meter point identifier. |
Query
query PropertiesSearch($searchTerm: String!) {
propertiesSearch(searchTerm: $searchTerm) {
property {
...PropertyTypeFragment
}
score
}
}
Variables
{
"searchTerm": "then-tend-commercial-stock-huge"
}
Response
{
"data": {
"propertiesSearch": [
{
"property": PropertyType,
"score": "1.0"
}
]
}
}
property
Type: Property
URL: https://api.oeit-kraken.energy/v1/graphql/
A property with the given ID. Usually associated with supply points.
Query Complexity: 1
Possible Errors:
- KT-CT-6622: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The property ID. |
Query
query Property($id: ID!) {
property(id: $id) {
address
ancestors {
...PropertyConnectionFragment
}
availableSmets2InstallationTimeslots {
...Smets2InstallationTimeslotTypeFragment
}
coordinates {
...CoordinatesTypeFragment
}
descendants {
...PropertyConnectionFragment
}
electricityMeterPoints {
...ElectricityMeterPointTypeFragment
}
embeddedNetwork {
...EmbeddedNetworkTypeFragment
}
gasMeterPoints {
...GasMeterPointTypeFragment
}
id
isChangeOfTenancyOngoing
isSmets2InstallationAllowed
label
measurements {
...MeasurementConnectionFragment
}
occupancyPeriods {
...OccupancyPeriodTypeFragment
}
parent {
...PropertyInterfaceFragment
}
postcode
richAddress {
...PropertyRichAddressTypeFragment
}
smartDeviceNetworks {
...SmartMeterDeviceNetworkTypeFragment
}
splitAddress
wanCoverage
}
}
Variables
{
"id": "78783558"
}
Response
{
"data": {
"property": {
"address": "social-north-commercial-morning-audience",
"ancestors": PropertyConnection,
"availableSmets2InstallationTimeslots": [Smets2InstallationTimeslotType],
"coordinates": CoordinatesType,
"descendants": PropertyConnection,
"electricityMeterPoints": [ElectricityMeterPointType],
"embeddedNetwork": EmbeddedNetworkType,
"gasMeterPoints": [GasMeterPointType],
"id": "94418386",
"isChangeOfTenancyOngoing": true,
"isSmets2InstallationAllowed": true,
"label": "speak-anyone-address-offer-between",
"measurements": MeasurementConnection,
"occupancyPeriods": [OccupancyPeriodType],
"parent": PropertyInterface,
"postcode": "beautiful-that-answer-example-figure",
"richAddress": PropertyRichAddressType,
"smartDeviceNetworks": [SmartMeterDeviceNetworkType],
"splitAddress": "usually-water-six-learn-bring",
"wanCoverage": "HIGH"
}
}
}
propertySearch
Type: [Property]
URL: https://api.oeit-kraken.energy/v1/graphql/
Search for properties that are already in Kraken and match the search term.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query property
Deprecated
The 'propertySearch' field is deprecated.
This query is being deprecated in favour of `propertiesSearch`. The latter returns not only the matched properties but the level of confidence in the results through the `score` field.
- Marked as deprecated on 2023-05-23.
- Scheduled for removal on or after 2024-01-01.
Arguments
| Name | Description |
|---|---|
|
The search term. It can be an address or a meter point identifier. |
Query
query PropertySearch($searchTerm: String!) {
propertySearch(searchTerm: $searchTerm) {
address
ancestors {
...PropertyConnectionFragment
}
availableSmets2InstallationTimeslots {
...Smets2InstallationTimeslotTypeFragment
}
coordinates {
...CoordinatesTypeFragment
}
descendants {
...PropertyConnectionFragment
}
electricityMeterPoints {
...ElectricityMeterPointTypeFragment
}
embeddedNetwork {
...EmbeddedNetworkTypeFragment
}
gasMeterPoints {
...GasMeterPointTypeFragment
}
id
isChangeOfTenancyOngoing
isSmets2InstallationAllowed
label
measurements {
...MeasurementConnectionFragment
}
occupancyPeriods {
...OccupancyPeriodTypeFragment
}
parent {
...PropertyInterfaceFragment
}
postcode
richAddress {
...PropertyRichAddressTypeFragment
}
smartDeviceNetworks {
...SmartMeterDeviceNetworkTypeFragment
}
splitAddress
wanCoverage
}
}
Variables
{
"searchTerm": "white-development-political-sing-meeting"
}
Response
{
"data": {
"propertySearch": [
{
"address": "those-voice-hand-remember-behind",
"ancestors": PropertyConnection,
"availableSmets2InstallationTimeslots": [Smets2InstallationTimeslotType],
"coordinates": CoordinatesType,
"descendants": PropertyConnection,
"electricityMeterPoints": [ElectricityMeterPointType],
"embeddedNetwork": EmbeddedNetworkType,
"gasMeterPoints": [GasMeterPointType],
"id": "67836876",
"isChangeOfTenancyOngoing": true,
"isSmets2InstallationAllowed": true,
"label": "speech-choice-box-education-state",
"measurements": MeasurementConnection,
"occupancyPeriods": [OccupancyPeriodType],
"parent": PropertyInterface,
"postcode": "foreign-per-next-vote-account",
"richAddress": PropertyRichAddressType,
"smartDeviceNetworks": [SmartMeterDeviceNetworkType],
"splitAddress": "remain-lot-political-impact-gas",
"wanCoverage": "HIGH"
}
]
}
}
providerVirtualKeyDetails
Type: ProviderVirtualKeyDetailsType
URL: https://api.oeit-kraken.energy/v1/graphql/
Virtual key details (e.g. certificate public key) for the provider (if available).
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The device type to get the virtual key details for (as providers may support multiple). |
|
The provider to get the virtual key details for. |
Query
query ProviderVirtualKeyDetails(
$deviceType: KrakenFlexDeviceTypes!,
$provider: ProviderChoices!
) {
providerVirtualKeyDetails(
deviceType: $deviceType,
provider: $provider
) {
virtualKeyName
virtualKeyUri
}
}
Variables
{
"deviceType": "BATTERIES",
"provider": "BYD"
}
Response
{
"data": {
"providerVirtualKeyDetails": {
"virtualKeyName": "tonight-key-economy-month-response",
"virtualKeyUri": "five-with-director-save-heavy"
}
}
}
queryComplexity
Type: QueryComplexityOutputType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the complexity of a query.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access third party queries
Arguments
| Name | Description |
|---|---|
|
Query and relevant variables required to calculate the complexity. |
Query
query QueryComplexity($input: QueryComplexityInputType!) {
queryComplexity(input: $input) {
complexityValue
}
}
Variables
{
"input": QueryComplexityInputType
}
Response
{
"data": {
"queryComplexity": {
"complexityValue": 33
}
}
}
question
Type: String
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the customer feedback survey question.
Query Complexity: 1
Possible Errors:
- KT-CT-5513: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can submit customer feedback
Arguments
| Name | Description |
|---|---|
|
Query
query Question($formId: Int!) {
question(formId: $formId)
}
Variables
{
"formId": 10201438
}
Response
{
"data": {
"question": "young-sign-cell-share-bed"
}
}
quoteConfigurationByNumber
Type: QuoteConfigurationType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get a quote configuration by its number.
Query Complexity: 2
Possible Errors:
- KT-CT-14701: QuoteConfiguration not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query quote configuration
Arguments
| Name | Description |
|---|---|
|
Unique number identifying the quote configuration. |
Query
query QuoteConfigurationByNumber($number: String) {
quoteConfigurationByNumber(number: $number) {
contractEnd
contractStart
createdBy
expiresAt
extraDetailsItems {
...QuoteConfigurationExtraDetailItemTypeFragment
}
extraQuotingParams {
...ExtraQuotingParamsTypeFragment
}
number
opportunityNumber
status
terms {
...QuoteTermInterfaceFragment
}
}
}
Variables
{
"number": "have-spend-couple-while-usually"
}
Response
{
"data": {
"quoteConfigurationByNumber": {
"contractEnd": "1989-02-22T12:59:36.225144+00:00",
"contractStart": "1988-08-15T05:51:43.618466+00:00",
"createdBy": "some-gas-open-reality-war",
"expiresAt": "2012-07-28T21:43:32.570502+00:00",
"extraDetailsItems": [QuoteConfigurationExtraDetailItemType],
"extraQuotingParams": ExtraQuotingParamsType,
"number": "every-government-avoid-sound-suddenly",
"opportunityNumber": "development-line-get-executive-ahead",
"status": "DRAFT",
"terms": QuoteTermInterface
}
}
}
quoteConfigurationsByOpportunityNumber
Type: [QuoteConfigurationType!]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get all quote configurations for an opportunity.
Query Complexity: 2
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query quote configuration
Arguments
| Name | Description |
|---|---|
|
Number of the opportunity to retrieve quote configurations for. |
Query
query QuoteConfigurationsByOpportunityNumber($opportunityNumber: String) {
quoteConfigurationsByOpportunityNumber(opportunityNumber: $opportunityNumber) {
contractEnd
contractStart
createdBy
expiresAt
extraDetailsItems {
...QuoteConfigurationExtraDetailItemTypeFragment
}
extraQuotingParams {
...ExtraQuotingParamsTypeFragment
}
number
opportunityNumber
status
terms {
...QuoteTermInterfaceFragment
}
}
}
Variables
{
"opportunityNumber": "organization-wear-commercial-senior-significant"
}
Response
{
"data": {
"quoteConfigurationsByOpportunityNumber": [
{
"contractEnd": "2000-03-27T05:42:26.878704+00:00",
"contractStart": "2017-11-19T22:07:30.016749+00:00",
"createdBy": "interest-perform-attention-check-onto",
"expiresAt": "2017-07-22T15:19:54.672134+00:00",
"extraDetailsItems": [QuoteConfigurationExtraDetailItemType],
"extraQuotingParams": ExtraQuotingParamsType,
"number": "listen-value-management-improve-situation",
"opportunityNumber": "turn-too-process-Democrat-final",
"status": "DRAFT",
"terms": QuoteTermInterface
}
]
}
}
quoteRequest
Type: QuoteRequest
URL: https://api.oeit-kraken.energy/v1/graphql/
Retrieve a quote.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
(No)
Rate Limits
| Key | Steps |
|---|---|
Ip |
['10/m'] |
Arguments
| Name | Description |
|---|---|
|
The quote request code. |
Query
query QuoteRequest($quoteCode: String!) {
quoteRequest(quoteCode: $quoteCode) {
code
createdAt
electricitySupplyPoints {
...ElectricitySupplyPointFragment
}
gasSupplyPoints {
...GasSupplyPointFragment
}
termsAndConditions {
...TermsAndConditionsFragment
}
}
}
Variables
{
"quoteCode": "newspaper-already-federal-small-economy"
}
Response
{
"data": {
"quoteRequest": {
"code": "possible-fight-card-four-fly",
"createdAt": "1985-09-10T03:40:37.388431+00:00",
"electricitySupplyPoints": [ElectricitySupplyPoint],
"gasSupplyPoints": [GasSupplyPoint],
"termsAndConditions": [TermsAndConditions]
}
}
}
quotingParamDefinitionsForProductOffering
Type: QuotedOfferingParamsType
URL: https://api.oeit-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-12403: Product offering not found.
- KT-CT-12404: Product offering has expired.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can create quoting offer group
Arguments
| Name | Description |
|---|---|
|
The identifier of the product offering. |
Query
query QuotingParamDefinitionsForProductOffering($productOfferingIdentifier: ID) {
quotingParamDefinitionsForProductOffering(productOfferingIdentifier: $productOfferingIdentifier) {
offeringComponents {
...QuotedOfferingParamsTypeFragment
}
offeringIdentifier
productComponents {
...QuotedProductComponentTypeFragment
}
}
}
Variables
{
"productOfferingIdentifier": "51687068"
}
Response
{
"data": {
"quotingParamDefinitionsForProductOffering": {
"offeringComponents": [QuotedOfferingParamsType],
"offeringIdentifier": "77435061",
"productComponents": [QuotedProductComponentType]
}
}
}
rateGroupTouScheme
Type: TimeOfUseSchemeType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the time of use scheme definition and available time slots for a rate group within a product specification.
Query Complexity: 1
Possible Errors:
- KT-CT-12010: Unable to find the product's specification.
- KT-CT-12049: Rate specification not found in the given product specification.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query catalog offerings
Arguments
| Name | Description |
|---|---|
|
The rate group code (rate specification code). |
|
The identifier of the product specification. |
Query
query RateGroupTouScheme(
$rateGroupCode: String!,
$specificationIdentifier: String!
) {
rateGroupTouScheme(
rateGroupCode: $rateGroupCode,
specificationIdentifier: $specificationIdentifier
) {
name
timeslots {
...TimeSlotWithActivationRuleTypeFragment
}
timezone
}
}
Variables
{
"rateGroupCode": "truth-offer-market-enough-face",
"specificationIdentifier": "54831333"
}
Response
{
"data": {
"rateGroupTouScheme": {
"name": "wind-else-thing-kind-price",
"timeslots": [TimeSlotWithActivationRuleType],
"timezone": "thousand-result-thus-himself-behavior"
}
}
}
rateLimitInfo
Type: CombinedRateLimitInformation
URL: https://api.oeit-kraken.energy/v1/graphql/
Combined information about points-allowance rate limiting and request-specific rate limiting.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
Ip |
['10/m'] |
Query
query RateLimitInfo {
rateLimitInfo {
fieldSpecificRateLimits {
...FieldSpecificRateLimitInformationConnectionTypeConnectionFragment
}
pointsAllowanceRateLimit {
...PointsAllowanceRateLimitInformationFragment
}
}
}
Response
{
"data": {
"rateLimitInfo": {
"fieldSpecificRateLimits": FieldSpecificRateLimitInformationConnectionTypeConnection,
"pointsAllowanceRateLimit": PointsAllowanceRateLimitInformation
}
}
}
registeredKrakenflexDevice
Type: KrakenFlexDeviceType
URL: https://api.oeit-kraken.energy/v1/graphql/
A device registered with KrakenFlex for a given account.
Query Complexity: 2
Possible Errors:
- KT-CT-1111: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Deprecated
The 'registeredKrakenflexDevice' field is deprecated.
Please use 'devices' instead.
- Marked as deprecated on 2024-04-23.
- Scheduled for removal on or after 2026-03-01.
You can read more about this deprecation on:
https://announcements.kraken.tech/announcements/public/677/
Arguments
| Name | Description |
|---|---|
|
Query
query RegisteredKrakenflexDevice($accountNumber: String!) {
registeredKrakenflexDevice(accountNumber: $accountNumber) {
chargePointMake
chargePointModel
chargePointPowerInKw
createdAt
hasToken
krakenflexDeviceId
provider
stateOfChargeLimit {
...StateOfChargeLimitFragment
}
status
suspended
testDispatchFailureReason
vehicleBatterySizeInKwh
vehicleMake
vehicleModel
}
}
Variables
{
"accountNumber": "A-E714DAAD"
}
Response
{
"data": {
"registeredKrakenflexDevice": {
"chargePointMake": "general-person-mind-visit-drive",
"chargePointModel": "base-friend-present-ago-throughout",
"chargePointPowerInKw": "1.0",
"createdAt": "2019-09-26T10:30:06.862616+00:00",
"hasToken": true,
"krakenflexDeviceId": "47718844",
"provider": "BYD",
"stateOfChargeLimit": StateOfChargeLimit,
"status": "sound-pattern-decide-society-eye",
"suspended": true,
"testDispatchFailureReason": "NONE",
"vehicleBatterySizeInKwh": "1.0",
"vehicleMake": "close-although-hospital-western-range",
"vehicleModel": "process-here-job-travel-your"
}
}
}
returnSchedule
Type: [DepositReturnScheduleOutput]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get deposit agreement related return schedules for a given account.
Query Complexity: 1
Possible Errors:
- KT-CT-4177: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can use deposit system
Arguments
| Name | Description |
|---|---|
|
Query
query ReturnSchedule($accountNumber: String!) {
returnSchedule(accountNumber: $accountNumber) {
amount
dueDate
status
}
}
Variables
{
"accountNumber": "A-370F88BD"
}
Response
{
"data": {
"returnSchedule": [
{
"amount": 43,
"dueDate": "1993-09-04",
"status": "office-outside-often-purpose-from"
}
]
}
}
routingAttributes
Type: [RoutingAttributeType]!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get routing attributes available for call routing configuration.
Query Complexity: 2
Possible Errors:
- KT-CT-11816: Invalid routing attribute category.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query calls
Arguments
| Name | Description |
|---|---|
|
Filter by category (LANGUAGE, OPERATIONS_GROUP, SKILL). |
|
Filter by friendly name (case-insensitive). |
Query
query RoutingAttributes(
$category: String,
$search: String
) {
routingAttributes(
category: $category,
search: $search
) {
category
friendlyName
isActive
ref
subcategory
}
}
Variables
{
"category": "plant-tend-conference-want-military",
"search": "strong-wear-term-sort-industry"
}
Response
{
"data": {
"routingAttributes": [
{
"category": "house-eight-ability-allow-sit",
"friendlyName": "conference-education-large-itself-beyond",
"isActive": true,
"ref": "smile-local-staff-nature-call",
"subcategory": "pull-nearly-note-father-risk"
}
]
}
}
salesFunnelByCode
Type: SalesFunnel
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the sales funnel by input.
Query Complexity: 1
Possible Errors:
- KT-CT-8912: Funnel not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query sales funnels
Arguments
| Name | Description |
|---|---|
|
Input fields for retrieving the sales funnel. |
Query
query SalesFunnelByCode($input: SalesFunnelInput!) {
salesFunnelByCode(input: $input) {
code
collections {
...CollectionFragment
}
funnelType
name
rules {
...SalesFunnelRuleFragment
}
stages {
...SalesFunnelStageFragment
}
status
}
}
Variables
{
"input": SalesFunnelInput
}
Response
{
"data": {
"salesFunnelByCode": {
"code": "future-either-our-customer-company",
"collections": [Collection],
"funnelType": "LEAD",
"name": "reduce-officer-help-note-age",
"rules": [SalesFunnelRule],
"stages": [SalesFunnelStage],
"status": "DRAFT"
}
}
}
salesFunnels
Type: [SalesFunnel]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get all sales funnels.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query sales funnels
Arguments
| Name | Description |
|---|---|
|
Input fields for retrieving the sales funnels. |
Query
query SalesFunnels($input: SalesFunnelsInput) {
salesFunnels(input: $input) {
code
collections {
...CollectionFragment
}
funnelType
name
rules {
...SalesFunnelRuleFragment
}
stages {
...SalesFunnelStageFragment
}
status
}
}
Variables
{
"input": SalesFunnelsInput
}
Response
{
"data": {
"salesFunnels": [
{
"code": "TV-radio-public-month-share",
"collections": [Collection],
"funnelType": "LEAD",
"name": "something-significant-compare-school-sister",
"rules": [SalesFunnelRule],
"stages": [SalesFunnelStage],
"status": "DRAFT"
}
]
}
}
searchLead
Type: LeadIdType
URL: https://api.oeit-kraken.energy/v1/graphql/
Search and return the identifiers of a lead.
Query Complexity: 2
Possible Errors:
- KT-CT-8920: Search filters are invalid.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query leads
Arguments
| Name | Description |
|---|---|
|
Filters to search for leads. All passed filters will be checked against the lead. |
Query
query SearchLead($filters: SearchLeadFilters!) {
searchLead(filters: $filters) {
number
}
}
Variables
{
"filters": SearchLeadFilters
}
Response
{
"data": {
"searchLead": {
"number": "president-course-develop-particularly-music"
}
}
}
siteworksRequests
Type: CoreSiteworksRequestConnectionTypeConnection
URL: https://api.oeit-kraken.energy/v1/graphql/
A query to get a subset of Requests.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Deprecated
The 'siteworksRequests' field is deprecated.
Please use getOnSiteJobsRequests instead.
- Marked as deprecated on 2026-03-01.
- Scheduled for removal on or after 2026-09-01.
Arguments
| Name | Description |
|---|---|
|
|
|
|
|
Only requests created after this datetime will be included. |
|
|
|
A list of request IDs. If provided, only these requests will be returned. |
|
|
|
Only requests with a status in this list will be included. |
Query
query SiteworksRequests(
$after: String,
$before: String,
$createdAfter: DateTime,
$first: Int,
$ids: [UUID],
$last: Int,
$statuses: [RequestStatus]
) {
siteworksRequests(
after: $after,
before: $before,
createdAfter: $createdAfter,
first: $first,
ids: $ids,
last: $last,
statuses: $statuses
) {
edgeCount
edges {
...CoreSiteworksRequestConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"createdAfter": "1992-03-02T09:43:18.812465+00:00",
"first": 10,
"ids": "9a6d12ac-2c51-4518-bd7f-31dbd92a1df3",
"last": 10,
"statuses": "APPROVAL_PENDING"
}
Response
{
"data": {
"siteworksRequests": {
"edgeCount": 9,
"edges": [CoreSiteworksRequestConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 64
}
}
}
smartFlexDeviceSupplyPoint
Type: SmartFlexDeviceSupplyPointType
URL: https://api.oeit-kraken.energy/v1/graphql/
The supply point linked to the SmartFlex device.
Query Complexity: 2
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can view smartflex data
Rate Limits
| Key | Steps |
|---|---|
User |
['850/m'] |
Arguments
| Name | Description |
|---|---|
|
The SmartFlex device ID to get the supply point details for. |
Query
query SmartFlexDeviceSupplyPoint($smartFlexDeviceId: String) {
smartFlexDeviceSupplyPoint(smartFlexDeviceId: $smartFlexDeviceId) {
importSupplyPointId
smartFlexDeviceId
}
}
Variables
{
"smartFlexDeviceId": "19765460"
}
Response
{
"data": {
"smartFlexDeviceSupplyPoint": {
"importSupplyPointId": "30352512",
"smartFlexDeviceId": "42819642"
}
}
}
smartFlexOnboardingWizards
Type: [SmartFlexOnboardingWizard!]
URL: https://api.oeit-kraken.energy/v1/graphql/
A list of wizards for onboarding devices for an account and property.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4321: Serializer validation error.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The account number, e.g. A-12345678. |
|
Include cancelled wizards. |
|
Include completed wizards. |
|
Filters for onboarding wizards that can be resumed. List limits to one resumable wizard. |
|
Only list wizards for this property. |
|
To get a specific wizard by ID, if it exists. |
Query
query SmartFlexOnboardingWizards(
$accountNumber: String!,
$includeCancelled: Boolean,
$includeCompleted: Boolean,
$isResumable: Boolean,
$propertyId: Int,
$wizardId: ID
) {
smartFlexOnboardingWizards(
accountNumber: $accountNumber,
includeCancelled: $includeCancelled,
includeCompleted: $includeCompleted,
isResumable: $isResumable,
propertyId: $propertyId,
wizardId: $wizardId
) {
backendScreen {
... on ComponentListType {
...ComponentListTypeFragment
}
... on Dashboard {
...DashboardFragment
}
... on FormScreenType {
...FormScreenTypeFragment
}
... on GenericBackendScreen {
...GenericBackendScreenFragment
}
}
completedSteps {
...SmartFlexOnboardingStepInterfaceFragment
}
currentStep {
...SmartFlexOnboardingStepInterfaceFragment
}
deviceType
displayName
id
resumable {
...SmartFlexResumableFragment
}
}
}
Variables
{
"accountNumber": "A-E956E281",
"includeCancelled": true,
"includeCompleted": true,
"isResumable": true,
"propertyId": 35405447,
"wizardId": "91890547"
}
Response
{
"data": {
"smartFlexOnboardingWizards": [
{
"backendScreen": ComponentListType,
"completedSteps": SmartFlexOnboardingStepInterface,
"currentStep": SmartFlexOnboardingStepInterface,
"deviceType": "BATTERIES",
"displayName": "party-where-nature-whom-yard",
"id": "87051422",
"resumable": SmartFlexResumable
}
]
}
}
streetTypes
Type: [StreetType]
URL: https://api.oeit-kraken.energy/v1/graphql/
List of Italian street types (toponimi).
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
(No)
Query
query StreetTypes {
streetTypes {
label
value
}
}
Response
{
"data": {
"streetTypes": [
{
"label": "walk-perform-partner-fact-choose",
"value": "look-discussion-risk-amount-hour"
}
]
}
}
supplyPoint
Type: SupplyPointType
URL: https://api.oeit-kraken.energy/v1/graphql/
Get a supply point by its market specific id.
Query Complexity: 1
Possible Errors:
- KT-CT-4719: No supply point found for identifier provided.
- KT-CT-4722: Supply point readings API not configured.
- KT-CT-4723: Invalid market name provided.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The market specific supply point id. |
|
The name of the market in which this supply point exists. |
Query
query SupplyPoint(
$externalIdentifier: String!,
$marketName: String!
) {
supplyPoint(
externalIdentifier: $externalIdentifier,
marketName: $marketName
) {
devices {
...DevicesConnectionFragment
}
externalIdentifier
id
marketName
meterPoint {
... on ElectricityMeterPointType {
...ElectricityMeterPointTypeFragment
}
... on GasMeterPointType {
...GasMeterPointTypeFragment
}
}
property {
...PropertyTypeFragment
}
readings {
...ReadingsFragment
}
}
}
Variables
{
"externalIdentifier": "59355163",
"marketName": "difference-push-wear-forward-note"
}
Response
{
"data": {
"supplyPoint": {
"devices": DevicesConnection,
"externalIdentifier": "34615854",
"id": "17023447",
"marketName": "she-any-happen-people-claim",
"meterPoint": ElectricityMeterPointType,
"property": PropertyType,
"readings": Readings
}
}
}
supplyPoints
Type: SupplyPointConnectionTypeConnection
URL: https://api.oeit-kraken.energy/v1/graphql/
Get list of supply points.
Query Complexity: 2
Possible Errors:
- KT-CT-8801: Missing query parameters.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Filter meter points by account. |
|
|
|
|
|
|
|
|
|
Filter meter points by portfolio. |
Query
query SupplyPoints(
$accountNumber: String,
$after: String,
$before: String,
$first: Int,
$last: Int,
$portfolioNumber: String
) {
supplyPoints(
accountNumber: $accountNumber,
after: $after,
before: $before,
first: $first,
last: $last,
portfolioNumber: $portfolioNumber
) {
edgeCount
edges {
...SupplyPointConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"accountNumber": "A-84A3B896",
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"first": 10,
"last": 10,
"portfolioNumber": "P-327228D8"
}
Response
{
"data": {
"supplyPoints": {
"edgeCount": 93,
"edges": [SupplyPointConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 60
}
}
}
taskResult
Type: TaskResult
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the status of a background task.
Query Complexity: 1
Possible Errors:
- KT-CT-10401: Task not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
Query
query TaskResult(
$accountNumber: String!,
$taskId: String!
) {
taskResult(
accountNumber: $accountNumber,
taskId: $taskId
) {
error
result
status
}
}
Variables
{
"accountNumber": "A-0509D3EA",
"taskId": "86897493"
}
Response
{
"data": {
"taskResult": {
"error": "health-choose-cut-local-example",
"result": {"key": "value"},
"status": "STARTED"
}
}
}
termsAndConditionsForProduct
Type: [TermsAndConditionsType]
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the active terms and conditions for a market supply product.
Query Complexity: 1
Possible Errors:
- KT-CT-8501: No active terms and conditions found for product.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The product code of the market supply product. |
Query
query TermsAndConditionsForProduct($productCode: String!) {
termsAndConditionsForProduct(productCode: $productCode) {
brandCode
effectiveFrom
html
markdown
name
pdfUrl
version
}
}
Variables
{
"productCode": "decade-participant-executive-strategy-because"
}
Response
{
"data": {
"termsAndConditionsForProduct": {
"brandCode": "dinner-interesting-degree-student-man",
"effectiveFrom": "1973-06-26T01:33:55.011488+00:00",
"html": "daughter-recognize-finally-federal-decision",
"markdown": "actually-serve-for-during-black",
"name": "measure-school-water-usually-admit",
"pdfUrl": "many-magazine-near-interview-until",
"version": "order-job-while-military-account"
}
}
}
thirdPartyViewer
Type: ThirdPartyOrganizationType
URL: https://api.oeit-kraken.energy/v1/graphql/
The currently authenticated third party.
This field requires the Authorization header to be set.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Query
query ThirdPartyViewer {
thirdPartyViewer {
name
permissions {
...ThirdPartyPermissionFragment
}
}
}
Response
{
"data": {
"thirdPartyViewer": {
"name": "phone-whole-president-current-study",
"permissions": [ThirdPartyPermission]
}
}
}
trigger
Type: Trigger!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the details of a published trigger with a given ID.
Query Complexity: 3
Possible Errors:
- KT-CT-9904: Trigger not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The ID of the trigger. |
Query
query Trigger($triggerId: ID!) {
trigger(triggerId: $triggerId) {
accounts {
...AccountConnectionTypeConnectionFragment
}
accountsLinkedAt
createdAt
id
messages {
...MessageConnectionFragment
}
processingStatus
triggerTypeCode
}
}
Variables
{
"triggerId": "14799266"
}
Response
{
"data": {
"trigger": {
"accounts": AccountConnectionTypeConnection,
"accountsLinkedAt": "2025-02-06T14:48:10.829918+00:00",
"createdAt": "2021-06-14T22:23:50.685783+00:00",
"id": "68878041",
"messages": MessageConnection,
"processingStatus": "UNPROCESSED",
"triggerTypeCode": "subject-condition-chair-edge-mean"
}
}
}
validateReferralCode
Type: ReferralClaimCodeType
URL: https://api.oeit-kraken.energy/v1/graphql/
Validate referral claim code.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
Ip |
['5/m'] |
Arguments
| Name | Description |
|---|---|
|
Referral claim code value. |
Query
query ValidateReferralCode($value: String!) {
validateReferralCode(value: $value) {
accountReferral {
...ReferralTypeFragment
}
createdAt
id
isValid
referralScheme {
...ReferralSchemeTypeFragment
}
value
}
}
Variables
{
"value": "whole-already-something-moment-three"
}
Response
{
"data": {
"validateReferralCode": {
"accountReferral": ReferralType,
"createdAt": "2024-06-05T01:36:37.979705+00:00",
"id": 95963127,
"isValid": true,
"referralScheme": ReferralSchemeType,
"value": "economic-travel-activity-write-including"
}
}
}
vehicleChargingPreferences
Type: VehicleChargingPreferencesType
URL: https://api.oeit-kraken.energy/v1/graphql/
Vehicle charging preference details.
Query Complexity: 3
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4339: Your device charging preferences could not be fetched.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Deprecated
The 'vehicleChargingPreferences' field is deprecated.
Please use 'devices.preferences' instead.
- Marked as deprecated on 2024-04-23.
- Scheduled for removal on or after 2026-03-01.
You can read more about this deprecation on:
https://announcements.kraken.tech/announcements/public/675/
Arguments
| Name | Description |
|---|---|
|
Query
query VehicleChargingPreferences($accountNumber: String!) {
vehicleChargingPreferences(accountNumber: $accountNumber) {
maximumSocPercentage
minimumSocPercentage
weekdayTargetSoc
weekdayTargetTime
weekendTargetSoc
weekendTargetTime
}
}
Variables
{
"accountNumber": "A-93342E36"
}
Response
{
"data": {
"vehicleChargingPreferences": {
"maximumSocPercentage": 35,
"minimumSocPercentage": 64,
"weekdayTargetSoc": 5,
"weekdayTargetTime": "history-figure-information-easy-military",
"weekendTargetSoc": 56,
"weekendTargetTime": "note-action-south-within-little"
}
}
}
verificationStatus
Type: EmailVerificationStatus
URL: https://api.oeit-kraken.energy/v1/graphql/
Check the verification status of a given email address.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The email address to be checked. |
Query
query VerificationStatus($email: String!) {
verificationStatus(email: $email) {
email
status
}
}
Variables
{
"email": "shake-voice-yourself-within-this"
}
Response
{
"data": {
"verificationStatus": {
"email": "back-our-up-easy-popular",
"status": "NOT_SENT"
}
}
}
viewer
Type: AccountUserType
URL: https://api.oeit-kraken.energy/v1/graphql/
The currently authenticated user.
This field requires the Authorization header to be set.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can view account number
OR Can view account type
OR Can view account user permissions
OR Can view sensitive customer information
Query
query Viewer {
viewer {
accounts {
...AccountInterfaceFragment
}
accountUserRoles {
...AccountUserRoleTypeFragment
}
address {
...RichAddressTypeFragment
}
alternativePhoneNumbers
businesses {
...BusinessConnectionTypeConnectionFragment
}
consents {
...ConsentTypeFragment
}
createdAt
dateOfBirth
details {
...AccountUserDetailTypeFragment
}
email
familyName
fullName
givenName
hasFamilyIssues
holdMusicChoices {
...TrackOptionTypeFragment
}
id
isActive
isDeceased
isInHardship
isOptedInToWof
label
landline
liveSecretKey
mobile
number
paymentMethods {
...PaymentInstructionConnectionTypeConnectionFragment
}
permissions {
...AccountUserPermissionFragment
}
portfolioIds
portfolios {
...PortfolioConnectionTypeConnectionFragment
}
portfolioUserRoles {
...PortfolioUserRoleTypeFragment
}
preferences {
...AccountUserCommsPreferencesFragment
}
preferredName
pronouns
specialCircumstances {
...SpecialCircumstancesTypeFragment
}
title
}
}
Response
{
"data": {
"viewer": {
"accounts": AccountInterface,
"accountUserRoles": [AccountUserRoleType],
"address": RichAddressType,
"alternativePhoneNumbers": "nearly-yeah-husband-particularly-rule",
"businesses": BusinessConnectionTypeConnection,
"consents": [ConsentType],
"createdAt": "1988-08-23T12:28:24.299443+00:00",
"dateOfBirth": "1977-04-24",
"details": [AccountUserDetailType],
"email": "part-read-bring-simple-other",
"familyName": "Key",
"fullName": "good-together-red-across-sometimes",
"givenName": "Sheri",
"hasFamilyIssues": true,
"holdMusicChoices": [TrackOptionType],
"id": "68091893",
"isActive": true,
"isDeceased": true,
"isInHardship": true,
"isOptedInToWof": true,
"label": "research-finally-card-international-growth",
"landline": "language-factor-little-window-account",
"liveSecretKey": "discover-support-material-six-bad",
"mobile": "wrong-able-skill-early-Republican",
"number": "source-same-western-development-system",
"paymentMethods": PaymentInstructionConnectionTypeConnection,
"permissions": [AccountUserPermission],
"portfolioIds": "92902900",
"portfolios": PortfolioConnectionTypeConnection,
"portfolioUserRoles": [PortfolioUserRoleType],
"preferences": AccountUserCommsPreferences,
"preferredName": "everybody-reveal-claim-though-truth",
"pronouns": "wrong-beat-usually-time-discuss",
"specialCircumstances": SpecialCircumstancesType,
"title": "forget-nice-language-simply-bar"
}
}
}
voiceCampaign
Type: VoiceCampaignType!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the voice campaign for a given ID.
Query Complexity: 2
Possible Errors:
- KT-CT-11501: Voice campaign not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query voice campaigns
Arguments
| Name | Description |
|---|---|
|
The campaign ID. |
Query
query VoiceCampaign($campaignId: String!) {
voiceCampaign(campaignId: $campaignId) {
campaignItems {
...VoiceCampaignItemConnectionTypeConnectionFragment
}
campaignType
customOutboundPhoneNumber
description
id
name
preventDuplicateRecords
status
tags {
...CallTagConnectionTypeConnectionFragment
}
}
}
Variables
{
"campaignId": "86722485"
}
Response
{
"data": {
"voiceCampaign": {
"campaignItems": VoiceCampaignItemConnectionTypeConnection,
"campaignType": "PREVIEW",
"customOutboundPhoneNumber": "ground-throughout-Congress-big-teach",
"description": "reach-understand-particular-yourself-issue",
"id": "18510870",
"name": "attack-plant-foreign-style-ok",
"preventDuplicateRecords": true,
"status": "ACTIVE",
"tags": CallTagConnectionTypeConnection
}
}
}
voiceCampaigns
Type: VoiceCampaignConnectionTypeConnection!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get voice campaigns.
Query Complexity: 2
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query voice campaigns
Arguments
| Name | Description |
|---|---|
|
|
|
|
|
Filter by campaign type. |
|
|
|
|
|
Filter by campaign name. |
|
Filter by campaign status. |
Query
query VoiceCampaigns(
$after: String,
$before: String,
$campaignType: TypeOfVoiceCampaign,
$first: Int,
$last: Int,
$name: String,
$status: CampaignStatus
) {
voiceCampaigns(
after: $after,
before: $before,
campaignType: $campaignType,
first: $first,
last: $last,
name: $name,
status: $status
) {
edgeCount
edges {
...VoiceCampaignConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"campaignType": "PREVIEW",
"first": 10,
"last": 10,
"name": "involve-per-prepare-couple-in",
"status": "ACTIVE"
}
Response
{
"data": {
"voiceCampaigns": {
"edgeCount": 68,
"edges": [VoiceCampaignConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 95
}
}
}
vouchersBalanceDetail
Type: VouchersBalanceDetail
URL: https://api.oeit-kraken.energy/v1/graphql/
Query the detail of vouchers balance for an account.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4178: No account found with given account number.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The account number. |
Query
query VouchersBalanceDetail($accountNumber: ID!) {
vouchersBalanceDetail(accountNumber: $accountNumber) {
redeemableInFuture
redeemableToday
}
}
Variables
{
"accountNumber": "A-C2884639"
}
Response
{
"data": {
"vouchersBalanceDetail": {
"redeemableInFuture": 64,
"redeemableToday": 45
}
}
}
vouchersForAccount
Type: VoucherPurchaseConnectionTypeConnection
URL: https://api.oeit-kraken.energy/v1/graphql/
Query the voucher purchases for an account.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-3820: Received both ledger ID and number.
- KT-CT-4178: No account found with given account number.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The account number. |
|
|
|
An optional date to limit the response to vouchers that are available before the particular date (exclusive). |
|
An optional date to limit the response to vouchers that are available from the particular date (inclusive) onwards. |
|
|
|
An optional list of display names to exclude from the results (case-insensitive). |
|
Whether to exclude refunded vouchers from the response. By default, refunded vouchers will be included in the response. |
|
|
|
|
|
An optional date to limit the response to vouchers that have been purchased before the particular date (exclusive). |
|
An optional date to limit the response to vouchers that have been purchased from the particular date (inclusive) onwards. |
|
Whether to only return vouchers that can be redeemable. |
Query
query VouchersForAccount(
$accountNumber: ID!,
$after: String,
$availableBeforeDate: Date,
$availableFromDate: Date,
$before: String,
$excludeByDisplayName: [String],
$excludeRefunded: Boolean,
$first: Int,
$last: Int,
$purchasedBeforeDate: Date,
$purchasedFromDate: Date,
$redeemableOnly: Boolean!
) {
vouchersForAccount(
accountNumber: $accountNumber,
after: $after,
availableBeforeDate: $availableBeforeDate,
availableFromDate: $availableFromDate,
before: $before,
excludeByDisplayName: $excludeByDisplayName,
excludeRefunded: $excludeRefunded,
first: $first,
last: $last,
purchasedBeforeDate: $purchasedBeforeDate,
purchasedFromDate: $purchasedFromDate,
redeemableOnly: $redeemableOnly
) {
edgeCount
edges {
...VoucherPurchaseConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"accountNumber": "A-40DFC96E",
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"availableBeforeDate": "2009-02-22",
"availableFromDate": "1995-04-07",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"excludeByDisplayName": "across-well-improve-weight-cause",
"excludeRefunded": true,
"first": 10,
"last": 10,
"purchasedBeforeDate": "1985-09-14",
"purchasedFromDate": "1998-09-27",
"redeemableOnly": true
}
Response
{
"data": {
"vouchersForAccount": {
"edgeCount": 6,
"edges": [VoucherPurchaseConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 21
}
}
}
workSchedule
Type: WorkScheduleType!
URL: https://api.oeit-kraken.energy/v1/graphql/
Get the work schedule with the given identifier.
Query Complexity: 1
Possible Errors:
- KT-CT-11804: Work schedule not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Partner User | |
| Third party | |
Required Permissions:
Can query work schedules
Arguments
| Name | Description |
|---|---|
|
The identifier of the work schedule (also known as the 'slug'). |
Query
query WorkSchedule($identifier: String!) {
workSchedule(identifier: $identifier) {
identifier
isOpen
isPublicHoliday
name
openOrClosedReason
}
}
Variables
{
"identifier": "70313422"
}
Response
{
"data": {
"workSchedule": {
"identifier": "37494366",
"isOpen": true,
"isPublicHoliday": true,
"name": "result-spring-increase-continue-parent",
"openOrClosedReason": "CLOSED_DUE_TO_PUBLIC_HOLIDAY"
}
}
}