@contio/partner-sdk - v1.7.1
    Preparing search index...

    Interface UploadMeetingContextRequest

    Parameters for uploading a meeting context document.

    The file field accepts any Blob-compatible value — in Node.js ≥ 22 this includes Buffer, File, and Blob instances. The SDK converts the request into a multipart/form-data upload automatically.

    import { readFile } from 'node:fs/promises';

    const buffer = await readFile('./agenda.md');
    const doc = await user.uploadMeetingContextDocument('meeting-id', {
    file: new Blob([buffer]),
    source_format: 'md',
    title: 'Sprint planning agenda',
    context_type: 'agenda',
    });
    interface UploadMeetingContextRequest {
        context_type?: string;
        file: Blob;
        source_format: ContextSourceFormat;
        title?: string;
    }
    Index

    Properties

    context_type?: string

    Logical context type — a free-form partner-defined category.

    `"agenda"`, `"crm_record"`, `"project_brief"`
    
    file: Blob

    Document file contents

    source_format: ContextSourceFormat

    Source format of the file.

    Must match the actual content — the server validates the file against this declaration.

    title?: string

    Human-readable document title (defaults to the filename if omitted)