Get all documents
Last updated
Was this helpful?
Was this helpful?
{
"data": [
{
"id": "abcdxxxxxxx",
"name": "abcd.pdf",
"size": 123456,
"isPublic": true,
"uploadedAt": "2023-08-09T06:20:02.854Z",
"url": "https://cdn.openai.com/papers/gpt-4.pdf",
"importUrl": "https://cdn.example.com/doc1.pdf"
},
{
"id": "efghxxxxxxx",
"name": "efgh.pdf",
"size": 123456,
"isPublic": false,
"uploadedAt": "2023-08-09T06:16:58.750Z",
"url: "",
"importUrl": ""
}
]
}{
"error": "Invalid API key"
}