GraphQL

Query and mutate decli resources — workflows, commands, integrations, and NLP.

The GraphQL endpoint is live at https://api.decli.dev/api/graphql. Open it in your browser for the built-in GraphiQL IDE, or POST queries from any client.

Example query

query {
  health { status version mode }
  me { email name }
  workflows { id name enabled }
}

Example mutation

mutation {
  recordCommand(command: "services status", source: "graphql") {
    id
    command
    createdAt
  }
}

Schema surface

  • Query: health, status, me, interpret, commands, workflows, workflow, integrations
  • Mutation: recordCommand, createWorkflow, updateWorkflow, deleteWorkflow

REST equivalents live under /api/v1 with full OpenAPI documentation.