Arize Phoenix TS
    Preparing search index...
    • Add a note to a span.

      When spanNote.identifier is omitted, each call appends a new note with an auto-generated identifier. When identifier is non-empty, repeated calls with the same (spanId, name='note', identifier) overwrite the existing note.

      Parameters

      Returns Promise<{ id: string }>

      The ID of the created note annotation

      const result = await addSpanNote({
      spanNote: {
      spanId: "123abc",
      note: "This span looks suspicious, needs review"
      }
      });