Humata Docs
  • Getting started
    • Create an account
    • Account settings
      • Plan information
      • Pay-As-You-Go Spending Controls
    • How to set up single sign on
    • How to setup Multi-Factor Authentication
    • How to upload
      • How to move files
    • Website Import
    • Managing permissions and access
    • How to "Ask All"
    • Chat Settings
    • Custom Prompts
    • White Labeling
  • Humata API
    • How to get your API Key
    • How to Import Document
    • How to GET Pdf
    • How to Create Conversations
    • How to Ask
    • How to Download Data
    • How to Create New Users
    • FAQ
Powered by GitBook
On this page
  1. Humata API

How to GET Pdf

PreviousHow to Import DocumentNextHow to Create Conversations

Last updated 4 days ago

Fetch the information of an already created PDF. Typically this is useful to poll until pdf.read_status == 'SUCCESS' (and not pdf.read_status == 'FAILED') before asking questions against the PDF.

Get PDF

get

Retrieve details of a PDF by its ID.

Authorizations
Path parameters
pdf-idstring ยท uuidRequired

The unique identifier of the PDF.

Responses
200
Details of the PDF.
application/json
401
Unauthorized access, invalid API key.
application/json
404
PDF not found.
application/json
get
GET /api/v1/pdf/{pdf-id} HTTP/1.1
Host: app.humata.ai
Authorization: Bearer YOUR_API_KEY
Accept: */*
{
  "id": "9294544b-2b6a-4c93-976c-d1910b8c1423",
  "name": "example.pdf",
  "organization_id": "fcf6c954-ba68-4e39-a7b5-960dc8274ec0",
  "created_at": "2024-12-05T20:18:53.289618+00:00",
  "updated_at": "2024-12-05T20:18:55.584786+00:00",
  "number_of_pages": 1,
  "folder_id": "6c702c82-bb8a-4274-8cb6-074e0bf78084",
  "read_status": "SUCCESS",
  "created_by": "07f5bfc7-72c9-40b7-8151-dcfc2f9613dc",
  "from_url": "text",
  "file_type": "PDF"
}
  • GETGet PDF