All Products
Search
Document Center

DataWorks:GetAgentSessionArtifactMeta

Last Updated:Jun 11, 2026

Mengambil metadata dan konten artefak berdasarkan ID sesi dan jalur artefak.

Deskripsi operasi

Description

  • This operation retrieves the metadata and content of a single artifact based on SessionId and ArtifactPath.

  • SessionId and ArtifactPath are required.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Sintaks permintaan

POST  HTTP/1.1

Parameter permintaan

Parameter

Type

Required

Description

Example

Jsonrpc

string

No

Versi JSON-RPC. Nilainya adalah 2.0.

2.0

Id

string

No

ID yang disediakan klien dan akan dikembalikan di tanggapan.

900335678024

Params

object

No

Kontainer untuk parameter bisnis.

SessionId

string

No

The ID of the session.

sess_0f12abc34

ArtifactPath

string

No

The path of the artifact.

mock/mock_report.md

Elemen respons

Element

Type

Description

Example

object

The response schema.

RequestId

string

The ID of the request. You can use it to trace the request in logs.

CE70C54F-A3BD-5C19-88EF-2A7D3451C449

JsonRpcResponse

object

The JSON-RPC response object.

Jsonrpc

string

The JSON-RPC version. The value is 2.0.

2.0

Id

string

The ID from the original request.

300010555

Result

object

Contains the metadata and content of the artifact.

ArtifactPath

string

mock/mock_report.md

ArtifactName

string

mock_report.md

ArtifactContent

string

This is md content

Contoh

Respons sukses

JSONformat

{
  "RequestId": "CE70C54F-A3BD-5C19-88EF-2A7D3451C449",
  "JsonRpcResponse": {
    "Jsonrpc": "2.0",
    "Id": "300010555",
    "Result": {
      "ArtifactPath": "mock/mock_report.md",
      "ArtifactName": "mock_report.md",
      "ArtifactContent": "This is md content"
    }
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.