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:
| Argument | Type | Description |
|---|---|---|
email | String! | — |
Returns: auth_result!
init_signup_flow
Initiate signup (registration) flow
Returns: auth_flow!
init_verification_flow
Initiate email verification flow
Arguments:
| Argument | Type | Description |
|---|---|---|
email | String | — |
force | Boolean | — |
Returns: auth_flow!
submit_login_flow
Submit login credentials
Arguments:
| Argument | Type | Description |
|---|---|---|
csrf_token | String! | — |
email | String! | — |
flowId | String! | — |
password | String! | — |
referral_code | String | — |
Returns: auth_result!
submit_recovery_flow
Submit password recovery (set new password)
Arguments:
| Argument | Type | Description |
|---|---|---|
csrf_token | String! | — |
flowId | String! | — |
password | String! | — |
Returns: auth_result!
submit_signup_flow
Submit signup (registration) form
Arguments:
| Argument | Type | Description |
|---|---|---|
csrf_token | String! | — |
email | String! | — |
flowId | String! | — |
name | String! | — |
password | String! | — |
Returns: auth_result!
submit_social_login
Initiate OIDC social login flow and return provider redirect URL
Arguments:
| Argument | Type | Description |
|---|---|---|
provider | String! | — |
Returns: social_login_output!
submit_verification_code
Submit verification code
Arguments:
| Argument | Type | Description |
|---|---|---|
code | String! | — |
csrf_token | String! | — |
flowId | String! | — |
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:
| Argument | Type | Description |
|---|---|---|
avatar_url | String! | — |
Returns: change_avatar_output!
change_name
Update the current user’s display name
Arguments:
| Argument | Type | Description |
|---|---|---|
name | String! | — |
Returns: change_name_output!
change_password
Change the current user’s password via settings flow
Arguments:
| Argument | Type | Description |
|---|---|---|
current_password | String! | — |
new_password | String! | — |
Returns: change_password_output!
confirm_account_deletion
Validate a deletion JWT and schedule the account for deletion (token-authed, anonymous-allowed).
Arguments:
| Argument | Type | Description |
|---|---|---|
token | String! | — |
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:
| Argument | Type | Description |
|---|---|---|
content_type | String! | — |
filename | String! | — |
Returns: request_avatar_upload_output!
assets
create_asset
Create an asset record after S3 upload
Arguments:
| Argument | Type | Description |
|---|---|---|
tags | [String!] | — |
type | String! | — |
url | String! | — |
Returns: create_asset_output!
delete_asset
Delete an asset and its S3 object
Arguments:
| Argument | Type | Description |
|---|---|---|
id | uuid! | — |
Returns: delete_asset_output!
request_upload
Generate presigned S3 PUT URL for direct browser uploads
Arguments:
| Argument | Type | Description |
|---|---|---|
content_type | String! | — |
filename | String! | — |
Returns: request_upload_output!
update_assets
update data of the table: “assets”
Arguments:
| Argument | Type | Description |
|---|---|---|
_set | assets_set_input | sets the columns of the filtered rows to the given values |
where | assets_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:
| Argument | Type | Description |
|---|---|---|
_set | assets_set_input | sets the columns of the filtered rows to the given values |
pk_columns | assets_pk_columns_input! | — |
Returns: assets
update_assets_many
update multiples rows of table: “assets”
Arguments:
| Argument | Type | Description |
|---|---|---|
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:
| Argument | Type | Description |
|---|---|---|
run_id | String! | — |
Returns: cancel_pipeline_run_output
run_pipeline
Start a pipeline execution
Arguments:
| Argument | Type | Description |
|---|---|---|
input | jsonb! | — |
pipeline_slug | String! | — |
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:
| Argument | Type | Description |
|---|---|---|
name | String! | — |
Returns: create_personal_access_token_output!
revoke_personal_access_token
Revoke a personal access token
Arguments:
| Argument | Type | Description |
|---|---|---|
id | uuid! | — |
Returns: revoke_personal_access_token_output!
notifications
delete_notifications
delete data from the table: “notifications”
Arguments:
| Argument | Type | Description |
|---|---|---|
where | notifications_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:
| Argument | Type | Description |
|---|---|---|
id | uuid! | — |
Returns: notifications
update_notifications
update data of the table: “notifications”
Arguments:
| Argument | Type | Description |
|---|---|---|
_set | notifications_set_input | sets the columns of the filtered rows to the given values |
where | notifications_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:
| Argument | Type | Description |
|---|---|---|
_set | notifications_set_input | sets the columns of the filtered rows to the given values |
pk_columns | notifications_pk_columns_input! | — |
Returns: notifications
update_notifications_many
update multiples rows of table: “notifications”
Arguments:
| Argument | Type | Description |
|---|---|---|
updates | [notifications_updates!]! | updates to execute, in order |
Returns: [notifications_mutation_response]
affiliate_codes
add_affiliate_code
Add a new primary affiliate code
Arguments:
| Argument | Type | Description |
|---|---|---|
code | String! | — |
redirect_path | String | — |
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:
| Argument | Type | Description |
|---|---|---|
_set | affiliate_codes_set_input | sets the columns of the filtered rows to the given values |
where | affiliate_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:
| Argument | Type | Description |
|---|---|---|
_set | affiliate_codes_set_input | sets the columns of the filtered rows to the given values |
pk_columns | affiliate_codes_pk_columns_input! | — |
Returns: affiliate_codes
update_affiliate_codes_many
update multiples rows of table: “affiliate_codes”
Arguments:
| Argument | Type | Description |
|---|---|---|
updates | [affiliate_codes_updates!]! | updates to execute, in order |
Returns: [affiliate_codes_mutation_response]