Extract text without changing the file. Use Unzip File to unpack archives or Download File for original bytes. Unsupported types return 400, compiling documents return 409, and oversized files return 413. degraded: true indicates incomplete or synthesized text, such as the legacy .pptx fallback; truncated: true indicates a parser limit.
OAuth scope: api:read.
/api/v2/files/{fileId}/textSua API key do Studio, pessoal ou com escopo de workspace. Gere uma em Settings e depois API Keys. As operações que rejeitam API keys de workspace dizem isso na própria descrição.
Em: header
Parâmetros de path
Identificador do file.
^[A-Za-z0-9_-]+$1 <= length <= 128Parâmetros de query
Workspace dono do file.
1 <= length <= 128Optional ceiling on the source bytes fed to the parser, lowering but never raising the server limit.
1 <= value <= 26214400First line to return, 1-based. Absent starts at the first line.
1 <= value <= 9007199254740991How many lines to return from offset. Absent reads to the end.
1 <= value <= 9007199254740991Corpo da resposta
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://agent-studio.seeyu.ai/api/v2/files/string/text?workspaceId=string" \ -H "X-API-Key: YOUR_API_KEY"{
"data": {
"fileId": "string",
"name": "string",
"type": "string",
"text": "string",
"truncated": true,
"degraded": true,
"degradedReason": "string",
"charCount": 0,
"byteCount": 0,
"lineRange": {
"offset": 1,
"lineCount": 0,
"totalLines": 0,
"totalLinesExact": true
}
}
}{
"error": {
"code": "BAD_REQUEST",
"message": "Invalid request"
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Authentication required"
}
}{
"error": {
"code": "FORBIDDEN",
"message": "Insufficient workspace permissions",
"details": {
"code": "INSUFFICIENT_WORKSPACE_ROLE"
}
}
}{
"error": {
"code": "NOT_FOUND",
"message": "Not found"
}
}{
"error": {
"code": "CONFLICT",
"message": "The request conflicts with the current resource state"
}
}{
"error": {
"code": "PAYLOAD_TOO_LARGE",
"message": "Request body is too large"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "API rate limit exceeded",
"details": {
"retryAfter": "2026-01-01T00:00:30.000Z"
}
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "Internal server error"
}
}{
"error": {
"code": "SERVICE_UNAVAILABLE",
"message": "Service temporarily unavailable"
}
}