Attach Archive To Agent
client.agents.archives.attach(stringarchiveID, ArchiveAttachParams { agent_id } params, RequestOptionsoptions?): ArchiveAttachResponse
/v1/agents/{agent_id}/archives/attach/{archive_id}
Attach an archive to an agent.
Parameters
archiveID: string
Returns
ArchiveAttachResponse = unknown
Attach Archive To Agent
import Letta from '@letta-ai/letta-client';
const client = new Letta({
apiKey: 'My API Key',
});
const response = await client.agents.archives.attach('archive_id', {
agent_id: 'agent-123e4567-e89b-42d3-8456-426614174000',
});
console.log(response);
{}Returns Examples
{}