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 URL
    https://api.angellist.com
  • Auth
    OAuth 2
    Authorization code: https://gateway.angellist.com/oauth/authorize
    Client credentials
    Token URL: https://gateway.angellist.com/oauth/token scopes: documents:read

Request body

limitinteger

Maximum number of documents to return (1-100, default 25).

starting_afterstring

Cursor for forward pagination (a doc_ id).

vehiclestring required

Public vehicle ID to scope the search to (required).

Example request

{
  "vehicle": "vhcl_k9Rm3nQp8wL1YxTa"
}

Response

Search results.

has_moreboolean required
next_cursorstring nullable
object'search_result' required

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.