# CandidateDocument (/api/reference/objects/candidate-document)

A file uploaded for a candidate, such as a CV. Kith ATS reads it, writes a short summary and fills in what it learns on the candidate.

```graphql
type CandidateDocument {
  candidate: Candidate!
  downloadPath: String
  filename: String!
  id: ID!
  kind: CandidateDocumentKind!
  mimeType: String
  sizeBytes: Int
  summary: String
  uploadedAt: DateTime!
}
```

### Fields [#fields]

#### [`CandidateDocument.candidate`](#candidate) · [`Candidate!`](/api/reference/objects/candidate) `non-null` `object` [#candidate]
The candidate.

#### [`CandidateDocument.downloadPath`](#download-path) · [`String`](/api/reference/scalars/string) `scalar` [#download-path]
Where to fetch the file: a path on the API that redirects to a short-lived download, which takes the caller's credentials. Null when the file is no longer stored.

#### [`CandidateDocument.filename`](#filename) · [`String!`](/api/reference/scalars/string) `non-null` `scalar` [#filename]
The file's name.

#### [`CandidateDocument.id`](#id) · [`ID!`](/api/reference/scalars/id) `non-null` `scalar` [#id]
The document's id.

#### [`CandidateDocument.kind`](#kind) · [`CandidateDocumentKind!`](/api/reference/enums/candidate-document-kind) `non-null` `enum` [#kind]
What kind of document it is.

#### [`CandidateDocument.mimeType`](#mime-type) · [`String`](/api/reference/scalars/string) `scalar` [#mime-type]
The file's media type, such as `application/pdf`.

#### [`CandidateDocument.sizeBytes`](#size-bytes) · [`Int`](/api/reference/scalars/int) `scalar` [#size-bytes]
The file's size in bytes.

#### [`CandidateDocument.summary`](#summary) · [`String`](/api/reference/scalars/string) `scalar` [#summary]
One or two sentences on what the document says.

#### [`CandidateDocument.uploadedAt`](#uploaded-at) · [`DateTime!`](/api/reference/scalars/date-time) `non-null` `scalar` [#uploaded-at]
When it was uploaded.

### Member Of [#member-of]

[`AttachCandidateDocumentPayload`](/api/reference/objects/attach-candidate-document-payload)  `object` · [`CandidateDocumentEdge`](/api/reference/objects/candidate-document-edge)  `object`