---
title: "Stage current and archived vertica logs to a directory specified by ID, Node, and Batch."
method: POST
path: "/scrutinize/{ID}/{Node}/{Batch}/vertica.log"
---

# Stage current and archived vertica logs to a directory specified by ID, Node, and Batch.

`POST /scrutinize/{ID}/{Node}/{Batch}/vertica.log`

## Request

- Base URL: `https://docs.vertica.com/v1`
- URL: `https://docs.vertica.com/v1/scrutinize/{ID}/{Node}/{Batch}/vertica.log`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vertica/apis/node-management-agent-api/docs/scrutinize/:ID/:Node/:Batch/vertica.log/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `ID` string, required
- `Node` string, required
- `Batch` string, required

## Request body

- StageVerticaLogParams: This is used for staging Vertica logs as part of a scrutinize run.
  - `catalog_path` string
  - `log_max_age_hours` integer
  - `log_min_age_hours` integer
  - `log_size_limit_bytes` integer

## Response `200`

- StageVerticaLogResponse[]
  - `mod_time` string
  - `name` string
  - `size_bytes` integer

## Other responses

- `400`: A RFC7807Error is a generated error that follows RFC7807 specification.
- `405`: A RFC7807Error is a generated error that follows RFC7807 specification.
- `500`: A RFC7807Error is a generated error that follows RFC7807 specification.

---

[API](https://skmtc.dev/vertica/apis/node-management-agent-api.md) - [All operations](https://skmtc.dev/vertica/apis/node-management-agent-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vertica/apis/node-management-agent-api/revisions/1d9449e2142a?raw)
