Skip to main content
POST
/
v1
/
companies
/
{id}
/
files
/
view
View file
curl --request POST \
  --url https://api.usenaive.ai/v1/companies/{id}/files/view \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "path": "<string>",
  "taskId": "<string>"
}
'
{
  "content": "<string>",
  "path": "<string>",
  "size": 123
}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Path Parameters

id
string
required

Body

application/json
path
string
required
taskId
string

Response

OK.

content
string
path
string
size
number