openapi: 3.1.0 info: title: agents (plugin) version: 0.0.0 paths: /apis/agents/v2/post-run-actions: get: tags: - Agent Post-Run Actions summary: List Post Run Actions description: List every installed post-run action an execute-agent job can set as ``post_run_action.kind``. operationId: list_post_run_actions_apis_agents_v2_post_run_actions_get responses: '200': description: Successful Response content: application/json: schema: items: $ref: '#/components/schemas/PostRunActionInfo' type: array title: Response List Post Run Actions Apis Agents V2 Post Run Actions Get /apis/agents/v2/sample-agent: post: tags: - Sample Agent summary: Create Sample Agent description: Stream provisioning progress; deployment readiness is checked separately. operationId: create_sample_agent_apis_agents_v2_sample_agent_post requestBody: content: application/json: schema: $ref: '#/components/schemas/CreateSampleAgentRequest' required: true responses: '201': description: New sample agent provisioning stream. content: application/x-ndjson: schema: $ref: '#/components/schemas/SampleAgentStreamEvent' '200': description: Existing sample agent resumed or already provisioned. content: application/x-ndjson: schema: $ref: '#/components/schemas/SampleAgentStreamEvent' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/agents: post: tags: - Agents summary: Register Agent description: 'Register an agent: from a config, or of a plugin-managed agent type.' operationId: register_agent_apis_agents_v2_workspaces__workspace__agents_post parameters: - name: workspace in: path required: true schema: type: string title: Workspace requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RegisterAgentRequest' responses: '201': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/Agent' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - Agents summary: List Agents description: 'List all agents in the workspace with pagination and filter support. Filter on a label with ``filter[labels.]=``, and on a plugin-managed agent type with ``filter[plugin_managed_agent.type]=``.' operationId: list_agents_apis_agents_v2_workspaces__workspace__agents_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: sort in: query required: false schema: type: string default: -created_at title: Sort - name: page in: query required: false schema: type: integer minimum: 1 description: Page number. default: 1 title: Page description: Page number. - name: page_size in: query required: false schema: type: integer maximum: 100 minimum: 1 description: Page size. default: 20 title: Page Size description: Page size. - in: query name: filter style: deepObject required: false explode: true schema: $ref: '#/components/schemas/AgentFilter' description: Filter agents by config_format, labels and plugin-managed agent type, e.g. `filter[labels.]=` or `filter[plugin_managed_agent.type]=`. responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/NemoListResponse_Agent_' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/agents/{name}: get: tags: - Agents summary: Get Agent description: Get a specific agent by name. operationId: get_agent_apis_agents_v2_workspaces__workspace__agents__name__get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/Agent' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - Agents summary: Delete Agent description: 'Delete an agent by name. Returns 409 if any deployments in a live state (pending/starting/running) still reference this agent. Delete or wait for those deployments to finish before deleting the agent.' operationId: delete_agent_apis_agents_v2_workspaces__workspace__agents__name__delete parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '204': description: Successful Response '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/compute-specs: post: tags: - Agent Compute Specs summary: Create Compute Spec description: Create a new AgentComputeSpec. operationId: create_compute_spec_apis_agents_v2_workspaces__workspace__compute_specs_post parameters: - name: workspace in: path required: true schema: type: string pattern: ^[\w\-\+.@:]+$ title: Workspace requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateComputeSpecRequest' responses: '201': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/AgentComputeSpec' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - Agent Compute Specs summary: List Compute Specs description: List AgentComputeSpecs in the workspace. operationId: list_compute_specs_apis_agents_v2_workspaces__workspace__compute_specs_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: sort in: query required: false schema: type: string default: -created_at title: Sort - name: page in: query required: false schema: type: integer minimum: 1 description: Page number. default: 1 title: Page description: Page number. - name: page_size in: query required: false schema: type: integer maximum: 100 minimum: 1 description: Page size. default: 20 title: Page Size description: Page size. responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/NemoListResponse_AgentComputeSpec_' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/compute-specs/{name}: get: tags: - Agent Compute Specs summary: Get Compute Spec description: Get an AgentComputeSpec by name. operationId: get_compute_spec_apis_agents_v2_workspaces__workspace__compute_specs__name__get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/AgentComputeSpec' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - Agent Compute Specs summary: Delete Compute Spec description: Delete an AgentComputeSpec by name. operationId: delete_compute_spec_apis_agents_v2_workspaces__workspace__compute_specs__name__delete parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '204': description: Successful Response '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/deployment-modes: get: tags: - Agent Deployments summary: List Deployment Modes description: List every deployment mode and whether this platform can run it. operationId: list_deployment_modes_apis_agents_v2_workspaces__workspace__deployment_modes_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/DeploymentModeList' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/deployments: post: tags: - Agent Deployments summary: Create Deployment description: 'Create a new deployment for an existing agent. The deployment starts in ``pending`` state and is picked up by the deployment controller on its next reconcile cycle.' operationId: create_deployment_apis_agents_v2_workspaces__workspace__deployments_post parameters: - name: workspace in: path required: true schema: type: string title: Workspace requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateDeploymentRequest' responses: '201': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/AgentDeployment' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - Agent Deployments summary: List Deployments description: List all deployments in the workspace with pagination and filter support. operationId: list_deployments_apis_agents_v2_workspaces__workspace__deployments_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: sort in: query required: false schema: type: string default: -created_at title: Sort - name: page in: query required: false schema: type: integer minimum: 1 description: Page number. default: 1 title: Page description: Page number. - name: page_size in: query required: false schema: type: integer maximum: 100 minimum: 1 description: Page size. default: 20 title: Page Size description: Page size. responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/NemoListResponse_AgentDeployment_' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/deployments/{name}: get: tags: - Agent Deployments summary: Get Deployment description: Get a deployment by name. operationId: get_deployment_apis_agents_v2_workspaces__workspace__deployments__name__get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/AgentDeployment' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - Agent Deployments summary: Delete Deployment description: 'Stop and remove a deployment. Marks the deployment as ``deleting``. The controller terminates the subprocess and removes the entity on the next reconcile cycle.' operationId: delete_deployment_apis_agents_v2_workspaces__workspace__deployments__name__delete parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '204': description: Successful Response '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/deployments/{name}/logs: get: tags: - Agent Deployments summary: Get Deployment Logs description: Return the most recent *tail* lines from the deployment's logs. operationId: get_deployment_logs_apis_agents_v2_workspaces__workspace__deployments__name__logs_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name - name: tail in: query required: false schema: type: integer maximum: 10000 minimum: 0 default: 500 title: Tail responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/DeploymentLogsResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/deployments/{name}/logs/stream: get: tags: - Agent Deployments summary: Stream Deployment Logs description: SSE tail-follow of deployment logs; resumes via ``Last-Event-ID``. operationId: stream_deployment_logs_apis_agents_v2_workspaces__workspace__deployments__name__logs_stream_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/environment-specs: post: tags: - Agent Environment Specs summary: Create Environment Spec description: Create a new AgentEnvironmentSpec. operationId: create_environment_spec_apis_agents_v2_workspaces__workspace__environment_specs_post parameters: - name: workspace in: path required: true schema: type: string pattern: ^[\w\-\+.@:]+$ title: Workspace requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateEnvironmentSpecRequest' responses: '201': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/AgentEnvironmentSpec' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - Agent Environment Specs summary: List Environment Specs description: List AgentEnvironmentSpecs in the workspace. operationId: list_environment_specs_apis_agents_v2_workspaces__workspace__environment_specs_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: sort in: query required: false schema: type: string default: -created_at title: Sort - name: page in: query required: false schema: type: integer minimum: 1 description: Page number. default: 1 title: Page description: Page number. - name: page_size in: query required: false schema: type: integer maximum: 100 minimum: 1 description: Page size. default: 20 title: Page Size description: Page size. responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/NemoListResponse_AgentEnvironmentSpec_' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/environment-specs/{name}: get: tags: - Agent Environment Specs summary: Get Environment Spec description: Get an AgentEnvironmentSpec by name. operationId: get_environment_spec_apis_agents_v2_workspaces__workspace__environment_specs__name__get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/AgentEnvironmentSpec' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - Agent Environment Specs summary: Delete Environment Spec description: Delete an AgentEnvironmentSpec by name. operationId: delete_environment_spec_apis_agents_v2_workspaces__workspace__environment_specs__name__delete parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '204': description: Successful Response '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/environments: post: tags: - Agent Environments summary: Create Environment description: Create a new AgentEnvironment. operationId: create_environment_apis_agents_v2_workspaces__workspace__environments_post parameters: - name: workspace in: path required: true schema: type: string pattern: ^[\w\-\+.@:]+$ title: Workspace requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateEnvironmentRequest' responses: '201': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/AgentEnvironment' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - Agent Environments summary: List Environments description: List AgentEnvironments in the workspace. operationId: list_environments_apis_agents_v2_workspaces__workspace__environments_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: sort in: query required: false schema: type: string default: -created_at title: Sort - name: page in: query required: false schema: type: integer minimum: 1 description: Page number. default: 1 title: Page description: Page number. - name: page_size in: query required: false schema: type: integer maximum: 100 minimum: 1 description: Page size. default: 20 title: Page Size description: Page size. responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/NemoListResponse_AgentEnvironment_' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/environments/{name}: get: tags: - Agent Environments summary: Get Environment description: Get an AgentEnvironment by name. operationId: get_environment_apis_agents_v2_workspaces__workspace__environments__name__get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/AgentEnvironment' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - Agent Environments summary: Delete Environment description: Delete an AgentEnvironment by name. operationId: delete_environment_apis_agents_v2_workspaces__workspace__environments__name__delete parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '204': description: Successful Response '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/evaluate: post: tags: - Agents summary: Create Job operationId: create_job_apis_agents_v2_workspaces__workspace__jobs_evaluate_post parameters: - name: workspace in: path required: true schema: type: string title: Workspace requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/EvaluateJobRequest' responses: '201': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/EvaluateJob' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - Agents summary: List Jobs operationId: list_jobs_apis_agents_v2_workspaces__workspace__jobs_evaluate_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: sort in: query required: false schema: allOf: - $ref: '#/components/schemas/EvaluateJobsSortField' description: The field to sort by. To sort in decreasing order, use `-` in front of the field name. default: -created_at description: The field to sort by. To sort in decreasing order, use `-` in front of the field name. - name: page in: query required: false schema: type: integer minimum: 1 description: Page number. default: 1 title: Page description: Page number. - name: page_size in: query required: false schema: type: integer maximum: 1000 minimum: 1 description: Page size. default: 10 title: Page Size description: Page size. - in: query name: filter style: deepObject required: false explode: true schema: $ref: '#/components/schemas/EvaluateJobsListFilter' description: Filter jobs on various criteria. responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/EvaluateJobsPage' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/evaluate/{job}/results/{name}: get: tags: - Agents summary: Get Job Result operationId: get_job_result_apis_agents_v2_workspaces__workspace__jobs_evaluate__job__results__name__get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: job in: path required: true schema: type: string title: Job - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/HelixJobResultResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/evaluate/{job}/results/{name}/download: get: tags: - Agents summary: Download Job Result operationId: download_job_result_apis_agents_v2_workspaces__workspace__jobs_evaluate__job__results__name__download_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: job in: path required: true schema: type: string title: Job - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/octet-stream: schema: type: string format: binary '404': description: Not Found '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/evaluate/{name}: get: tags: - Agents summary: Get Job operationId: get_job_apis_agents_v2_workspaces__workspace__jobs_evaluate__name__get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/EvaluateJob' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' patch: tags: - Agents summary: Update Job operationId: update_job_apis_agents_v2_workspaces__workspace__jobs_evaluate__name__patch parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/EvaluateJobUpdate' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/EvaluateJob' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - Agents summary: Delete Job operationId: delete_job_apis_agents_v2_workspaces__workspace__jobs_evaluate__name__delete parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '204': description: Successful Response '404': description: Job not Found '409': description: Job is not in a terminal state '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/evaluate/{name}/attempts: get: tags: - Agents summary: List Job Attempts operationId: list_job_attempts_apis_agents_v2_workspaces__workspace__jobs_evaluate__name__attempts_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name - name: sort in: query required: false schema: enum: - seq - -seq type: string default: -seq title: Sort - name: filter in: query required: false schema: title: Filter type: string - name: page in: query required: false schema: type: integer minimum: 1 description: Page number. default: 1 title: Page description: Page number. - name: page_size in: query required: false schema: type: integer maximum: 1000 minimum: 1 description: Page size. default: 25 title: Page Size description: Page size. responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/EvaluateJobAttemptsPage' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/evaluate/{name}/attempts/{attempt}: get: tags: - Agents summary: Get Job Attempt operationId: get_job_attempt_apis_agents_v2_workspaces__workspace__jobs_evaluate__name__attempts__attempt__get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name - name: attempt in: path required: true schema: type: string title: Attempt responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/EvaluateJobAttempt' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/evaluate/{name}/cancel: post: tags: - Agents summary: Cancel Job operationId: cancel_job_apis_agents_v2_workspaces__workspace__jobs_evaluate__name__cancel_post parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/EvaluateJob' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/evaluate/{name}/logs: get: tags: - Agents summary: Get Job Logs operationId: get_job_logs_apis_agents_v2_workspaces__workspace__jobs_evaluate__name__logs_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name - name: limit in: query required: false schema: title: Limit type: integer - name: page_cursor in: query required: false schema: title: Page Cursor type: string - name: tail in: query required: false schema: title: Tail type: integer maximum: 10000 exclusiveMinimum: 0 - name: attempt_id in: query required: false schema: title: Attempt Id type: string - name: step_id in: query required: false schema: title: Step Id type: string - name: task_id in: query required: false schema: title: Task Id type: string responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/HelixJobLogPage' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/evaluate/{name}/results: get: tags: - Agents summary: List Job Results operationId: list_job_results_apis_agents_v2_workspaces__workspace__jobs_evaluate__name__results_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name - name: attempt_id in: query required: false schema: title: Attempt Id type: string responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/HelixJobListResultResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/evaluate/{name}/status: get: tags: - Agents summary: Get Job Status operationId: get_job_status_apis_agents_v2_workspaces__workspace__jobs_evaluate__name__status_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/HelixJobStatusResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/execute: post: tags: - Agents summary: Create Job operationId: create_job_apis_agents_v2_workspaces__workspace__jobs_execute_post parameters: - name: workspace in: path required: true schema: type: string title: Workspace requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ExecuteJobRequest' responses: '201': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ExecuteJob' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - Agents summary: List Jobs operationId: list_jobs_apis_agents_v2_workspaces__workspace__jobs_execute_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: sort in: query required: false schema: allOf: - $ref: '#/components/schemas/ExecuteJobsSortField' description: The field to sort by. To sort in decreasing order, use `-` in front of the field name. default: -created_at description: The field to sort by. To sort in decreasing order, use `-` in front of the field name. - name: page in: query required: false schema: type: integer minimum: 1 description: Page number. default: 1 title: Page description: Page number. - name: page_size in: query required: false schema: type: integer maximum: 1000 minimum: 1 description: Page size. default: 10 title: Page Size description: Page size. - in: query name: filter style: deepObject required: false explode: true schema: $ref: '#/components/schemas/ExecuteJobsListFilter' description: Filter jobs on various criteria. responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ExecuteJobsPage' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/execute/{job}/results/{name}: get: tags: - Agents summary: Get Job Result operationId: get_job_result_apis_agents_v2_workspaces__workspace__jobs_execute__job__results__name__get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: job in: path required: true schema: type: string title: Job - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/HelixJobResultResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/execute/{job}/results/{name}/download: get: tags: - Agents summary: Download Job Result operationId: download_job_result_apis_agents_v2_workspaces__workspace__jobs_execute__job__results__name__download_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: job in: path required: true schema: type: string title: Job - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/octet-stream: schema: type: string format: binary '404': description: Not Found '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/execute/{name}: get: tags: - Agents summary: Get Job operationId: get_job_apis_agents_v2_workspaces__workspace__jobs_execute__name__get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ExecuteJob' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' patch: tags: - Agents summary: Update Job operationId: update_job_apis_agents_v2_workspaces__workspace__jobs_execute__name__patch parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ExecuteJobUpdate' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ExecuteJob' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - Agents summary: Delete Job operationId: delete_job_apis_agents_v2_workspaces__workspace__jobs_execute__name__delete parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '204': description: Successful Response '404': description: Job not Found '409': description: Job is not in a terminal state '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/execute/{name}/attempts: get: tags: - Agents summary: List Job Attempts operationId: list_job_attempts_apis_agents_v2_workspaces__workspace__jobs_execute__name__attempts_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name - name: sort in: query required: false schema: enum: - seq - -seq type: string default: -seq title: Sort - name: filter in: query required: false schema: title: Filter type: string - name: page in: query required: false schema: type: integer minimum: 1 description: Page number. default: 1 title: Page description: Page number. - name: page_size in: query required: false schema: type: integer maximum: 1000 minimum: 1 description: Page size. default: 25 title: Page Size description: Page size. responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ExecuteJobAttemptsPage' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/execute/{name}/attempts/{attempt}: get: tags: - Agents summary: Get Job Attempt operationId: get_job_attempt_apis_agents_v2_workspaces__workspace__jobs_execute__name__attempts__attempt__get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name - name: attempt in: path required: true schema: type: string title: Attempt responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ExecuteJobAttempt' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/execute/{name}/cancel: post: tags: - Agents summary: Cancel Job operationId: cancel_job_apis_agents_v2_workspaces__workspace__jobs_execute__name__cancel_post parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ExecuteJob' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/execute/{name}/logs: get: tags: - Agents summary: Get Job Logs operationId: get_job_logs_apis_agents_v2_workspaces__workspace__jobs_execute__name__logs_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name - name: limit in: query required: false schema: title: Limit type: integer - name: page_cursor in: query required: false schema: title: Page Cursor type: string - name: tail in: query required: false schema: title: Tail type: integer maximum: 10000 exclusiveMinimum: 0 - name: attempt_id in: query required: false schema: title: Attempt Id type: string - name: step_id in: query required: false schema: title: Step Id type: string - name: task_id in: query required: false schema: title: Task Id type: string responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/HelixJobLogPage' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/execute/{name}/results: get: tags: - Agents summary: List Job Results operationId: list_job_results_apis_agents_v2_workspaces__workspace__jobs_execute__name__results_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name - name: attempt_id in: query required: false schema: title: Attempt Id type: string responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/HelixJobListResultResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/execute/{name}/status: get: tags: - Agents summary: Get Job Status operationId: get_job_status_apis_agents_v2_workspaces__workspace__jobs_execute__name__status_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/HelixJobStatusResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/package: post: tags: - Agents summary: Create Job operationId: create_job_apis_agents_v2_workspaces__workspace__jobs_package_post parameters: - name: workspace in: path required: true schema: type: string title: Workspace requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PackageAgentJobRequest' responses: '201': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/PackageAgentJob' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - Agents summary: List Jobs operationId: list_jobs_apis_agents_v2_workspaces__workspace__jobs_package_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: sort in: query required: false schema: allOf: - $ref: '#/components/schemas/PackageAgentJobsSortField' description: The field to sort by. To sort in decreasing order, use `-` in front of the field name. default: -created_at description: The field to sort by. To sort in decreasing order, use `-` in front of the field name. - name: page in: query required: false schema: type: integer minimum: 1 description: Page number. default: 1 title: Page description: Page number. - name: page_size in: query required: false schema: type: integer maximum: 1000 minimum: 1 description: Page size. default: 10 title: Page Size description: Page size. - in: query name: filter style: deepObject required: false explode: true schema: $ref: '#/components/schemas/PackageAgentJobsListFilter' description: Filter jobs on various criteria. responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/PackageAgentJobsPage' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/package/{job}/results/{name}: get: tags: - Agents summary: Get Job Result operationId: get_job_result_apis_agents_v2_workspaces__workspace__jobs_package__job__results__name__get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: job in: path required: true schema: type: string title: Job - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/HelixJobResultResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/package/{job}/results/{name}/download: get: tags: - Agents summary: Download Job Result operationId: download_job_result_apis_agents_v2_workspaces__workspace__jobs_package__job__results__name__download_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: job in: path required: true schema: type: string title: Job - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/octet-stream: schema: type: string format: binary '404': description: Not Found '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/package/{name}: get: tags: - Agents summary: Get Job operationId: get_job_apis_agents_v2_workspaces__workspace__jobs_package__name__get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/PackageAgentJob' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' patch: tags: - Agents summary: Update Job operationId: update_job_apis_agents_v2_workspaces__workspace__jobs_package__name__patch parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PackageAgentJobUpdate' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/PackageAgentJob' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - Agents summary: Delete Job operationId: delete_job_apis_agents_v2_workspaces__workspace__jobs_package__name__delete parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '204': description: Successful Response '404': description: Job not Found '409': description: Job is not in a terminal state '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/package/{name}/attempts: get: tags: - Agents summary: List Job Attempts operationId: list_job_attempts_apis_agents_v2_workspaces__workspace__jobs_package__name__attempts_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name - name: sort in: query required: false schema: enum: - seq - -seq type: string default: -seq title: Sort - name: filter in: query required: false schema: title: Filter type: string - name: page in: query required: false schema: type: integer minimum: 1 description: Page number. default: 1 title: Page description: Page number. - name: page_size in: query required: false schema: type: integer maximum: 1000 minimum: 1 description: Page size. default: 25 title: Page Size description: Page size. responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/PackageAgentJobAttemptsPage' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/package/{name}/attempts/{attempt}: get: tags: - Agents summary: Get Job Attempt operationId: get_job_attempt_apis_agents_v2_workspaces__workspace__jobs_package__name__attempts__attempt__get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name - name: attempt in: path required: true schema: type: string title: Attempt responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/PackageAgentJobAttempt' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/package/{name}/cancel: post: tags: - Agents summary: Cancel Job operationId: cancel_job_apis_agents_v2_workspaces__workspace__jobs_package__name__cancel_post parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/PackageAgentJob' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/package/{name}/logs: get: tags: - Agents summary: Get Job Logs operationId: get_job_logs_apis_agents_v2_workspaces__workspace__jobs_package__name__logs_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name - name: limit in: query required: false schema: title: Limit type: integer - name: page_cursor in: query required: false schema: title: Page Cursor type: string - name: tail in: query required: false schema: title: Tail type: integer maximum: 10000 exclusiveMinimum: 0 - name: attempt_id in: query required: false schema: title: Attempt Id type: string - name: step_id in: query required: false schema: title: Step Id type: string - name: task_id in: query required: false schema: title: Task Id type: string responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/HelixJobLogPage' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/package/{name}/results: get: tags: - Agents summary: List Job Results operationId: list_job_results_apis_agents_v2_workspaces__workspace__jobs_package__name__results_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name - name: attempt_id in: query required: false schema: title: Attempt Id type: string responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/HelixJobListResultResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/jobs/package/{name}/status: get: tags: - Agents summary: Get Job Status operationId: get_job_status_apis_agents_v2_workspaces__workspace__jobs_package__name__status_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/HelixJobStatusResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/plugin-managed-agent-types: get: tags: - Plugin-Managed Agent Types summary: List Plugin Managed Agent Types Route description: 'List installed plugin-managed agent types, with this workspace''s agent of each. Create an agent of a type with `POST /agents` and `plugin_managed_agent: {type}`, or `nemo agents create `.' operationId: list_plugin_managed_agent_types_route_apis_agents_v2_workspaces__workspace__plugin_managed_agent_types_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace responses: '200': description: Successful Response content: application/json: schema: type: array items: $ref: '#/components/schemas/PluginManagedAgentTypeInfo' title: Response List Plugin Managed Agent Types Route Apis Agents V2 Workspaces Workspace Plugin Managed Agent Types Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/sessions: post: tags: - Agent Sessions summary: Create Session description: Create a logical conversation for an existing deployment. operationId: create_session_apis_agents_v2_workspaces__workspace__sessions_post parameters: - name: workspace in: path required: true schema: type: string title: Workspace requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateSessionRequest' responses: '201': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/AgentSession' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - Agent Sessions summary: List Sessions description: List the current principal's sessions, optionally filtered by deployment ID. operationId: list_sessions_apis_agents_v2_workspaces__workspace__sessions_get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: sort in: query required: false schema: type: string default: -created_at title: Sort - name: page in: query required: false schema: type: integer minimum: 1 description: Page number. default: 1 title: Page description: Page number. - name: page_size in: query required: false schema: type: integer maximum: 100 minimum: 1 description: Page size. default: 20 title: Page Size description: Page size. - in: query name: filter style: deepObject required: false explode: true schema: $ref: '#/components/schemas/SessionFilter' description: 'Filter results on various criteria. Supports bracket notation (?filter[field][$op]=value), JSON ({"field":{"$op":"value"}}), and text syntax (field:"value"). Operators: $eq (exact match), $like (substring), $lt, $lte, $gt, $gte (comparison), $in, $nin (set membership), $and, $or, $not (logical). Default operator is $eq.' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/NemoListResponse_AgentSession_' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/sessions/{name}: get: tags: - Agent Sessions summary: Get Session description: Get a session by name. operationId: get_session_apis_agents_v2_workspaces__workspace__sessions__name__get parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/AgentSession' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - Agent Sessions summary: Delete Session description: Permanently delete a session by name. operationId: delete_session_apis_agents_v2_workspaces__workspace__sessions__name__delete parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '204': description: Successful Response '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /apis/agents/v2/workspaces/{workspace}/sessions/{name}/close: post: tags: - Agent Sessions summary: Close Session description: Close a session. Closing an already-closed session is idempotent. operationId: close_session_apis_agents_v2_workspaces__workspace__sessions__name__close_post parameters: - name: workspace in: path required: true schema: type: string title: Workspace - name: name in: path required: true schema: type: string title: Name responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/AgentSession' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' components: schemas: Agent: properties: description: type: string title: Description description: Human-readable description of the agent. default: '' config: additionalProperties: true type: object title: Config description: Agent config dict interpreted according to config_format. config_format: type: string title: Config Format description: platform-internal schema version tag for the agent config dict. `nat-workflow-v1` is the default legacy NAT workflow format; `nemo-agents-spec-v1` identifies the Platform-owned agent.yaml spec format. default: nat-workflow-v1 context_schema: title: Context Schema description: 'JSON Schema the per-run `context` of an execute job must match. Checked when the job is created; set `additionalProperties: false` to reject unknown keys. Omit to accept any context.' additionalProperties: true type: object name: type: string title: Name description: Entity name within the workspace default: '' workspace: type: string pattern: ^[\w\-\+.@:]+$ title: Workspace description: Workspace identifier project: title: Project description: The name of the project associated with this entity. type: string default_input: title: Default Input description: Prompt an execute job uses when its request omits `input`. type: string post_run_actions: items: type: string type: array minItems: 1 uniqueItems: true title: Post Run Actions description: Post-run action kinds an execute job of this agent may choose. A job that names none runs 'agents.noop' when it is in the set, or the only member when there is one; otherwise the job must choose. List installed kinds with `nemo agents post-run-actions list`. reference: allOf: - $ref: '#/components/schemas/ReferenceConfigOutput' description: Agent source and container references. labels: additionalProperties: type: string type: object title: Labels description: Key/value labels for filtering and display, never for authorization. Keys are '' or '/' with no dots. plugin_managed_agent: allOf: - $ref: '#/components/schemas/PluginManagedAgentSpec' description: Set when the agent is of a plugin-managed agent type. Its attributes are derived from the installed type whenever the agent is read or run, not stored. List installed types with `nemo agents types`. id: type: string title: Id readOnly: true created_at: title: Created At readOnly: true type: string format: date-time created_by: title: Created By readOnly: true nullable: true type: string updated_at: title: Updated At readOnly: true type: string format: date-time updated_by: title: Updated By readOnly: true nullable: true type: string entity_id: type: string title: Entity Id description: Alias for id for backwards compatibility. readOnly: true parent: title: Parent description: Parent entity ID for nested entities. readOnly: true type: string db_version: type: integer title: Db Version description: Database version of the entity for optimistic locking. readOnly: true type: object required: - workspace - id - created_at - created_by - updated_at - updated_by - entity_id - parent - db_version title: Agent description: "An agent definition \u2014 stores agent config and metadata.\n\ \nEntity type: ``agent``\nPrimary lookup: by ``name`` within a ``workspace``.\n\ \nThe agent's Ethos files live at the locations returned by\n:func:`ethos_file_ref`\ \ and :func:`agent_config_file_ref` \u2014 they\nare **not** stored on the\ \ entity because the paths are fully derivable\nfrom ``(workspace, name)``." AgentComputeSpec: properties: description: type: string title: Description description: Human-readable description. default: '' resources: allOf: - $ref: '#/components/schemas/ComputeResources' description: k8s-style resource requests/limits for the execute container. name: type: string title: Name description: Entity name within the workspace default: '' workspace: type: string pattern: ^[\w\-\+.@:]+$ title: Workspace description: Workspace identifier project: title: Project description: The name of the project associated with this entity. type: string id: type: string title: Id readOnly: true created_at: title: Created At readOnly: true type: string format: date-time created_by: title: Created By readOnly: true nullable: true type: string updated_at: title: Updated At readOnly: true type: string format: date-time updated_by: title: Updated By readOnly: true nullable: true type: string entity_id: type: string title: Entity Id description: Alias for id for backwards compatibility. readOnly: true parent: title: Parent description: Parent entity ID for nested entities. readOnly: true type: string db_version: type: integer title: Db Version description: Database version of the entity for optimistic locking. readOnly: true type: object required: - workspace - id - created_at - created_by - updated_at - updated_by - entity_id - parent - db_version title: AgentComputeSpec description: 'A reusable compute spec (k8s-style resource requests/limits). Entity type: ``agent_compute_spec`` Referenced by an AgentEnvironment''s ``compute_spec`` (by name or inline).' AgentDeployment: properties: name: type: string title: Name description: Entity name within the workspace default: '' workspace: type: string pattern: ^[\w\-\+.@:]+$ title: Workspace description: Workspace identifier project: title: Project description: The name of the project associated with this entity. type: string providers: additionalProperties: $ref: '#/components/schemas/GatewayProviderBinding' type: object title: Providers startup_logs: type: string title: Startup Logs description: Best-effort startup failure log snapshot, at most 500 lines and 64 KiB UTF-8. Retained with this deployment until it is deleted. May contain sensitive application output. default: '' agent: type: string title: Agent description: Name of the Agent entity this deployment is for. default: '' config: additionalProperties: true type: object title: Config description: Resolved agent config with IGW URL injected and any referenced environment spec merged in, written when the deployment is created. environment: anyOf: - type: string title: Reference description: A reference to AgentEnvironmentInline. - $ref: '#/components/schemas/AgentEnvironmentInline' title: Environment description: '"workspace/name" ref to an AgentEnvironment, an inline environment, or None. Snapshotted at create time for provenance; the resolved values live in config/compute/secrets.' compute: allOf: - $ref: '#/components/schemas/ComputeSpecInline' description: Resolved compute snapshot from the referenced environment. Compiled into the container resources for docker/k8s modes; ignored for subprocess. secrets: additionalProperties: type: string type: object title: Secrets description: Resolved secret env references from the referenced environment, as ENV_VAR_NAME -> 'workspace/secret-name'. Compiled into secret-backed container env vars (never plaintext) for docker/k8s modes; ignored for subprocess. source_fileset: title: Source Fileset description: Agent source fileset snapshotted at creation. When absent, stages -ethos. type: string spec_revision: type: string title: Spec Revision description: Revision of the agent spec fileset this deployment last staged, for source-backed filesets (e.g. a GitHub commit SHA). Empty when the fileset has no revision. default: '' spec_tracked_revision: type: string title: Spec Tracked Revision description: Mutable ref the spec fileset tracked when this deployment last staged it (e.g. 'main'). Empty when the fileset was pinned to an immutable id. default: '' status: type: string enum: - pending - starting - running - failed - deleting title: Status description: 'Lifecycle status: pending | starting | running | failed | deleting.' default: pending deployment_mode: type: string enum: - subprocess - docker - k8s - openshell title: Deployment Mode description: Runtime backend for this deployment. 'subprocess' (default) reads the loopback 'endpoint'; 'docker'/'k8s'/'openshell' read the projected 'endpoints'. default: subprocess endpoint: type: string title: Endpoint description: Subprocess loopback endpoint of the agent process (e.g. http://localhost:9001). default: '' endpoints: items: $ref: '#/components/schemas/Endpoint' type: array title: Endpoints description: Routable endpoints for container modes, projected from the deployments-plugin Deployment. Empty for subprocess mode (which uses 'endpoint'). image: type: string title: Image description: Container image for container modes. Empty for subprocess; falls back to AgentsConfig.deployments.default_image. default: '' use_image_entrypoint: type: boolean title: Use Image Entrypoint description: 'Container modes only: preserve the image ENTRYPOINT/CMD instead of injecting the platform-owned NAT/Fabric server command.' default: false plugin_deployment: type: string title: Plugin Deployment description: Name of the linked nemo-deployments Deployment entity. Defaults to this deployment's name when empty (set by the controller on create). default: '' port: type: integer title: Port description: Port the agent process is listening on. default: 0 pid: type: integer title: Pid description: OS process ID of the agent subprocess. default: 0 error: type: string title: Error description: Error message if status is 'failed'. default: '' id: type: string title: Id readOnly: true created_at: title: Created At readOnly: true type: string format: date-time created_by: title: Created By readOnly: true nullable: true type: string updated_at: title: Updated At readOnly: true type: string format: date-time updated_by: title: Updated By readOnly: true nullable: true type: string entity_id: type: string title: Entity Id description: Alias for id for backwards compatibility. readOnly: true parent: title: Parent description: Parent entity ID for nested entities. readOnly: true type: string db_version: type: integer title: Db Version description: Database version of the entity for optimistic locking. readOnly: true auth_context: allOf: - $ref: '#/components/schemas/AuthContext' readOnly: true nullable: true type: object required: - workspace - id - created_at - created_by - updated_at - updated_by - entity_id - parent - db_version title: AgentDeployment description: "A running (or pending) deployment of an Agent.\n\nEntity type:\ \ ``agent_deployment``\nLifecycle: pending \u2192 starting \u2192 running\ \ | failed.\nThe :class:`~nemo_agents_plugin.runner.controller.AgentDeploymentController`\n\ drives state transitions by reconciling this entity against the\n:class:`~nemo_agents_plugin.runner.backend.RunnerBackend`." AgentEnvironment: properties: description: type: string title: Description description: Human-readable description. default: '' environment_spec: anyOf: - type: string title: Reference description: A reference to EnvironmentSpecInline. - $ref: '#/components/schemas/EnvironmentSpecInline' title: Environment Spec description: '"workspace/name" ref to an AgentEnvironmentSpec, an inline spec, or None.' compute_spec: anyOf: - type: string title: Reference description: A reference to ComputeSpecInline. - $ref: '#/components/schemas/ComputeSpecInline' title: Compute Spec description: '"workspace/name" ref to an AgentComputeSpec, an inline spec, or None.' name: type: string title: Name description: Entity name within the workspace default: '' workspace: type: string pattern: ^[\w\-\+.@:]+$ title: Workspace description: Workspace identifier project: title: Project description: The name of the project associated with this entity. type: string id: type: string title: Id readOnly: true created_at: title: Created At readOnly: true type: string format: date-time created_by: title: Created By readOnly: true nullable: true type: string updated_at: title: Updated At readOnly: true type: string format: date-time updated_by: title: Updated By readOnly: true nullable: true type: string entity_id: type: string title: Entity Id description: Alias for id for backwards compatibility. readOnly: true parent: title: Parent description: Parent entity ID for nested entities. readOnly: true type: string db_version: type: integer title: Db Version description: Database version of the entity for optimistic locking. readOnly: true type: object required: - workspace - id - created_at - created_by - updated_at - updated_by - entity_id - parent - db_version title: AgentEnvironment description: 'A composition of an environment spec and a compute spec. Entity type: ``agent_environment`` The single thing an AgentDeployment references. Each part is a ``ref | inline | None`` union so specs can be authored once and reused.' AgentEnvironmentInline: properties: description: type: string title: Description description: Human-readable description. default: '' environment_spec: anyOf: - type: string title: Reference description: A reference to EnvironmentSpecInline. - $ref: '#/components/schemas/EnvironmentSpecInline' title: Environment Spec description: '"workspace/name" ref to an AgentEnvironmentSpec, an inline spec, or None.' compute_spec: anyOf: - type: string title: Reference description: A reference to ComputeSpecInline. - $ref: '#/components/schemas/ComputeSpecInline' title: Compute Spec description: '"workspace/name" ref to an AgentComputeSpec, an inline spec, or None.' type: object title: AgentEnvironmentInline description: 'Inline AgentEnvironment - a composition of environment + compute specs. Each part is a ``ref | inline | None`` union: a ``"workspace/name"`` string references a stored spec entity, an object provides the spec inline, and ``None`` omits it. (A ``sandbox_spec`` is out of scope for now and omitted.)' AgentEnvironmentSpec: properties: description: type: string title: Description description: Human-readable description. default: '' env: additionalProperties: type: string type: object title: Env description: Plaintext, non-secret env vars. secrets: additionalProperties: type: string type: object title: Secrets description: Secret alias -> Secrets-service/plugin ref. model_provider_override: allOf: - $ref: '#/components/schemas/ModelProviderOverride' description: Set only to point at a non-IGW external model provider. provider: type: string title: Provider description: local | docker | opensandbox | k8s. default: local workspace_path: title: Workspace Path description: Workspace path visible to the harness. type: string artifacts_path: title: Artifacts Path description: Provider-specific artifact output location. type: string control_location: title: Control Location description: external_control | in_env_control. type: string ownership: title: Ownership description: caller_owned | fabric_owned. type: string connection: additionalProperties: true type: object title: Connection description: Provider connection metadata (server url, cred ref, namespace). metadata: additionalProperties: true type: object title: Metadata description: Consumer-provided passthrough metadata. settings: additionalProperties: true type: object title: Settings description: Provider-specific settings. mcp: additionalProperties: $ref: '#/components/schemas/McpFulfillment' type: object title: Mcp description: server-name -> fulfillment (url/env/secrets) for an Agent-declared MCP dependency. name: type: string title: Name description: Entity name within the workspace default: '' workspace: type: string pattern: ^[\w\-\+.@:]+$ title: Workspace description: Workspace identifier project: title: Project description: The name of the project associated with this entity. type: string id: type: string title: Id readOnly: true created_at: title: Created At readOnly: true type: string format: date-time created_by: title: Created By readOnly: true nullable: true type: string updated_at: title: Updated At readOnly: true type: string format: date-time updated_by: title: Updated By readOnly: true nullable: true type: string entity_id: type: string title: Entity Id description: Alias for id for backwards compatibility. readOnly: true parent: title: Parent description: Parent entity ID for nested entities. readOnly: true type: string db_version: type: integer title: Db Version description: Database version of the entity for optimistic locking. readOnly: true type: object required: - workspace - id - created_at - created_by - updated_at - updated_by - entity_id - parent - db_version title: AgentEnvironmentSpec description: 'A reusable environment spec (the dependencies an agent reaches). Entity type: ``agent_environment_spec`` Referenced by an AgentEnvironment''s ``environment_spec`` (by name or inline).' AgentFilter: additionalProperties: false description: Query filter for ``GET /v2/workspaces/{workspace}/agents``. properties: config_format: description: Filter to agents with this config format. title: Config Format type: string labels: description: Filter on a label, e.g. `filter[labels.team]=support`. title: Labels additionalProperties: type: string type: object plugin_managed_agent: description: Filter on the plugin-managed agent type ID, e.g. `filter[plugin_managed_agent.type]=`. title: Plugin Managed Agent additionalProperties: type: string type: object title: AgentFilter type: object AgentInline: properties: description: type: string title: Description description: Human-readable description of the agent. default: '' config: additionalProperties: true type: object title: Config description: Agent config dict interpreted according to config_format. config_format: type: string title: Config Format description: platform-internal schema version tag for the agent config dict. `nat-workflow-v1` is the default legacy NAT workflow format; `nemo-agents-spec-v1` identifies the Platform-owned agent.yaml spec format. default: nat-workflow-v1 context_schema: title: Context Schema description: 'JSON Schema the per-run `context` of an execute job must match. Checked when the job is created; set `additionalProperties: false` to reject unknown keys. Omit to accept any context.' additionalProperties: true type: object type: object title: AgentInline description: "Inline Agent - an agent definition without entity identity.\n\n\ The shared shape behind the :class:`Agent` entity: the entity embeds these\n\ fields and adds name/workspace, and a field that accepts an agent can take\n\ either a ``\"workspace/name\"`` ref string or this model. Lets a caller\n\ execute an agent it composes at request time \u2014 models chosen per request,\n\ settings scoped to one run \u2014 without first persisting an Agent.\n\nDeliberately\ \ as permissive as the entity: consumers impose their own\nrequirements rather\ \ than this model narrowing them for everyone. The\n``agents.execute`` job,\ \ for example, accepts only ``nemo-agents-spec-v1``\nand rejects a config\ \ that is not a valid agent spec." AgentSession: properties: name: type: string title: Name description: Entity name within the workspace default: '' workspace: type: string pattern: ^[\w\-\+.@:]+$ title: Workspace description: Workspace identifier project: title: Project description: The name of the project associated with this entity. type: string deployment_id: type: string minLength: 1 title: Deployment Id description: Immutable ID of the AgentDeployment this session belongs to. status: allOf: - $ref: '#/components/schemas/SessionStatus' description: 'Lifecycle status: active | expired | lost | closed.' default: active first_active_at: title: First Active At description: UTC timestamp of the first accepted invocation; immutable once set. nullable: true type: string format: date-time last_active_at: title: Last Active At description: UTC timestamp of the latest accepted or completed invocation; null until the first invocation is accepted. nullable: true type: string format: date-time expires_at: title: Expires At description: UTC rolling idle deadline derived from the latest session activity. nullable: true type: string format: date-time id: type: string title: Id readOnly: true created_at: title: Created At readOnly: true type: string format: date-time created_by: title: Created By readOnly: true nullable: true type: string updated_at: title: Updated At readOnly: true type: string format: date-time updated_by: title: Updated By readOnly: true nullable: true type: string entity_id: type: string title: Entity Id description: Alias for id for backwards compatibility. readOnly: true parent: title: Parent description: Parent entity ID for nested entities. readOnly: true type: string db_version: type: integer title: Db Version description: Database version of the entity for optimistic locking. readOnly: true session_uuid: type: string title: Session Uuid description: Unique identifier for the session. Can be used to group and retrieve the session's traces in Intake. readOnly: true type: object required: - workspace - deployment_id - id - created_at - created_by - updated_at - updated_by - entity_id - parent - db_version - session_uuid title: AgentSession description: 'A durable logical conversation associated with an AgentDeployment. The session entity owns Platform-level conversation identity only. Live harness state remains process-local to the deployment''s serving runtime.' AgentWorkdir: properties: base_workdir: title: Base Workdir description: Optional Files reference for the initial working directory. type: string artifact_mounts: items: $ref: '#/components/schemas/AgentWorkdirArtifactMount' type: array title: Artifact Mounts description: Optional fileset artifacts to layer into the working directory. type: object title: AgentWorkdir AgentWorkdirArtifactMount: properties: ref: type: string title: Ref mount_path: type: string title: Mount Path type: object required: - ref - mount_path title: AgentWorkdirArtifactMount AuthContext: properties: principal_id: type: string title: Principal Id description: The principal's unique identifier principal_account_id: title: Principal Account Id description: Stable NeMo account identifier for the principal type: string principal_email: title: Principal Email description: The principal's email address type: string principal_groups: items: type: string type: array title: Principal Groups description: Groups the principal belongs to principal_authz_aliases: items: type: string type: array title: Principal Authz Aliases description: Alternate trusted identifiers for the principal principal_on_behalf_of: title: Principal On Behalf Of description: If acting on behalf of another principal, their principal ID type: string principal_on_behalf_of_groups: title: Principal On Behalf Of Groups description: Groups the on-behalf-of principal belongs to items: type: string type: array principal_on_behalf_of_email: title: Principal On Behalf Of Email description: The on-behalf-of principal's email address type: string principal_on_behalf_of_account_id: title: Principal On Behalf Of Account Id description: Stable NeMo account identifier for the on-behalf-of principal type: string principal_on_behalf_of_authz_aliases: items: type: string type: array title: Principal On Behalf Of Authz Aliases description: Alternate trusted identifiers for the on-behalf-of principal type: object required: - principal_id title: AuthContext description: Auth context captured at resource creation for delegated access. ComputeResources: properties: limits: additionalProperties: type: string type: object title: Limits description: k8s resource limits (e.g. cpu, memory, nvidia.com/gpu). requests: additionalProperties: type: string type: object title: Requests description: k8s resource requests. type: object title: ComputeResources description: 'Kubernetes-style resource requests/limits. Mirrors ``nemo_deployments_plugin.entities.ResourceRequirements`` so the agents entity schema does not depend on the deployments plugin. Compiled into the execute container''s resources for container deployment modes.' ComputeSpecInline: properties: description: type: string title: Description description: Human-readable description. default: '' resources: allOf: - $ref: '#/components/schemas/ComputeResources' description: k8s-style resource requests/limits for the execute container. type: object title: ComputeSpecInline description: Inline compute spec - the resources an invocation runs with. CreateComputeSpecRequest: properties: description: type: string title: Description description: Human-readable description. default: '' resources: allOf: - $ref: '#/components/schemas/ComputeResources' description: k8s-style resource requests/limits for the execute container. name: type: string title: Name description: Unique compute-spec name within the workspace. type: object required: - name title: CreateComputeSpecRequest description: Request body for ``POST /v2/workspaces/{workspace}/compute-specs``. CreateDeploymentRequest: properties: agent: type: string title: Agent description: Name of the Agent to deploy. name: title: Name description: Optional deployment name. Auto-generated from agent name + random suffix if omitted. type: string deployment_mode: type: string enum: - subprocess - docker - k8s - openshell title: Deployment Mode description: 'Runtime backend: subprocess (default), docker, k8s, or openshell.' default: subprocess image: type: string title: Image description: Container image for docker/k8s/openshell modes. When omitted, uses the agent's reference.container_image, then deployments.default_image. Ignored for subprocess. default: '' use_image_entrypoint: type: boolean title: Use Image Entrypoint description: For docker/k8s modes, leave the container command and args empty so the image's ENTRYPOINT/CMD starts the agent server. default: false environment: anyOf: - type: string title: Reference description: A reference to AgentEnvironmentInline. - $ref: '#/components/schemas/AgentEnvironmentInline' title: Environment description: 'Optional AgentEnvironment: a "workspace/name" ref, an inline environment, or None. Resolved and snapshotted onto the deployment at create time.' type: object required: - agent title: CreateDeploymentRequest description: Request body for ``POST /v2/workspaces/{workspace}/deployments``. CreateEnvironmentRequest: properties: description: type: string title: Description description: Human-readable description. default: '' environment_spec: anyOf: - type: string title: Reference description: A reference to EnvironmentSpecInline. - $ref: '#/components/schemas/EnvironmentSpecInline' title: Environment Spec description: '"workspace/name" ref to an AgentEnvironmentSpec, an inline spec, or None.' compute_spec: anyOf: - type: string title: Reference description: A reference to ComputeSpecInline. - $ref: '#/components/schemas/ComputeSpecInline' title: Compute Spec description: '"workspace/name" ref to an AgentComputeSpec, an inline spec, or None.' name: type: string title: Name description: Unique environment name within the workspace. type: object required: - name title: CreateEnvironmentRequest description: Request body for ``POST /v2/workspaces/{workspace}/environments``. CreateEnvironmentSpecRequest: properties: description: type: string title: Description description: Human-readable description. default: '' env: additionalProperties: type: string type: object title: Env description: Plaintext, non-secret env vars. secrets: additionalProperties: type: string type: object title: Secrets description: Secret alias -> Secrets-service/plugin ref. model_provider_override: allOf: - $ref: '#/components/schemas/ModelProviderOverride' description: Set only to point at a non-IGW external model provider. provider: type: string title: Provider description: local | docker | opensandbox | k8s. default: local workspace_path: title: Workspace Path description: Workspace path visible to the harness. type: string artifacts_path: title: Artifacts Path description: Provider-specific artifact output location. type: string control_location: title: Control Location description: external_control | in_env_control. type: string ownership: title: Ownership description: caller_owned | fabric_owned. type: string connection: additionalProperties: true type: object title: Connection description: Provider connection metadata (server url, cred ref, namespace). metadata: additionalProperties: true type: object title: Metadata description: Consumer-provided passthrough metadata. settings: additionalProperties: true type: object title: Settings description: Provider-specific settings. mcp: additionalProperties: $ref: '#/components/schemas/McpFulfillment' type: object title: Mcp description: server-name -> fulfillment (url/env/secrets) for an Agent-declared MCP dependency. name: type: string title: Name description: Unique environment-spec name within the workspace. additionalProperties: false type: object required: - name title: CreateEnvironmentSpecRequest description: Request body for ``POST /v2/workspaces/{workspace}/environment-specs``. CreateSampleAgentRequest: properties: model: type: string title: Model description: Workspace-qualified model entity, for example default/my-model. type: object required: - model title: CreateSampleAgentRequest description: Model to use when provisioning the packaged email security sample. CreateSessionRequest: properties: deployment_id: type: string minLength: 1 title: Deployment Id description: ID of the AgentDeployment to create a session for. name: title: Name description: Optional session name. Auto-generated from deployment name + random suffix if omitted. type: string type: object required: - deployment_id title: CreateSessionRequest description: Request body for ``POST /v2/workspaces/{workspace}/sessions``. DatetimeFilter: additionalProperties: false properties: $gte: description: Filter for results greater than or equal to this datetime. title: $Gte format: date-time type: string $lte: description: Filter for results less than or equal to this datetime. title: $Lte format: date-time type: string title: DatetimeFilter type: object DeploymentLogsResponse: properties: data: items: $ref: '#/components/schemas/LogLine' type: array title: Data total_lines: type: integer title: Total Lines description: Number of lines actually returned. next_offset: anyOf: - type: integer - type: string title: Next Offset description: Resume cursor; pass as Last-Event-ID to continue the stream without gaps. type: object required: - data - total_lines - next_offset title: DeploymentLogsResponse description: Response body for ``GET /deployments/{name}/logs``. DeploymentModeAvailability: properties: mode: type: string enum: - subprocess - docker - k8s - openshell title: Mode description: The deployment mode. enabled: type: boolean title: Enabled description: True when a deployment in this mode would run on a matching executor backend. requires_image: type: boolean title: Requires Image description: True when a deployment in this mode must set 'image' because no default image is configured. type: object required: - mode - enabled - requires_image title: DeploymentModeAvailability description: Whether this platform can run deployments in one ``deployment_mode``. DeploymentModeList: properties: data: items: $ref: '#/components/schemas/DeploymentModeAvailability' type: array title: Data type: object required: - data title: DeploymentModeList description: Response for ``GET /v2/workspaces/{workspace}/deployment-modes``. Endpoint: properties: name: type: string title: Name url: type: string title: Url protocol: type: string enum: - http - https - grpc - tcp title: Protocol default: http type: object required: - name - url title: Endpoint description: 'A routable network endpoint for a deployment. Mirrors ``nemo_deployments_plugin.types.Endpoint`` so container-mode deployments can carry the address the deployments-plugin ``Deployment`` projected without the agents plugin depending on that plugin at the entity-schema layer.' EnvironmentSpecInline: properties: description: type: string title: Description description: Human-readable description. default: '' env: additionalProperties: type: string type: object title: Env description: Plaintext, non-secret env vars. secrets: additionalProperties: type: string type: object title: Secrets description: Secret alias -> Secrets-service/plugin ref. model_provider_override: allOf: - $ref: '#/components/schemas/ModelProviderOverride' description: Set only to point at a non-IGW external model provider. provider: type: string title: Provider description: local | docker | opensandbox | k8s. default: local workspace_path: title: Workspace Path description: Workspace path visible to the harness. type: string artifacts_path: title: Artifacts Path description: Provider-specific artifact output location. type: string control_location: title: Control Location description: external_control | in_env_control. type: string ownership: title: Ownership description: caller_owned | fabric_owned. type: string connection: additionalProperties: true type: object title: Connection description: Provider connection metadata (server url, cred ref, namespace). metadata: additionalProperties: true type: object title: Metadata description: Consumer-provided passthrough metadata. settings: additionalProperties: true type: object title: Settings description: Provider-specific settings. mcp: additionalProperties: $ref: '#/components/schemas/McpFulfillment' type: object title: Mcp description: server-name -> fulfillment (url/env/secrets) for an Agent-declared MCP dependency. additionalProperties: false type: object title: EnvironmentSpecInline description: 'Inline environment spec - the dependencies and configuration an agent reaches. This is the fulfillment half of a request/fulfill split: the Agent declares the dependencies it needs; the EnvironmentSpec provides concrete endpoints and secret references. It compiles into the agent.yaml / FabricConfig and the injected process environment.' EvaluateAgentSpec: properties: agent: title: Agent description: "Agent to evaluate against \u2014 either a platform-managed\ \ agent reference (e.g. 'calculator', 'workspace/calculator') or an HTTP(S)\ \ endpoint URL (e.g. 'http://localhost:8080'). Bare names resolve to\ \ the platform gateway URL '{base_url}/apis/agents/v2/workspaces/{workspace}/agents/{name}/-';\ \ URLs are passed through to 'nat eval --endpoint' verbatim. When omitted,\ \ the eval config must include an inline agent workflow." type: string eval_config: type: string title: Eval Config description: Path to the NAT evaluation YAML config file. eval_config_fileset: title: Eval Config Fileset description: Optional fileset reference (``name`` or ``workspace/name``). When set, the runner downloads the fileset's contents into a tempdir and resolves ``eval_config`` relative to that dir. Local CLI runs leave this ``None``. type: string output: title: Output description: "Where to write eval outputs \u2014 either a local directory\ \ (path-shaped: starts with '/', './', '../', '~/') or a NeMo Helix fileset\ \ reference ('name' or 'workspace/name'). Filesets are created on demand\ \ if missing. Defaults to /results (the platform-injected\ \ persistent volume) when not provided." type: string workspace: type: string title: Workspace description: Workspace name used to construct the Inference Gateway URL when injecting base_url into judge LLMs that have none set, and to resolve --agent / --output to gateway endpoints / fileset names when given a bare name. default: default type: object required: - eval_config title: EvaluateAgentSpec description: "Spec for an agent evaluation job.\n\nField declaration order also\ \ drives the auto-generated CLI flag\norder \u2014 keep the most-frequently-set\ \ knobs first.\n\nAttributes:\n agent: The agent to evaluate against. \ \ Accepts either a\n platform-managed agent reference (``\"name\"``\ \ or\n ``\"workspace/name\"``) or a literal HTTP(S) endpoint URL. \ \ The\n shape is auto-detected at run time \u2014 values containing\n\ \ ``\"://\"`` are treated as URLs (and forwarded to\n ``nat\ \ eval --endpoint`` verbatim); anything else is resolved\n to the platform\ \ gateway URL\n ``{base_url}/apis/agents/v2/workspaces/{workspace}/agents/{name}/-``.\n\ \ When ``None`` the eval config is expected to include an\n \ \ inline agent workflow.\n eval_config: Path to the NAT evaluation YAML\ \ config file. When\n ``eval_config_fileset`` is set, this is interpreted\ \ relative\n to the downloaded fileset's contents.\n eval_config_fileset:\ \ Optional fileset reference (``name`` or\n ``workspace/name``) that\ \ pre-stages the eval YAML and any\n sibling files (e.g. dataset).\ \ Used by platform-managed\n submissions where the ``agents.evaluate-agent``\ \ function\n uploads everything before submitting; local CLI runs leave\n\ \ this ``None`` and let ``eval_config`` be a real local path.\n \ \ output: Where to put the eval outputs. Accepts either a local\n \ \ directory path (``./out``, ``/abs/out``, ``~/out``) or an\n NeMo\ \ Helix fileset reference (``\"name\"`` or ``\"workspace/name\"``).\n \ \ Path-shaped values write directly to disk; bare names upload\n \ \ results to the named fileset, creating it on demand. When\n ``None``\ \ the job writes to ``ctx.storage.persistent /\n \"results\"`` \u2014\ \ the platform-injected persistent volume in\n container runs, a tempdir\ \ under ``$TMPDIR`` for local CLI\n runs.\n workspace: NeMo Helix\ \ workspace used to scope gateway URL injection,\n ``--agent`` resolution,\ \ and ``--output`` fileset creation\n when those values are given as\ \ bare names." EvaluateJob: properties: id: title: Id type: string attempt_id: title: Attempt Id type: string name: type: string title: Name description: title: Description type: string project: title: Project type: string workspace: title: Workspace type: string created_at: title: Created At type: string format: date-time updated_at: title: Updated At type: string format: date-time spec: $ref: '#/components/schemas/EvaluateAgentSpec' status: $ref: '#/components/schemas/HelixJobStatus' status_details: title: Status Details additionalProperties: true type: object error_details: title: Error Details additionalProperties: true type: object ownership: title: Ownership additionalProperties: true type: object custom_fields: title: Custom Fields additionalProperties: true type: object control: $ref: '#/components/schemas/JobControl' type: object required: - name - spec title: EvaluateJob EvaluateJobAttempt: properties: id: type: string title: Id name: type: string title: Name job: type: string title: Job workspace: type: string title: Workspace seq: type: integer title: Seq spec: $ref: '#/components/schemas/EvaluateAgentSpec' status: $ref: '#/components/schemas/HelixJobStatus' status_details: additionalProperties: true type: object title: Status Details error_details: title: Error Details additionalProperties: true type: object created_at: type: string format: date-time title: Created At updated_at: type: string format: date-time title: Updated At is_current: type: boolean title: Is Current type: object required: - id - name - job - workspace - seq - spec - status - created_at - updated_at - is_current title: EvaluateJobAttempt EvaluateJobAttemptsPage: properties: data: items: $ref: '#/components/schemas/EvaluateJobAttempt' type: array title: Data pagination: allOf: - $ref: '#/components/schemas/PaginationData' description: Pagination information. sort: title: Sort description: The field on which the results are sorted. type: string filter: title: Filter description: Filtering information. additionalProperties: true type: object type: object required: - data title: EvaluateJobAttemptsPage EvaluateJobRequest: properties: name: title: Name type: string maxLength: 63 pattern: ^[a-z](?!.*--)[a-z0-9\-@.+_]{1,62}(? Secrets-service ref, merged into the MCP server env at compile. type: object required: - url title: McpFulfillment description: 'EnvironmentSpec-side fulfillment for one MCP server the Agent declares. The Agent DECLARES an MCP dependency by name; the EnvironmentSpec PROVIDES the url + env + secrets for that same name. Matched by server-name key at compile time; ``secrets`` are merged into the server''s ``env``.' ModelProviderOverride: properties: base_url: type: string title: Base Url description: External model-provider endpoint. api_key: title: Api Key description: Secrets-service ref for the provider API key (only needed for external providers). type: string provider: title: Provider description: Provider selector (e.g. "openai", "anthropic"). type: string type: object required: - base_url title: ModelProviderOverride description: 'Exceptional external model-provider override. Null in the normal case: model selection is on the Agent and the provider URL is the Inference Gateway (auto-injected). Set ONLY to point the agent at a non-IGW external provider endpoint.' NemoListResponse_AgentComputeSpec_: properties: data: items: $ref: '#/components/schemas/AgentComputeSpec' type: array title: Data pagination: allOf: - $ref: '#/components/schemas/PaginationData' description: "Pagination metadata \u2014 page, page_size, total_results,\ \ etc." sort: title: Sort description: Sort field applied to this result set (e.g. '-created_at'). type: string filter: title: Filter description: Filter criteria echoed back from the request. type: object required: - data title: NemoListResponse_AgentComputeSpec_ NemoListResponse_AgentDeployment_: properties: data: items: $ref: '#/components/schemas/AgentDeployment' type: array title: Data pagination: allOf: - $ref: '#/components/schemas/PaginationData' description: "Pagination metadata \u2014 page, page_size, total_results,\ \ etc." sort: title: Sort description: Sort field applied to this result set (e.g. '-created_at'). type: string filter: title: Filter description: Filter criteria echoed back from the request. type: object required: - data title: NemoListResponse_AgentDeployment_ NemoListResponse_AgentEnvironmentSpec_: properties: data: items: $ref: '#/components/schemas/AgentEnvironmentSpec' type: array title: Data pagination: allOf: - $ref: '#/components/schemas/PaginationData' description: "Pagination metadata \u2014 page, page_size, total_results,\ \ etc." sort: title: Sort description: Sort field applied to this result set (e.g. '-created_at'). type: string filter: title: Filter description: Filter criteria echoed back from the request. type: object required: - data title: NemoListResponse_AgentEnvironmentSpec_ NemoListResponse_AgentEnvironment_: properties: data: items: $ref: '#/components/schemas/AgentEnvironment' type: array title: Data pagination: allOf: - $ref: '#/components/schemas/PaginationData' description: "Pagination metadata \u2014 page, page_size, total_results,\ \ etc." sort: title: Sort description: Sort field applied to this result set (e.g. '-created_at'). type: string filter: title: Filter description: Filter criteria echoed back from the request. type: object required: - data title: NemoListResponse_AgentEnvironment_ NemoListResponse_AgentSession_: properties: data: items: $ref: '#/components/schemas/AgentSession' type: array title: Data pagination: allOf: - $ref: '#/components/schemas/PaginationData' description: "Pagination metadata \u2014 page, page_size, total_results,\ \ etc." sort: title: Sort description: Sort field applied to this result set (e.g. '-created_at'). type: string filter: title: Filter description: Filter criteria echoed back from the request. type: object required: - data title: NemoListResponse_AgentSession_ NemoListResponse_Agent_: properties: data: items: $ref: '#/components/schemas/Agent' type: array title: Data pagination: allOf: - $ref: '#/components/schemas/PaginationData' description: "Pagination metadata \u2014 page, page_size, total_results,\ \ etc." sort: title: Sort description: Sort field applied to this result set (e.g. '-created_at'). type: string filter: title: Filter description: Filter criteria echoed back from the request. type: object required: - data title: NemoListResponse_Agent_ PackageAgentInput: properties: agent: type: string title: Agent description: Name of the Agent entity to package. tag: title: Tag description: Image name and optional tag, always nested under 'nemo-agents/{workspace}/'. Defaults to '{agent_name}-{agent_id}:{agent_version}'. type: string pattern: ^[a-z0-9][a-z0-9._-]*(:[a-zA-Z0-9_][a-zA-Z0-9._-]{0,127})?$ base_image_url: title: Base Image Url description: Base image repository override (e.g. 'nvcr.io/nvidia/base/ubuntu'). type: string pattern: ^[a-zA-Z0-9][a-zA-Z0-9._-]*(:[0-9]+)?(/[a-zA-Z0-9][a-zA-Z0-9._-]*)*$ base_image_tag: title: Base Image Tag description: Base image tag override (e.g. 'noble-20260217'). type: string pattern: ^[a-zA-Z0-9_][a-zA-Z0-9._-]{0,127}$ python_version: title: Python Version description: Python version baked into the image (e.g. '3.13'). type: string pattern: ^[0-9]+(\.[0-9]+){0,2}$ uv_version: title: Uv Version description: uv version baked into the image (e.g. '0.9.14'). type: string pattern: ^[0-9]+(\.[0-9]+){0,2}$ allow_root: type: boolean title: Allow Root description: Run the agent as root instead of the 'agent' user. default: false sandbox_runtime: title: Sandbox Runtime description: Render an image compatible with a sandbox runtime (e.g. 'openshell'). type: string agent_version: title: Agent Version description: OCI image version label override. type: string agent_author: title: Agent Author description: OCI image authors label override. type: string skip_validation: type: boolean title: Skip Validation description: Bypass Fabric package validation before building. default: false registry: title: Registry description: 'Push the built image to this registry (e.g. ''nvcr.io/my-org''). The host executing the push must already be authenticated to it: the local machine for direct CLI invocation, or the platform''s job-execution host for remote execution or the REST API. Credentials are never accepted over this API.' type: string pattern: ^[a-zA-Z0-9][a-zA-Z0-9._-]*(:[0-9]+)?(/[a-zA-Z0-9][a-zA-Z0-9._-]*)*$ push_tag: title: Push Tag description: "Fully-qualified remote tag. Defaults to '/',\ \ where is the namespaced local reference 'nemo-agents/{workspace}/{tag}'.\ \ Requires 'registry'. Must start with '/nemo-agents/{workspace}/'\ \ \u2014 Docker tags are daemon-global while the auth boundary here is\ \ the workspace, so an unscoped push_tag would let this workspace overwrite\ \ another workspace's image, or redirect the push to a registry other\ \ than the one declared." type: string pattern: ^[a-zA-Z0-9][a-zA-Z0-9._-]*(:[0-9]+)?(/[a-zA-Z0-9][a-zA-Z0-9._-]*)*(:[a-zA-Z0-9_][a-zA-Z0-9._-]{0,127})?$ additionalProperties: false type: object required: - agent title: PackageAgentInput description: 'What a caller POSTs: an agent name plus the packaging knobs.' PackageAgentJob: properties: id: title: Id type: string attempt_id: title: Attempt Id type: string name: type: string title: Name description: title: Description type: string project: title: Project type: string workspace: title: Workspace type: string created_at: title: Created At type: string format: date-time updated_at: title: Updated At type: string format: date-time spec: $ref: '#/components/schemas/PackageAgentSpec' status: $ref: '#/components/schemas/HelixJobStatus' status_details: title: Status Details additionalProperties: true type: object error_details: title: Error Details additionalProperties: true type: object ownership: title: Ownership additionalProperties: true type: object custom_fields: title: Custom Fields additionalProperties: true type: object control: $ref: '#/components/schemas/JobControl' type: object required: - name - spec title: PackageAgentJob PackageAgentJobAttempt: properties: id: type: string title: Id name: type: string title: Name job: type: string title: Job workspace: type: string title: Workspace seq: type: integer title: Seq spec: $ref: '#/components/schemas/PackageAgentSpec' status: $ref: '#/components/schemas/HelixJobStatus' status_details: additionalProperties: true type: object title: Status Details error_details: title: Error Details additionalProperties: true type: object created_at: type: string format: date-time title: Created At updated_at: type: string format: date-time title: Updated At is_current: type: boolean title: Is Current type: object required: - id - name - job - workspace - seq - spec - status - created_at - updated_at - is_current title: PackageAgentJobAttempt PackageAgentJobAttemptsPage: properties: data: items: $ref: '#/components/schemas/PackageAgentJobAttempt' type: array title: Data pagination: allOf: - $ref: '#/components/schemas/PaginationData' description: Pagination information. sort: title: Sort description: The field on which the results are sorted. type: string filter: title: Filter description: Filtering information. additionalProperties: true type: object type: object required: - data title: PackageAgentJobAttemptsPage PackageAgentJobRequest: properties: name: title: Name type: string maxLength: 63 pattern: ^[a-z](?!.*--)[a-z0-9\-@.+_]{1,62}(?/',\ \ where is the namespaced local reference 'nemo-agents/{workspace}/{tag}'.\ \ Requires 'registry'. Must start with '/nemo-agents/{workspace}/'\ \ \u2014 Docker tags are daemon-global while the auth boundary here is\ \ the workspace, so an unscoped push_tag would let this workspace overwrite\ \ another workspace's image, or redirect the push to a registry other\ \ than the one declared." type: string pattern: ^[a-zA-Z0-9][a-zA-Z0-9._-]*(:[0-9]+)?(/[a-zA-Z0-9][a-zA-Z0-9._-]*)*(:[a-zA-Z0-9_][a-zA-Z0-9._-]{0,127})?$ workspace: type: string title: Workspace description: Workspace owning the agent. default: '' agent_config: additionalProperties: true type: object title: Agent Config description: Resolved agent config. source_fileset: title: Source Fileset description: Source fileset referenced by the agent. type: string additionalProperties: false type: object required: - agent title: PackageAgentSpec description: "Canonical spec \u2014 the agent's config resolved inline by :meth:`PackageAgentJob.to_spec`." PaginationData: properties: page: type: integer title: Page description: The current page number. page_size: type: integer title: Page Size description: The page size used for the query. current_page_size: type: integer title: Current Page Size description: The size for the current page. total_pages: type: integer title: Total Pages description: The total number of pages. total_results: type: integer title: Total Results description: The total number of results. type: object required: - page - page_size - current_page_size - total_pages - total_results title: PaginationData PluginManagedAgentSpec: properties: type: type: string pattern: ^[a-z0-9][a-z0-9_-]*(\.[a-z0-9][a-z0-9_-]*)+$ title: Type description: Plugin-managed agent type ID, of the form '.'. additionalProperties: false type: object required: - type title: PluginManagedAgentSpec description: Defines an agent as managed by a plugin. PluginManagedAgentTypeInfo: properties: type: type: string title: Type description: 'Type ID to create an agent with: `nemo agents create `.' title: type: string title: Title description: Human-readable name of the type. description: type: string title: Description description: One-line summary of what agents of this type do. default_name: type: string title: Default Name description: Name an agent of this type gets when created without one. adapter_id: type: string title: Adapter Id description: Fabric adapter that runs agents of this type. context_schema: additionalProperties: true type: object title: Context Schema description: JSON Schema of the per-run context an execute job passes. post_run_actions: items: type: string type: array title: Post Run Actions description: Post-run action kinds an execute job of this type may choose. subject_label: title: Subject Label description: What a run's spec.subject names, e.g. 'Analyzed agent'; null when runs have no subject. type: string agent: title: Agent description: Name of this workspace's agent of the type, or null when it has none. type: string type: object required: - type - title - description - default_name - adapter_id - context_schema - post_run_actions title: PluginManagedAgentTypeInfo description: A plugin-managed agent type installed on the platform. PostRunActionConfig: properties: kind: type: string title: Kind description: Post-run action kind registered by an installed NeMo plugin. List installed kinds with `nemo agents post-run-actions list`. config: additionalProperties: true type: object title: Config description: Action-owned configuration. type: object required: - kind title: PostRunActionConfig PostRunActionInfo: properties: kind: type: string title: Kind description: Kind to set on post_run_action.kind; the action's entry-point name. title: type: string title: Title description: Human-readable name of the action. description: type: string title: Description description: One-line summary of what the action does after the agent runs. type: object required: - kind - title - description title: PostRunActionInfo description: A post-run action installed on the platform, as set on an execute job's ``post_run_action.kind``. ReferenceConfigInput: properties: fileset: pattern: ^[\w\-.]+(/[\w\-.]+)?$ title: Fileset description: Fileset containing agent source and supporting files, as name or workspace/name. type: string container_image: title: Container Image description: Container image reference; accepts Docker shorthand, tags, and SHA-256 digests. type: string additionalProperties: false type: object title: ReferenceConfigInput description: Optional source and container references associated with an agent. ReferenceConfigOutput: properties: fileset: pattern: ^[\w\-.]+(/[\w\-.]+)?$ title: Fileset description: Fileset containing agent source and supporting files, as name or workspace/name. type: string container_image: title: Container Image description: Container image reference; accepts Docker shorthand, tags, and SHA-256 digests. type: string additionalProperties: false type: object title: ReferenceConfigOutput description: Optional source and container references associated with an agent. RegisterAgentRequest: properties: name: type: string title: Name description: Unique agent name within the workspace. description: type: string title: Description description: Human-readable description. default: '' reference: allOf: - $ref: '#/components/schemas/ReferenceConfigInput' description: Agent source and container references. labels: additionalProperties: type: string type: object title: Labels description: Key/value labels for filtering and display, never for authorization. Keys are '' or '/' with no dots. config: additionalProperties: true type: object title: Config description: Agent config dict interpreted according to config_format. context_schema: title: Context Schema description: 'JSON Schema the per-run `context` of an execute job must match. Checked when the job is created; set `additionalProperties: false` to reject unknown keys. Omit to accept any context.' additionalProperties: true type: object default_input: title: Default Input description: Prompt an execute job uses when its request omits `input`. type: string post_run_actions: items: type: string type: array minItems: 1 uniqueItems: true title: Post Run Actions description: Post-run action kinds an execute job of this agent may choose. A job that names none runs 'agents.noop' when it is in the set, or the only member when there is one; otherwise the job must choose. List installed kinds with `nemo agents post-run-actions list`. config_format: type: string title: Config Format description: Config format identifier. Uses config.config_format when present; otherwise defaults to nemo-agents-spec-v1 for an empty config or nat-workflow-v1 for a nonempty config. An explicit value must match config.config_format. plugin_managed_agent: allOf: - $ref: '#/components/schemas/PluginManagedAgentSpec' description: Create an agent of this plugin-managed type instead of from a config. The type supplies the config, context_schema, default_input and post_run_actions, so none of them may be set. type: object required: - name title: RegisterAgentRequest description: Request body for ``POST /v2/workspaces/{workspace}/agents``. ResolvedAgentConfig: properties: name: type: string title: Name workspace: type: string title: Workspace config: additionalProperties: true type: object title: Config config_format: type: string title: Config Format type: object required: - name - workspace - config - config_format title: ResolvedAgentConfig SampleAgentResponse: properties: status: type: string enum: - created - resumed - already_exists title: Status workspace: type: string title: Workspace studio_url: type: string title: Studio Url description: Studio path relative to the platform origin. agent: type: string title: Agent deployment: type: string title: Deployment deployment_status: type: string enum: - pending - starting - running - failed - deleting title: Deployment Status type: object required: - status - workspace - studio_url - agent - deployment - deployment_status title: SampleAgentResponse description: Provisioned sample agent and its workspace and deployment state. SampleAgentStreamEvent: properties: kind: type: string enum: - progress - done - error title: Kind component: title: Component type: string enum: - workspace - agent - deployment - dataset - evaluation_config status: title: Status type: string enum: - created - existing - submitted - uploaded - updated workspace: title: Workspace type: string result: $ref: '#/components/schemas/SampleAgentResponse' message: title: Message type: string status_code: title: Status Code type: integer failed_step: title: Failed Step type: string retryable: title: Retryable type: boolean type: object required: - kind title: SampleAgentStreamEvent description: One NDJSON frame from sample-agent provisioning. SessionFilter: additionalProperties: false description: Query filter for ``GET /v2/workspaces/{workspace}/sessions``. properties: deployment_id: description: Filter to sessions for this deployment ID. title: Deployment Id type: string title: SessionFilter type: object SessionStatus: type: string enum: - active - expired - lost - closed title: SessionStatus description: Lifecycle status of an agent session. StringFilter: additionalProperties: false properties: $eq: description: Filter for results equal to this value. title: $Eq type: string $like: description: Filter for results matching this pattern. title: $Like type: string $in: description: Filter for results in this list of values. title: $In items: type: string type: array $nin: description: Filter for results not in this list of values. title: $Nin items: type: string type: array title: StringFilter type: object ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type input: title: Input ctx: type: object title: Context additionalProperties: true type: object required: - loc - msg - type title: ValidationError