AS AgentScopeAPI 手册 / API Reference

RegisterRunRequest

public class RegisterRunRequest
源码Source io/agentscope/core/studio/pojo/RegisterRunRequest.java:25–172

注册运行请求,对智能体行为进行评测、追踪与可观测性分析。位于 io.agentscope.core.studio.pojo 包。核心成员包括 getId、getProject、getName、getTimestamp、getPid、getStatus。

Request payload for registering a run with Studio.

This is sent via POST /trpc/registerRun when initializing Studio integration.

嵌套类摘要Nested Class Summary

类Class类型Kind说明Description
Builder类class
构建器,用于构建并配置目标实例。
A class in io.agentscope.core.studio.pojo that evaluates agent behaviour and records tracing and telemetry data.

方法摘要Method Summary

方法Method说明Description
public String getId()
获取标识。
Gets the unique identifier for this run.
public String getProject()
获取 `getProject`。
Gets the project name for this run.
public String getName()
获取运行名称。
Gets the run name.
public String getTimestamp()
获取时间戳。
Gets the timestamp when this run was created.
public long getPid()
获取 `getPid`。
Gets the process ID of the running application.
public String getStatus()
获取当前状态的运行。
Gets the current status of the run.
public String getRunDir()
获取运行目录。
Gets the directory where run artifacts are stored.
public static Builder builder()
static
返回构建器实例。
Returns the builder.

方法详情Method Detail

getId

public String getId()

获取标识。

Gets the unique identifier for this run.

返回Returns String
运行标识。the run ID
源码Source io/agentscope/core/studio/pojo/RegisterRunRequest.java:62–64

getProject

public String getProject()

获取 getProject。

Gets the project name for this run.

返回Returns String
返回字符串结果。the project name
源码Source io/agentscope/core/studio/pojo/RegisterRunRequest.java:71–73

getName

public String getName()

获取运行名称。

Gets the run name.

返回Returns String
运行名称。the run name
源码Source io/agentscope/core/studio/pojo/RegisterRunRequest.java:80–82

getTimestamp

public String getTimestamp()

获取时间戳。

Gets the timestamp when this run was created.

返回Returns String
时间戳,使用 ISO 8601 格式。the timestamp in ISO 8601 format
源码Source io/agentscope/core/studio/pojo/RegisterRunRequest.java:89–91

getPid

public long getPid()

获取 getPid。

Gets the process ID of the running application.

返回Returns long
返回数值结果。the process ID
源码Source io/agentscope/core/studio/pojo/RegisterRunRequest.java:98–100

getStatus

public String getStatus()

获取当前状态的运行。

Gets the current status of the run.

返回Returns String
返回字符串结果。the status (e.g., "running", "completed", "failed")
源码Source io/agentscope/core/studio/pojo/RegisterRunRequest.java:107–109

getRunDir

public String getRunDir()

获取运行目录。

Gets the directory where run artifacts are stored.

返回Returns String
运行目录路径。the run directory path
源码Source io/agentscope/core/studio/pojo/RegisterRunRequest.java:116–118

builder

public static Builder builder()
static

返回构建器实例。

Returns the builder.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/core/studio/pojo/RegisterRunRequest.java:120–122

嵌套类详情Nested Class Detail

Builder

public static class Builder

构建器,用于构建并配置目标实例。位于 io.agentscope.core.studio.pojo 包。核心成员包括 id、project、name、timestamp、pid、status。

A class in io.agentscope.core.studio.pojo that evaluates agent behaviour and records tracing and telemetry data. Declared in io.agentscope.core.studio.pojo.

基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.