Skip to main content
POST
/
api
/
v1
/
teams
/
cos
/
triage
/
email
Triage Emails
curl --request POST \
  --url https://api.example.com/api/v1/teams/cos/triage/email \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "emails": [
    {
      "id": "<string>",
      "from": "<string>",
      "subject": "<string>",
      "snippet": "",
      "date": "",
      "labels": []
    }
  ]
}
'
[
  {
    "id": "<string>",
    "source": "<string>",
    "title": "<string>",
    "summary": "<string>",
    "action": "<string>",
    "reason": "<string>",
    "priority": 123,
    "agent_slug": "<string>",
    "proposed_output": "<string>"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
emails
EmailInput · object[]
required

Response

Successful Response

id
string
required
source
string
required
title
string
required
summary
string
required
action
string
required
reason
string
required
priority
integer
required
agent_slug
string | null
proposed_output
string | null