# Create a document for an entity Endpoint: POST /v1alpha/entities/{entity}/documents Version: v1alpha Security: oauth2_client_credentials, oauth2_authorization_code ## Path parameters: - `entity` (string, required) The entity id. ## Request fields (application/json): - `name` (string) (IDENTIFIER) The resource name of the document. Format: documents/{document} - `displayName` (string, required) Optional. A mutable, user-settable field for providing a human-readable name for the document, to be used in user interfaces. Must be <= 63 characters. string.example = ["John Doe - Driver's License"] string.max_len = 128 string.min_len = 1 - `content` (string, required) The content of the document. Maximum file size is 10Mib. bytes.max_len = 10485760 bytes.min_len = 1 ## Response 200 fields (application/json): - `name` (string) (IDENTIFIER) The resource name of the document. Format: documents/{document} - `displayName` (string, required) Optional. A mutable, user-settable field for providing a human-readable name for the document, to be used in user interfaces. Must be <= 63 characters. string.example = ["John Doe - Driver's License"] string.max_len = 128 string.min_len = 1 - `content` (string, required) The content of the document. Maximum file size is 10Mib. bytes.max_len = 10485760 bytes.min_len = 1 - `createTime` (string) Output only. The timestamp when the document was created. - `updateTime` (string) Output only. The timestamp when the document was most recently updated.