documents
Search documents for a vehicle
Search the documents of a single vehicle. vehicle is required and scopes the search; the caller must be authorized for it. Optional boolean predicate clauses (must/should/must_not) filter by type, content_type, created range, and free-text q. Backed by OpenSearch; results are eventually consistent (max staleness ~30s). Only executed investment documents are returned — see the type field for the surfaced categories.
post/v1/documents/search
Request
- Base URLhttps://api.angellist.com
- AuthOAuth 2Authorization code: https://gateway.angellist.com/oauth/authorizeClient credentialsToken URL: https://gateway.angellist.com/oauth/token scopes: documents:read
Request body
Example request
{
"vehicle": "vhcl_k9Rm3nQp8wL1YxTa"
}Response
Search results.
Example response
{
"data": [
{
"content_type": "application/pdf",
"id": "doc_a1b2c3d4e5f6g7h8",
"name": "Subscription Agreement - Acme Fund I.pdf",
"presigned_url": {
"expires_at": 1717171717,
"url": "https://files.example.com/doc.pdf?signature=..."
},
"size": 245678,
"type": "stock_purchase_agreement",
"vehicle": {
"id": "vhcl_k9Rm3nQp8wL1YxTa"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.