Recupera contenuti dei documenti
Last updated
Last updated
document_id
intero
Obbligatorio. L'ID del documento di cui recuperare i contenuti.
start_chunk
intero
L'indice del chunk di partenza. Il valore predefinito è 0.
end_chunk
intero
L'indice del chunk finale. Il valore predefinito è start_chunk + 20.
404
Documento non trovato
500
Errore interno del server
Per documenti di grandi dimensioni, il contenuto è suddiviso in parti. Puoi recuperare il documento completo effettuando più richieste:
Effettua una richiesta iniziale con start_chunk=0
Usa il valore end_chunk
restituito come start_chunk
per la richiesta successiva
Continua fino a quando non hai recuperato tutte le parti
Questo endpoint restituisce il contenuto testuale grezzo di un documento, consentendoti di accedere a tutte le informazioni per un'elaborazione o analisi dettagliata.
Returns the content of the document with the specified ID, along with the index of the latest retrieved chunk. Each call fetches up to 20 chunks. To get more, use the end_chunk value from the response as the start_chunk for the next call.
The ID of the document to retrieve contents for.
Indicate the starting chunk that you want to retrieve. If not specified, the default value is 0.
Indicate the ending chunk that you want to retrieve. If not specified, the default value is start_chunk + 20.