---
title: "HTTP API Agent"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/nodetool/agents/httpapiagent
markdown: https://docs.nodetool.ai/nodes/nodetool/agents/httpapiagent.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/agents/httpapiagent.md
---

# HTTP API Agent

**Type:** `nodetool.agents.HttpApiAgent`

**Namespace:** `nodetool.agents`

## Description

Call REST and GraphQL APIs and handle the responses from a prompt.
    agent, http, api, rest, graphql

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| model | `language_model` | Model used for API planning and response interpretation. | `{"type":"language_model","provider":"empty","id...` |
| prompt | `str` | Prompt describing the HTTP API task. | `` |
| timeout_seconds | `int` | Maximum runtime for agent execution. | `180` |
| max_output_chars | `int` | Maximum serialized output chars before truncation. | `200000` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| text | `str` |  |

## Related Nodes

Browse other nodes in the [nodetool.agents](./) namespace.
