AgentsManifests
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).
applicationKeyheader
AuthorizationBearer <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 folder
application/json- response
name*stringversion*integerRange
0 < valuecompiler*stringfiles*integerRange
0 <= valuebytes*integerRange
0 <= valueentries*array<>import { createClient } from "@nylorun/agents";const client = await createClient();const source = await client.agentManifests.source("assistant", 3); // 404 for a version saved as JSON{ "name": "string", "version": 1, "compiler": "string", "files": 0, "bytes": 0, "entries": [ { "path": "string", "size": 0, "sha256": "string" } ]}