Get one version of an agent manifest
applicationKeyAuthorizationBearer <token>An application key of the Tenant (PUT /v1/tenant/keys/{keyId}), or Studio's key, derived from the admin key. With Nylorun-Subject and Nylorun-Scopes, it acts for that person, narrowed to those scopes. Never accepted from a browser (Origin).
name*stringThe agent manifest's name, such as triage
version*stringThe version number
Nylorun-Protocol*stringThe protocol version, 18
Nylorun-Subject?stringThe person an application key acts for
Nylorun-Scopes?stringThe subject's space-separated scopes; required with a subject
The version
application/json- response
name*stringversion*integer0 < valuehash*stringmanifest*savedBy*createdAt*stringagents*integer0 <= valuesource?import { createClient } from "@nylorun/agents";const client = await createClient();const version = await client.agentManifests.get("assistant", 3);{ "name": "string", "version": 1, "hash": "string", "manifest": { "manifestSchemaVersion": 8, "name": "string", "description": "string", "metadata": { "property1": null, "property2": null }, "harness": { "kind": "workflow", "id": "string", "inputSchema": { "property1": null, "property2": null }, "outputSchema": { "property1": null, "property2": null }, "root": { "agent": "string", "id": "string" }, "agents": { "property1": { "kind": "workflow", "workflowSchemaVersion": 3, "id": "string", "name": "string", "description": "string", "metadata": { "property1": null, "property2": null }, "inputSchema": { "property1": null, "property2": null }, "outputSchema": { "property1": null, "property2": null }, "sandbox": { "image": "string", "network": { "preset": "none", "allow": [ "string" ] }, "resources": { "cpus": 1, "memory": "string" }, "idle": "string" }, "root": { "agent": "string", "id": "string" }, "agents": { "property1": {}, "property2": {} } }, "property2": { "kind": "workflow", "workflowSchemaVersion": 3, "id": "string", "name": "string", "description": "string", "metadata": { "property1": null, "property2": null }, "inputSchema": { "property1": null, "property2": null }, "outputSchema": { "property1": null, "property2": null }, "sandbox": { "image": "string", "network": { "preset": "none", "allow": [ "string" ] }, "resources": { "cpus": 1, "memory": "string" }, "idle": "string" }, "root": { "agent": "string", "id": "string" }, "agents": { "property1": {}, "property2": {} } } }, "plugins": [ { "name": "string", "version": "string" } ], "loop": { "property1": null, "property2": null } }, "runtime": { "kind": "virtual", "image": "string", "resources": { "cpus": 1, "memory": "string" }, "storage": "string", "network": { "allowedHosts": [ "string" ] }, "lifecycle": { "idle": "string", "deleteAfter": "string" }, "setup": [ { "command": "string", "cwd": "string", "timeout": "string" } ], "files": [ { "artifactId": "string", "version": 1, "path": "string" } ], "limits": { "artifacts": { "fileBytes": 1, "totalBytes": 1 }, "skills": { "totalBytes": 1 }, "disk": { "versionBytes": 1, "versionEntries": 1 } }, "secrets": { "property1": { "type": "environment_secret", "allowedHosts": [ "string" ], "inject": { "header": "string", "format": "string" }, "required": true, "description": "string" }, "property2": { "type": "environment_secret", "allowedHosts": [ "string" ], "inject": { "header": "string", "format": "string" }, "required": true, "description": "string" } }, "triggers": { "property1": { "schedule": "string", "timezone": "string", "at": "2019-08-24T14:15:22Z", "webhook": "standard-webhooks", "session": "string", "prompt": "string" }, "property2": { "schedule": "string", "timezone": "string", "at": "2019-08-24T14:15:22Z", "webhook": "standard-webhooks", "session": "string", "prompt": "string" } }, "selfWake": true } }, "savedBy": { "actor": "string" }, "createdAt": "string", "agents": 0, "source": { "compiler": "string", "files": 0, "bytes": 0 }}List an agent manifest's versions GET
Every version, newest first, with who saved it and how many Agents were made from it.
Get the folder a version was compiled from GET
The agent folder the version was saved from (feature `agent-folders`): its compiler, size and every file, sorted by path. A version saved as JSON has none (`404`).