Skip to main content
POST
Read an attachment

Authorizations

session
string
cookie
required

The session cookie set when you sign in to AgentHub or ModelHub in a browser. The cookie name shown here is illustrative. There are no API tokens for these endpoints.

Body

multipart/form-data
file
file
required

Response

Extracted text and scan report.

name
string
kind
string
text
string
chars
integer
originalChars
integer
truncated
boolean
report
object

What the privacy scan found: finding types, severities and offsets. Never contains the matched values.