---
updatedAt: 2025-06-09T22:08:03.000Z
agentTools:
  projectIndex: https://streak.readme.io/llms.txt
---

# Get specific file

This call lets you get a specific [file](reference#files).

> 🚧 Authorization
>
> Make sure to include your authorization in any request you make on your own.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "streak-v1",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.streak.com/api/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/files/{key}": {
      "get": {
        "summary": "Get specific file",
        "description": "This call lets you get a specific [file](reference#files).",
        "operationId": "get-specific-file",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "The key of the file.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"fileType\": \"GMAIL_API\",\n  \"fileOwner\": \"agxzfm1hagLzluZUKDA\",\n  \"creationTimestamp\": 1516216459359,\n  \"lastUpdatedTimestamp\": 1516216459359,\n  \"size\": \"477759\",\n  \"mimeType\": \"image/png\",\n  \"fileName\": \"files4Fun.png\",\n  \"mainFileName\": \"files4Fun.png\",\n  \"isCurrentUserOwnerInDrive\": false,\n  \"fileKey\": \"agxzfm1haraoKDA\",\n  \"key\": \"agxzfm1haraoKDA\",\n  \"boxKey\": \"agxzfm1KoKDA\",\n  \"gmailAPIFileId\": \"ANGjdJ-brnIrEuzwa5C-wcjtfh\",\n  \"gmailMessageId\": \"161058a7a652b7e0\",\n  \"lastSavedTimestamp\": 1516216459374\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "fileType": {
                      "type": "string",
                      "example": "GMAIL_API"
                    },
                    "fileOwner": {
                      "type": "string",
                      "example": "agxzfm1hagLzluZUKDA"
                    },
                    "creationTimestamp": {
                      "type": "integer",
                      "example": 1516216459359,
                      "default": 0
                    },
                    "lastUpdatedTimestamp": {
                      "type": "integer",
                      "example": 1516216459359,
                      "default": 0
                    },
                    "size": {
                      "type": "string",
                      "example": "477759"
                    },
                    "mimeType": {
                      "type": "string",
                      "example": "image/png"
                    },
                    "fileName": {
                      "type": "string",
                      "example": "files4Fun.png"
                    },
                    "mainFileName": {
                      "type": "string",
                      "example": "files4Fun.png"
                    },
                    "isCurrentUserOwnerInDrive": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "fileKey": {
                      "type": "string",
                      "example": "agxzfm1haraoKDA"
                    },
                    "key": {
                      "type": "string",
                      "example": "agxzfm1haraoKDA"
                    },
                    "boxKey": {
                      "type": "string",
                      "example": "agxzfm1KoKDA"
                    },
                    "gmailAPIFileId": {
                      "type": "string",
                      "example": "ANGjdJ-brnIrEuzwa5C-wcjtfh"
                    },
                    "gmailMessageId": {
                      "type": "string",
                      "example": "161058a7a652b7e0"
                    },
                    "lastSavedTimestamp": {
                      "type": "integer",
                      "example": 1516216459374,
                      "default": 0
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Content-Type",
        "value": "application/json"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```