Error
A valid request URL is required to generate request examples{
"name": "<string>",
"displayName": "<string>",
"mimeType": "<string>",
"sizeBytes": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"updateTime": "2023-11-07T05:31:56Z",
"expirationTime": "2023-11-07T05:31:56Z",
"sha256Hash": "<string>",
"uri": "<string>",
"state": "STATE_UNSPECIFIED",
"error": {
"code": 123,
"message": "<string>"
},
"videoMetadata": {
"videoDuration": "<string>"
}
}{
"error": {
"code": 123,
"message": "<string>",
"status": "<string>",
"details": [
{
"@type": "<string>",
"fieldViolations": [
{
"description": "<string>"
}
]
}
]
}
}{
"error": {
"code": 123,
"message": "<string>",
"status": "<string>",
"details": [
{
"@type": "<string>",
"fieldViolations": [
{
"description": "<string>"
}
]
}
]
}
}GenAI Integration
Retrieve file (Gemini format)
Retrieves file metadata in Google Gemini API format.
Note: This endpoint returns file metadata only. Direct file content download is not supported by Gemini Files API. Use the file.uri field from the response to access the file content.
GET
/
genai
/
v1beta
/
files
/
{file_id}
Error
A valid request URL is required to generate request examples{
"name": "<string>",
"displayName": "<string>",
"mimeType": "<string>",
"sizeBytes": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"updateTime": "2023-11-07T05:31:56Z",
"expirationTime": "2023-11-07T05:31:56Z",
"sha256Hash": "<string>",
"uri": "<string>",
"state": "STATE_UNSPECIFIED",
"error": {
"code": 123,
"message": "<string>"
},
"videoMetadata": {
"videoDuration": "<string>"
}
}{
"error": {
"code": 123,
"message": "<string>",
"status": "<string>",
"details": [
{
"@type": "<string>",
"fieldViolations": [
{
"description": "<string>"
}
]
}
]
}
}{
"error": {
"code": 123,
"message": "<string>",
"status": "<string>",
"details": [
{
"@type": "<string>",
"fieldViolations": [
{
"description": "<string>"
}
]
}
]
}
}Authorizations
BearerAuthVirtualKeyAuthApiKeyAuth
Response
Successful response
Was this page helpful?

