Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex DataSphere
  • Getting started
  • Terraform reference
    • Overview
    • Authentication with the API
      • Overview
        • Overview
          • Overview
          • Create
          • Clone
          • Execute
          • Cancel
          • ReadStdLogs
          • ReadLogs
          • DownloadJobFiles
          • List
          • Get
          • Delete
          • DeleteData
          • DeleteAllData
          • SetDataTtl
  • Audit Trails events
  • Access management
  • Pricing policy
  • Public materials
  • Release notes

In this article:

  • gRPC request
  • ReadProjectJobLogsRequest
  • ReadProjectJobLogsResponse
  • LogMessage
  1. API reference
  2. gRPC
  3. DataSphere Jobs API v2
  4. ProjectJob
  5. ReadLogs

DataSphere Jobs API v2, gRPC: ProjectJobService.ReadLogs

Written by
Yandex Cloud
Updated at November 26, 2024
  • gRPC request
  • ReadProjectJobLogsRequest
  • ReadProjectJobLogsResponse
  • LogMessage

Returns stream of job logs.

gRPC requestgRPC request

rpc ReadLogs (ReadProjectJobLogsRequest) returns (stream ReadProjectJobLogsResponse)

ReadProjectJobLogsRequestReadProjectJobLogsRequest

{
  "job_id": "string",
  "offset": "int64"
}

Field

Description

job_id

string

ID of the job.

offset

int64

Log offset.

ReadProjectJobLogsResponseReadProjectJobLogsResponse

{
  "logs": [
    {
      "content": "bytes",
      "created_at": "google.protobuf.Timestamp",
      // Includes only one of the fields `standard_stream`, `file_path`
      "standard_stream": "StandardStream",
      "file_path": "string"
      // end of the list of possible fields
    }
  ],
  "offset": "int64"
}

Field

Description

logs[]

LogMessage

offset

int64

Log offset.

LogMessageLogMessage

Field

Description

content

bytes

Log message contents.

created_at

google.protobuf.Timestamp

Log message creation timestamp.

standard_stream

enum StandardStream

Program standard streams.

Includes only one of the fields standard_stream, file_path.

  • STANDARD_STREAM_UNSPECIFIED
  • OUT: Stdout.
  • ERR: Stderr.

file_path

string

System debug log files.

Includes only one of the fields standard_stream, file_path.

Was the article helpful?

Previous
ReadStdLogs
Next
DownloadJobFiles
© 2025 Direct Cursus Technology L.L.C.