---
updatedAt: 2026-10-23T12:37:01.000Z
agentTools:
  projectIndex: https://developers.pipe.run/llms.txt
---

# Ver detalhes do arquivo

*Endpoint* utilizado para **buscar detalhes de um arquivo específico** da conta do CRM PipeRun, informando o ID do arquivo como *path parameter*.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "applicationjson",
    "version": "1.1-CRM"
  },
  "servers": [
    {
      "url": "https://api.pipe.run/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "token",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/files/{file_id}": {
      "get": {
        "summary": "Ver detalhes do arquivo",
        "description": "",
        "operationId": "ver-detalhes-do-arquivoo",
        "parameters": [
          {
            "name": "file_id",
            "in": "path",
            "description": "Id do arquivo.",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"success\": true,\n  \"message\": \"OK\",\n  \"data\": {\n    \"id\": 123,\n    \"account_id\": 123,\n    \"user_id\": 123,\n    \"deal_id\": 123,\n    \"email_id\": 123,\n    \"template_email_id\": 123,\n    \"call_id\": 123,\n    \"name\": \"NOME DO ARQUIVO.pdf\",\n    \"url\": \"https://api.pipe.run/v1/files/.../download\",\n    \"url_resource\": \"https://assets.pipe.run/account/.../fgwiht0w37cw08ko4s084w4os84ok4c.pdf\",\n    \"format\": \"pdf\",\n    \"description\": \"Documento gerado através de um modelo de documento\",\n    \"size\": 123,\n    \"hash\": \"njq...oow\",\n    \"public_form_file\": null,\n    \"created_at\": \"2025-07-09 10:27:02\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    },
                    "message": {
                      "type": "string",
                      "example": "OK"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "example": 123,
                          "default": 0
                        },
                        "account_id": {
                          "type": "integer",
                          "example": 123,
                          "default": 0
                        },
                        "user_id": {
                          "type": "integer",
                          "example": 123,
                          "default": 0
                        },
                        "deal_id": {
                          "type": "integer",
                          "example": 123,
                          "default": 0
                        },
                        "email_id": {
                          "type": "integer",
                          "example": 123,
                          "default": 0
                        },
                        "template_email_id": {
                          "type": "integer",
                          "example": 123,
                          "default": 0
                        },
                        "call_id": {
                          "type": "integer",
                          "example": 123,
                          "default": 0
                        },
                        "name": {
                          "type": "string",
                          "example": "NOME DO ARQUIVO.pdf"
                        },
                        "url": {
                          "type": "string",
                          "example": "https://api.pipe.run/v1/files/.../download"
                        },
                        "url_resource": {
                          "type": "string",
                          "example": "https://assets.pipe.run/account/.../fgwiht0w37cw08ko4s084w4os84ok4c.pdf"
                        },
                        "format": {
                          "type": "string",
                          "example": "pdf"
                        },
                        "description": {
                          "type": "string",
                          "example": "Documento gerado através de um modelo de documento"
                        },
                        "size": {
                          "type": "integer",
                          "example": 123,
                          "default": 0
                        },
                        "hash": {
                          "type": "string",
                          "example": "njq...oow"
                        },
                        "public_form_file": {},
                        "created_at": {
                          "type": "string",
                          "example": "2025-07-09 10:27:02"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"success\": false,\n  \"message\": \"Not Found\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "message": {
                      "type": "string",
                      "example": "Not Found"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```