> This page is for version 0.10.
> For other versions, use one of these documentation indexes:
> - Latest (default): https://docs.nvidia.com/nemo-helix/latest/llms.txt
> - 0.10: https://docs.nvidia.com/nemo-helix/v0.10/llms.txt
> - 0.9: https://docs.nvidia.com/nemo-helix/v0.9/llms.txt
> - 0.8: https://docs.nvidia.com/nemo-helix/v0.8/llms.txt
> - 0.7: https://docs.nvidia.com/nemo-helix/v0.7/llms.txt
> - 0.6: https://docs.nvidia.com/nemo-helix/v0.6/llms.txt
> - 0.5: https://docs.nvidia.com/nemo-helix/v0.5/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo-helix/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo-helix/_mcp/server.

# Page Job Logs

GET http://localhost:8080/apis/jobs/v2/workspaces/{workspace}/jobs/{name}/logs

Get paginated logs for a platform job.

Reference: https://docs.nvidia.com/nemo-helix/documentation/reference/api-reference/jobs/page-job-logs-apis-jobs-v-2-workspaces-workspace-jobs-name-logs-get

## Request

### Path parameters

- `name` (string, required)
- `workspace` (string, required)

### Query parameters

- `limit` (integer, optional, default: 100) — Maximum number of logs to return
- `page_cursor` (string, optional) — Page cursor
- `tail` (integer, optional) — Number of newest log lines to return
- `attempt_id` (ApisJobsV2WorkspacesWorkspaceJobsNameLogsGetParametersAttemptId, optional) — Filter logs by job attempt ID or `current`
- `step_id` (string, optional) — Filter logs by step name
- `task_id` (string, optional) — Filter logs by task ID

## Response

### 200

Successful Response

- `data` (list of HelixJobLog, required)
- `total` (integer, required)
- `next_page` (string, required)
- `prev_page` (string, required)

## Errors

### 404 Not Found Error

Job not Found

- `any`

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### ApisJobsV2WorkspacesWorkspaceJobsNameLogsGetParametersAttemptId

Filter logs by job attempt ID or `current`

- string
- integer

### HelixJobLog

- `timestamp` (datetime, required)
- `job` (string, required)
- `job_step` (string, required)
- `job_task` (string, required)
- `message` (string, required)

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)
- `input` (any, optional)
- `ctx` (map from string to any, optional)

### ValidationErrorLocItems

- string
- integer

## Examples

**Response**

```json
{
  "data": [
    {
      "timestamp": "2024-01-15T09:30:00Z",
      "job": "string",
      "job_step": "string",
      "job_task": "string",
      "message": "string"
    }
  ],
  "total": 1,
  "next_page": "string",
  "prev_page": "string"
}
```

**SDK Code**

```python
import requests

url = "http://localhost:8080/apis/jobs/v2/workspaces/workspace/jobs/name/logs"

response = requests.get(url)

print(response.json())
```

```javascript
const url = 'http://localhost:8080/apis/jobs/v2/workspaces/workspace/jobs/name/logs';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```