Workspace Documents
ReferenceUpdated June 14, 2026
Workspace Documents
Lists the workspace-level documents (company summary and market research) with their status and, for ready documents, a short-lived signed download URL. For campaign-level documents, see Campaign Documents.
Download URLs are short-lived. Each
download_urlis a signed link valid for ~5 minutes. Fetch the document promptly, or call the endpoint again to get a fresh link. URLs are generated server-side and scoped to your workspace.
List workspace documents
GET /api/v1/workspace/documents · scope workspace:read
Example request
curl -X GET "https://app.machfive.io/api/v1/workspace/documents" \
-H "Authorization: Bearer YOUR_API_KEY"Response (200 OK)
{
"workspace_id": "uuid",
"documents": [
{
"type": "company_summary",
"title": "Company Summary",
"status": "ready",
"download_url": "https://.../signed-url"
},
{
"type": "market_research",
"title": "Market Research",
"status": "unavailable",
"download_url": null
}
]
}Document type values: company_summary, market_research.
Document status
| Status | Meaning |
|---|---|
ready | The document exists; download_url is a short-lived signed link. |
processing | The document is being generated (or re-generated); download_url is null. |
unavailable | The document has not been generated; download_url is null. |
Error responses
| Status | Error | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 403 | FORBIDDEN | Key missing the workspace:read scope. |
| 404 | NOT_FOUND | Workspace not found. |
| 500 | INTERNAL_ERROR | Server error. |