> For the complete documentation index, see [llms.txt](https://docs.nected.ai/nected-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nected.ai/nected-docs/management-api/audit-log-api/pull-remote-data.md).

# Pull Remote Data

`POST /dev/v1/remote/pull`

Swagger **summary** text says “Get auditLog search result.” The published **`response`** schema in **`swagger-doc.json`** wraps **`data`** as **`response.PullResponse`**: `taskId` and `taskState` (async task tracking), not an audit search payload. Treat the summary line as potentially stale; rely on **`PullResponse`** for client code.

### Authentication

| Header           | Type   | Required | Description                                                                 |
| ---------------- | ------ | -------- | --------------------------------------------------------------------------- |
| `Nected-API-Key` | string | Yes      | Your Nected API key.                                                        |
| `Nected-Branch`  | string | No       | Branch name (optional in Swagger; use when the operation is branch-scoped). |

## Get auditLog search result.

> Published summary from Swagger. \*\*Response \`data\`\*\* is \*\*\`PullResponse\`\*\* (\`taskId\`, \`taskState\`) for tracking an asynchronous operation.\
> \
> Send \*\*\`Nected-API-Key\`\*\* (via \*\*DevAuth\*\*) and optionally \*\*\`Nected-Branch\`\*\* (branch name).

```json
{"openapi":"3.0.3","info":{"title":"Nected Dev V1 — Remote pull","version":"1.0"},"tags":[{"name":"DevV1","description":"Development workspace APIs (API key auth)."}],"servers":[{"url":"https://api.nected.ai","description":"Production"}],"security":[{"DevAuth":[]}],"components":{"securitySchemes":{"DevAuth":{"type":"apiKey","in":"header","name":"Nected-API-Key","description":"Dev API key"}},"schemas":{"Response":{"type":"object","description":"Standard API wrapper (`response.Response` in Swagger 2 definitions).","properties":{"code":{"type":"string"},"message":{"type":"string"},"data":{"type":"object","nullable":true},"pageNo":{"type":"integer"},"pageSize":{"type":"integer"},"totalCount":{"type":"integer"},"totalPages":{"type":"integer"}}},"PullResponse":{"type":"object","description":"Async task handle (`response.PullResponse`).","properties":{"taskId":{"type":"string"},"taskState":{"type":"string"}}}}},"paths":{"/dev/v1/remote/pull":{"post":{"operationId":"postDevV1RemotePull","tags":["DevV1"],"summary":"Get auditLog search result.","description":"Published summary from Swagger. **Response `data`** is **`PullResponse`** (`taskId`, `taskState`) for tracking an asynchronous operation.\n\nSend **`Nected-API-Key`** (via **DevAuth**) and optionally **`Nected-Branch`** (branch name).","parameters":[{"name":"Nected-Branch","in":"header","required":false,"description":"Branch name.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Response"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PullResponse"}}}]}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

## The Response object

```json
{"openapi":"3.0.3","info":{"title":"Nected Dev V1 — Remote pull","version":"1.0"},"components":{"schemas":{"Response":{"type":"object","description":"Standard API wrapper (`response.Response` in Swagger 2 definitions).","properties":{"code":{"type":"string"},"message":{"type":"string"},"data":{"type":"object","nullable":true},"pageNo":{"type":"integer"},"pageSize":{"type":"integer"},"totalCount":{"type":"integer"},"totalPages":{"type":"integer"}}}}}}
```

## The PullResponse object

```json
{"openapi":"3.0.3","info":{"title":"Nected Dev V1 — Remote pull","version":"1.0"},"components":{"schemas":{"PullResponse":{"type":"object","description":"Async task handle (`response.PullResponse`).","properties":{"taskId":{"type":"string"},"taskState":{"type":"string"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nected.ai/nected-docs/management-api/audit-log-api/pull-remote-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
