CreateCommentRequest

interface ApiCreateCommentRequest {
    authorUserId?: null | string;
    content: string;
    objectId: string;
    objectType: string;
    projectId: string;
}

Properties

authorUserId?: null | string

The id of the user who created the comment.

content: string

The content of the comment. May include markdown. Currently limited to 3000 characters.

objectId: string

The id of the object to attach the comment to. If this does not reference a valid existing object, an error will be thrown.

objectType: string

The type of the object to attach the comment to (trace, observation, session, prompt).

projectId: string

The id of the project to attach the comment to.