Skip to content

Mutations

This reference is auto-generated from the GraphQL schema.

auth

init_login_flow

Initiate login flow

Returns: auth_flow!


init_recovery_flow

Initiate password recovery (forgot password) flow

Arguments:

ArgumentTypeDescription
emailString!

Returns: auth_result!


init_signup_flow

Initiate signup (registration) flow

Returns: auth_flow!


init_verification_flow

Initiate email verification flow

Arguments:

ArgumentTypeDescription
emailString
forceBoolean

Returns: auth_flow!


submit_login_flow

Submit login credentials

Arguments:

ArgumentTypeDescription
csrf_tokenString!
emailString!
flowIdString!
passwordString!
referral_codeString

Returns: auth_result!


submit_recovery_flow

Submit password recovery (set new password)

Arguments:

ArgumentTypeDescription
csrf_tokenString!
flowIdString!
passwordString!

Returns: auth_result!


submit_signup_flow

Submit signup (registration) form

Arguments:

ArgumentTypeDescription
csrf_tokenString!
emailString!
flowIdString!
nameString!
passwordString!

Returns: auth_result!


submit_social_login

Initiate OIDC social login flow and return provider redirect URL

Arguments:

ArgumentTypeDescription
providerString!

Returns: social_login_output!


submit_verification_code

Submit verification code

Arguments:

ArgumentTypeDescription
codeString!
csrf_tokenString!
flowIdString!

Returns: auth_result!


account

cancel_account_deletion

Cancel a pending scheduled account deletion during the grace period.

Returns: cancel_account_deletion_output!


change_avatar

Persist the user’s avatar URL after a successful upload

Arguments:

ArgumentTypeDescription
avatar_urlString!

Returns: change_avatar_output!


change_name

Update the current user’s display name

Arguments:

ArgumentTypeDescription
nameString!

Returns: change_name_output!


change_password

Change the current user’s password via settings flow

Arguments:

ArgumentTypeDescription
current_passwordString!
new_passwordString!

Returns: change_password_output!


confirm_account_deletion

Validate a deletion JWT and schedule the account for deletion (token-authed, anonymous-allowed).

Arguments:

ArgumentTypeDescription
tokenString!

Returns: confirm_account_deletion_output!


request_account_deletion

Send an email-link confirmation for account deletion. No state change until the link is clicked.

Returns: request_account_deletion_output!


request_avatar_upload

Mint a presigned S3 PUT URL for an avatar image

Arguments:

ArgumentTypeDescription
content_typeString!
filenameString!

Returns: request_avatar_upload_output!


assets

create_asset

Create an asset record after S3 upload

Arguments:

ArgumentTypeDescription
tags[String!]
typeString!
urlString!

Returns: create_asset_output!


delete_asset

Delete an asset and its S3 object

Arguments:

ArgumentTypeDescription
iduuid!

Returns: delete_asset_output!


request_upload

Generate presigned S3 PUT URL for direct browser uploads

Arguments:

ArgumentTypeDescription
content_typeString!
filenameString!

Returns: request_upload_output!


update_assets

update data of the table: “assets”

Arguments:

ArgumentTypeDescription
_setassets_set_inputsets the columns of the filtered rows to the given values
whereassets_bool_exp!filter the rows which have to be updated

Returns: assets_mutation_response


update_assets_by_pk

update single row of the table: “assets”

Arguments:

ArgumentTypeDescription
_setassets_set_inputsets the columns of the filtered rows to the given values
pk_columnsassets_pk_columns_input!

Returns: assets


update_assets_many

update multiples rows of table: “assets”

Arguments:

ArgumentTypeDescription
updates[assets_updates!]!updates to execute, in order

Returns: [assets_mutation_response]


pipeline_runs

cancel_pipeline_run

Cancel a running pipeline and refund credits

Arguments:

ArgumentTypeDescription
run_idString!

Returns: cancel_pipeline_run_output


run_pipeline

Start a pipeline execution

Arguments:

ArgumentTypeDescription
inputjsonb!
pipeline_slugString!

Returns: run_pipeline_output


billing

cancel_subscription

Cancel the user’s subscription at the end of the current billing period

Returns: cancel_subscription_output!


personal_access_tokens

create_personal_access_token

Create a new personal access token for API/MCP authentication

Arguments:

ArgumentTypeDescription
nameString!

Returns: create_personal_access_token_output!


revoke_personal_access_token

Revoke a personal access token

Arguments:

ArgumentTypeDescription
iduuid!

Returns: revoke_personal_access_token_output!


notifications

delete_notifications

delete data from the table: “notifications”

Arguments:

ArgumentTypeDescription
wherenotifications_bool_exp!filter the rows which have to be deleted

Returns: notifications_mutation_response


delete_notifications_by_pk

delete single row from the table: “notifications”

Arguments:

ArgumentTypeDescription
iduuid!

Returns: notifications


update_notifications

update data of the table: “notifications”

Arguments:

ArgumentTypeDescription
_setnotifications_set_inputsets the columns of the filtered rows to the given values
wherenotifications_bool_exp!filter the rows which have to be updated

Returns: notifications_mutation_response


update_notifications_by_pk

update single row of the table: “notifications”

Arguments:

ArgumentTypeDescription
_setnotifications_set_inputsets the columns of the filtered rows to the given values
pk_columnsnotifications_pk_columns_input!

Returns: notifications


update_notifications_many

update multiples rows of table: “notifications”

Arguments:

ArgumentTypeDescription
updates[notifications_updates!]!updates to execute, in order

Returns: [notifications_mutation_response]


affiliate_codes

add_affiliate_code

Add a new primary affiliate code

Arguments:

ArgumentTypeDescription
codeString!
redirect_pathString

Returns: add_affiliate_code_output!


ensure_affiliate

Create affiliate record and referral code for current user if missing

Returns: ensure_affiliate_output!


update_affiliate_codes

update data of the table: “affiliate_codes”

Arguments:

ArgumentTypeDescription
_setaffiliate_codes_set_inputsets the columns of the filtered rows to the given values
whereaffiliate_codes_bool_exp!filter the rows which have to be updated

Returns: affiliate_codes_mutation_response


update_affiliate_codes_by_pk

update single row of the table: “affiliate_codes”

Arguments:

ArgumentTypeDescription
_setaffiliate_codes_set_inputsets the columns of the filtered rows to the given values
pk_columnsaffiliate_codes_pk_columns_input!

Returns: affiliate_codes


update_affiliate_codes_many

update multiples rows of table: “affiliate_codes”

Arguments:

ArgumentTypeDescription
updates[affiliate_codes_updates!]!updates to execute, in order

Returns: [affiliate_codes_mutation_response]