Wexa AI
  1. Files
Wexa AI
  • Wexa AI
  • Use Cases and Workflows
  • API Reference
  • Troubleshooting Guide
  • Onboarding
    • Getting Started with Wexa
    • Hire your AI Coworker
  • AI Coworker Creation
    • Create your First AI Coworker
    • Process Flows
    • Creating your First Agent
    • Schedule a Process Flow
    • Executing a Process Flow
    • Settings - Input Form
    • History
  • Tables
    • Intro to Tables
    • Adding records to Tables
    • Table Triggers
  • Knowledge Base
    • Intro to Knowledge Base
  • Connectors and MCP Servers
    • Adding a New Connector
    • Adding an MCP Server
    • Setting up Connectors Triggers
  • API Endpoints
    • Project
      • create project
      • Get all projects
      • Get project
      • update project
      • Delete project
    • Agentflows
      • create agentflow
      • get agentflows
      • Get agentflow by projectId and UserId
      • get agentflow by id
      • Add skilled agent to agentflow
      • Update skilled agent
    • Connectors
      • get connectors by projectid
      • get connector by Id
      • Delete a connector
      • connector update status
      • get all available trigger actions
    • Skills
      • create skill
      • get skills
      • get skills by category'
      • get skills by id
      • skills by name
    • Executeflow
      • create executeflow
      • get executions
      • execute agentflow
      • pause executeflow
      • resume execution
      • cancel executeflow
      • get execution by execution id
      • get execution details for monitoring
    • Customer
      • get customer
      • Get credit history
    • Actions
      • create action
      • get action
    • Files
      • Connectors and MCP Servers
      • upload files
        POST
      • get files by fileid
        GET
      • get connector by fileid
        GET
      • get files by connector_id
        GET
    • Inbox
      • get inbox
    • Tags
      • tags
    • Tasks
      • get tasks
      • get task by id
      • Pause running task
      • resume task
      • Stop task
    • Tables
      • create table
      • create database
      • get tables
      • get records list
      • get table names
      • delete record
      • delete a column
    • Dashboard
      • get dashboard
      • refresh dashboard
      • delete component in dashboard
    • Settings
      • get settings
    • Marketplace
      • get all connectors
      • get marketplace coworkers
      • get marketplace coworker by id
    • Coworker schedules
      • get schedules
      • create coworker schedule
      • get schedule coworker by its id
      • update schedule by its id
      • delete schedule by its id
    • Analytics
      • Get analytics
    • Marketplace coworkers
      • hire a coworker
      • check marketplace coworker update
    • Project member
      • project_member
    • Available Connectors
      • Actions
    • Execution Details
      • Execution details
  1. Files

get files by fileid

GET
https://api.wexa.ai/file/{projectID}/{file_id}
Last modified:2025-04-25 11:06:35

Retrieve File by ID#

Use this endpoint to retrieve detailed information about a specific file within your Wexa.ai environment by providing its unique file_id. This functionality allows you to access metadata such as the file's name, size, type, associated tags, and the timestamp of when it was uploaded. It's essential for managing and monitoring the files your AI coworkers utilize.

Request

Path Params

Query Params

Header Params

Responses

🟢200get files by fileid
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.wexa.ai/file//?projectID=67fdea40aac77be632954f13' \
--header 'x-api-key: {{x-api-key}}'
Response Response Example
{
    "_id": "68060c4c064a778a5f18f9f5",
    "projectID": "67fdea40aac77be632954f13",
    "name": "Durga_prasad_new_resume.pdf",
    "mime_type": "application/pdf",
    "location": "storage_Durga_prasad_new_resume_4cb7.pdf",
    "tags": [
        "haha"
    ],
    "source_type": "STORAGE",
    "size_in_kb": 156.53515625,
    "container_name": "67fdea40aac77be632954f13",
    "url": "https://klotdev.blob.core.windows.net/67fdea40aac77be632954f13/storage_Durga_prasad_new_resume_4cb7.pdf?se=2025-04-23T21%3A18%3A29Z&sp=r&sv=2023-11-03&sr=b&sig=ChTPRJFm2TS769mfuGgD0kbMKyfCXCP4zS7/7DVtfAk%3D",
    "connector_id": "68060c4c064a778a5f18f9f7",
    "uploaded_on": 1745226829007,
    "status": "failed"
}
Modified at 2025-04-25 11:06:35
Previous
upload files
Next
get connector by fileid