Salta ai contenuti

Riferimento API

Pipe2.ai espone un’API GraphQL completa. Usa il playground interattivo qui sotto per esplorare lo schema, eseguire query e testare le mutation con il tuo token JWT.

Playground

Endpoint https://api.pipe2.ai/v1/graphql

Explore the full schema, run queries, and test mutations interactively. Set your JWT token in the Headers tab to authenticate.

Open GraphQL Playground Opens Apollo Sandbox in a new tab

Autenticazione

Tutte le richieste richiedono un token Bearer JWT. Ottieni il tuo token dalla dashboard di Pipe2.ai, quindi impostalo nella scheda Headers del playground:

{
"Authorization": "Bearer YOUR_JWT_TOKEN"
}

Esempi rapidi

Elenca tutte le pipeline:

query {
pipelines {
id
name
slug
credit_cost
description
}
}

Esegui una pipeline:

mutation RunPipeline($input: RunPipelineInput!) {
run_pipeline(input: $input) {
pipeline_run_id
}
}

Controlla il tuo saldo di crediti:

mutation {
get_credit_balance {
balance
reserved
available
}
}

Riferimento dello schema

Generato automaticamente dallo schema GraphQL live — utile per la SEO e le consultazioni rapide.