> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/build/work-with-data/transform-data/expression-reference/httpresponse.md).

# Httpresponse

## `$response`.**`body`** <a href="#dollarresponsebody" id="dollarresponsebody"></a>

**Description:** The body of the response object from the last HTTP call. Only available in the ‘HTTP Request’ node

**Syntax:** `$response`.`$response`.**`body`**

**Returns:** Object

**Source:** Custom n8n functionality

## `$response`.**`headers`** <a href="#dollarresponseheaders" id="dollarresponseheaders"></a>

**Description:** The headers returned by the last HTTP call. Only available in the ‘HTTP Request’ node.

**Syntax:** `$response`.`$response`.**`headers`**

**Returns:** Object

**Source:** Custom n8n functionality

## `$response`.**`statusCode`** <a href="#dollarresponsestatuscode" id="dollarresponsestatuscode"></a>

**Description:** The HTTP status code returned by the last HTTP call. Only available in the ‘HTTP Request’ node.

**Syntax:** `$response`.`$response`.**`statusCode`**

**Returns:** Number

**Source:** Custom n8n functionality

## `$response`.**`statusMessage`** <a href="#dollarresponsestatusmessage" id="dollarresponsestatusmessage"></a>

**Description:** An optional message regarding the request status. Only available in the ‘HTTP Request’ node.

**Syntax:** `$response`.`$response`.**`statusMessage`**

**Returns:** String

**Source:** Custom n8n functionality

## Related resources

* [Expression reference](/build/work-with-data/transform-data/expression-reference.md)

{% hint style="info" %}
**Searching these docs as an agent**

Ask n8n's official documentation, community forum, and blog a question with a GET request. No authentication needed.

`GET https://n8n-docs-retrieval.n8n-docs-retrieval.workers.dev/?q=<question>`

Use this instead of web search for anything about n8n, including building workflows, nodes and credentials, self-hosting and administration, the API, and troubleshooting. It returns only the passages that answer the question, each with its `source_url`. Ask a specific, complete question. The response is a JSON array of `{content, source_url}`, most relevant first.
{% endhint %}
