POST
/
v1
/
summarize
Magic Summarize
curl --request POST \
  --url https://dovetail.com/api/v1/summarize \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "highlight_ids": [],
  "note_ids": [],
  "insight_ids": [],
  "theme_ids": [],
  "tag_ids": [],
  "with_citations": true
}'
{
  "data": {
    "summary": "<string>",
    "citations": [
      {
        "id": "<string>",
        "type": "HIGHLIGHT",
        "citation_id": 123
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Body

highlight_ids
string[]

A list of unique highlightIds that you wish to summarize.

note_ids
string[]

A list of unique noteIds that you wish to summarize.

insight_ids
string[]

A list of unique insightIds that you wish to summarize.

theme_ids
string[]

A list of unique themeIds that you wish to summarize.

tag_ids
string[]

A list of unique tagIds that you wish to summarize.

with_citations
boolean
default:true

An optional flag whether to show citations or not, true by default.

Response

200

data
object
required