Skip to main content

get

client.fileUpdateIntents.get(id: string): Promise<FileUpdateIntent>

Retrieves a specific file update intent by its ID.

Returns detailed information about a single intent including its current status, files, agent, and metadata.

Parameters​

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the intent

Returns​

Promise<FileUpdateIntent> — A promise that resolves to the FileUpdateIntent object

Example​

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.fileUpdateIntents.get('id');
console.log(result);