cURL
curl https://app.okrapdf.com/api/v1/collections/col-abc123 \ -H "Authorization: Bearer okra_YOUR_KEY"
{ "id": "col-abc123def456", "name": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "description": "<string>", "metadata": {}, "documents": [ { "job_id": "<string>", "file_name": "<string>", "status": "queued", "total_pages": 123, "added_at": "2023-11-07T05:31:56Z" } ] }
Get a collection with its full document list. Accepts either a collection ID (col-xxx) or collection name.
col-xxx
API key as Bearer token: Authorization: Bearer okra_xxx
Authorization: Bearer okra_xxx
Collection ID or name
Collection details with documents
"col-abc123def456"
Show child attributes