Package io.agentscope.core.studio.pojo
Class RegisterRunRequest
java.lang.Object
io.agentscope.core.studio.pojo.RegisterRunRequest
Request payload for registering a run with Studio.
This is sent via POST /trpc/registerRun when initializing Studio integration.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RegisterRunRequest.Builderbuilder()getId()Gets the unique identifier for this run.getName()Gets the run name.longgetPid()Gets the process ID of the running application.Gets the project name for this run.Gets the directory where run artifacts are stored.Gets the current status of the run.Gets the timestamp when this run was created.
-
Method Details
-
getId
Gets the unique identifier for this run.- Returns:
- the run ID
-
getProject
Gets the project name for this run.- Returns:
- the project name
-
getName
Gets the run name.- Returns:
- the run name
-
getTimestamp
Gets the timestamp when this run was created.- Returns:
- the timestamp in ISO 8601 format
-
getPid
public long getPid()Gets the process ID of the running application.- Returns:
- the process ID
-
getStatus
Gets the current status of the run.- Returns:
- the status (e.g., "running", "completed", "failed")
-
getRunDir
Gets the directory where run artifacts are stored.- Returns:
- the run directory path
-
builder
-