Skip to main content
GET
/
v2
/
teams
/
{teamId}
/
files
/
content
/
{path}
Get File Content
curl --request GET \
  --url https://api.duvo.ai/v2/teams/{teamId}/files/content/{path} \
  --header 'Authorization: Bearer <token>'
{
  "content": "<string>",
  "path": "<string>",
  "contentType": "<string>"
}

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the Duvo dashboard.

Path Parameters

path
string
required

Path of the file relative to the team's storage root

Minimum string length: 1
teamId
string
required

Response

Default Response

content
string
required

UTF-8 decoded contents of the file

path
string
required

Relative path of the file

contentType
string

MIME content type inferred from the file extension