跳转到内容

Mutations

此内容尚不支持你的语言。

This reference is auto-generated from the GraphQL schema.

Authentication

Public — 7 operations

exchange_auth_handoff_code

Exchange a one-time authentication handoff code

Arguments:

ArgumentTypeDescription
codeString!—
code_verifierString!—
redirect_uriString!—

Returns: exchange_auth_handoff_code_output!


init_verification_flow

Begin email verification

Arguments:

ArgumentTypeDescription
emailString—
forceBoolean—

Returns: auth_flow!


login

Sign in with email and password

Arguments:

ArgumentTypeDescription
emailString!—
passwordString!—
referral_codeString—

Returns: auth_result!


register

Create an account with email and password

Arguments:

ArgumentTypeDescription
emailString!—
nameString!—
passwordString!—
referral_codeString—

Returns: auth_result!


request_password_reset

Send a password reset email

Arguments:

ArgumentTypeDescription
emailString!—

Returns: auth_result!


reset_password

Set a new password using the emailed code

Arguments:

ArgumentTypeDescription
codeString!—
emailString!—
newPasswordString!—

Returns: auth_result!


submit_verification_code

Submit an email verification code

Arguments:

ArgumentTypeDescription
codeString!—
csrf_tokenString!—
flowIdString!—

Returns: auth_result!


Signed-in dashboard only — 2 operations

create_auth_handoff_code

Create a short-lived, PKCE-bound authentication handoff code

Arguments:

ArgumentTypeDescription
code_challengeString!—
redirect_uriString!—

Returns: create_auth_handoff_code_output!


logout

Revoke all sessions for the current user

Returns: logout_output!


Account

Public — 1 operation

confirm_account_deletion

Confirm and schedule account deletion from the emailed link.

Arguments:

ArgumentTypeDescription
tokenString!—

Returns: confirm_account_deletion_output!


Signed-in dashboard only — 6 operations

cancel_account_deletion

Cancel a scheduled account deletion during the grace period.

Returns: cancel_account_deletion_output!


change_avatar

Update your profile picture

Arguments:

ArgumentTypeDescription
avatar_urlString!—

Returns: change_avatar_output!


change_name

Update your display name

Arguments:

ArgumentTypeDescription
nameString!—

Returns: change_name_output!


change_password

Change your password

Arguments:

ArgumentTypeDescription
current_passwordString!—
new_passwordString!—

Returns: change_password_output!


request_account_deletion

Send an email link to confirm account deletion. No changes are made until the link is clicked.

Returns: request_account_deletion_output!


request_avatar_upload

Request an upload URL for a profile picture

Arguments:

ArgumentTypeDescription
content_typeString!—
filenameString!—

Returns: request_avatar_upload_output!


Assets

pipelines:run — 7 operations

abort_multipart_upload

Cancel an in-progress multi-part upload

Arguments:

ArgumentTypeDescription
keyString!—
upload_idString!—

Returns: abort_multipart_upload_output!


cancel_media_import

Stop a running background import

Arguments:

ArgumentTypeDescription
import_idString!—

Returns: import_media_output!


complete_multipart_upload

Finalize a multi-part upload and register the asset

Arguments:

ArgumentTypeDescription
content_typeString!—
keyString!—
parts[multipart_part_input!]!—
tags[String!]—
upload_idString!—

Returns: create_asset_output!


create_asset

Register an uploaded file as an asset

Arguments:

ArgumentTypeDescription
keyString!—
tags[String!]—

Returns: create_asset_output!


import_media_url

Start a background import of a remote link

Arguments:

ArgumentTypeDescription
tags[String!]—
urlString!—

Returns: import_media_output!


request_multipart_upload

Request upload URLs for a large file sent in multiple parts

Arguments:

ArgumentTypeDescription
content_typeString!—
filenameString!—
part_sizebigint—
total_sizebigint!—

Returns: request_multipart_upload_output!


request_upload

Request a direct upload URL for a file

Arguments:

ArgumentTypeDescription
content_typeString!—
filenameString!—

Returns: request_upload_output!


Signed-in dashboard only — 7 operations

delete_asset

Delete an asset

Arguments:

ArgumentTypeDescription
iduuid!—

Returns: delete_asset_output!


update_asset_imports

update data of the table: “asset_imports”

Arguments:

ArgumentTypeDescription
_setasset_imports_set_inputsets the columns of the filtered rows to the given values
whereasset_imports_bool_exp!filter the rows which have to be updated

Returns: asset_imports_mutation_response


update_asset_imports_by_pk

update single row of the table: “asset_imports”

Arguments:

ArgumentTypeDescription
_setasset_imports_set_inputsets the columns of the filtered rows to the given values
pk_columnsasset_imports_pk_columns_input!—

Returns: asset_imports


update_asset_imports_many

update multiples rows of table: “asset_imports”

Arguments:

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

Returns: [asset_imports_mutation_response]


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]


Pipelines

pipelines:run — 2 operations

cancel_pipeline_run

Cancel a running pipeline and refund credits

Arguments:

ArgumentTypeDescription
run_idString!—

Returns: cancel_pipeline_run_output


run_pipeline

Start a pipeline run

Arguments:

ArgumentTypeDescription
inputjsonb!—
pipeline_slugString!—

Returns: run_pipeline_output


Signed-in dashboard only — 3 operations

update_pipeline_runs

update data of the table: “pipeline_runs”

Arguments:

ArgumentTypeDescription
_setpipeline_runs_set_inputsets the columns of the filtered rows to the given values
wherepipeline_runs_bool_exp!filter the rows which have to be updated

Returns: pipeline_runs_mutation_response


update_pipeline_runs_by_pk

update single row of the table: “pipeline_runs”

Arguments:

ArgumentTypeDescription
_setpipeline_runs_set_inputsets the columns of the filtered rows to the given values
pk_columnspipeline_runs_pk_columns_input!—

Returns: pipeline_runs


update_pipeline_runs_many

update multiples rows of table: “pipeline_runs”

Arguments:

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

Returns: [pipeline_runs_mutation_response]


Billing

Signed-in dashboard only — 4 operations

cancel_subscription

Cancel your subscription at the end of the current billing period

Returns: cancel_subscription_output!


cancel_subscription_plan_change

Cancel the current user’s pending downgrade

Returns: cancel_subscription_plan_change_output!


create_payment

Create a payment through the selected provider

Arguments:

ArgumentTypeDescription
attempt_iduuid!—
countryString—
credit_pack_slugString—
currency_idString—
plan_slugString—
providerString!—
recurring_consentBoolean—

Returns: payment_output!


schedule_subscription_plan_change

Schedule a subscription downgrade for the next billing boundary

Arguments:

ArgumentTypeDescription
plan_slugString!—

Returns: subscription_plan_change_output!


Access tokens

Signed-in dashboard only — 2 operations

create_personal_access_token

Create a personal access token for API and MCP access

Arguments:

ArgumentTypeDescription
credit_limitInt—
expires_in_daysInt—
nameString!—
reset_periodString—
scopes[String!]—

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

Signed-in dashboard only — 5 operations

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]


Affiliates

Signed-in dashboard only — 5 operations

add_affiliate_code

Add a new primary affiliate code

Arguments:

ArgumentTypeDescription
codeString!—
redirect_pathString—

Returns: add_affiliate_code_output!


ensure_affiliate

Create an affiliate profile and referral code for the 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]