Wexa AI
  1. Files
Wexa AI
  • Wexa AI
  • Getting Started with Wexa AI
  • Use Cases and Workflows
  • API Reference
  • Tutorials
  • Troubleshooting Guide
  • 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
      • 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
  1. Files

get files by connector_id

GET
api.wexa.ai/files/{projectID}/connector/{connector_id}
Last modified:2025-04-25 11:09:08

Retrieve Files by Connector ID#

This endpoint allows you to retrieve a list of files associated with a specific connector within a given project in your Wexa.ai environment. By providing the projectID and connector_id, you can access metadata such as file names, sizes, types, and associated tags, facilitating the management and monitoring of files linked to external integrations.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'api.wexa.ai/files//connector/' \
--header 'x-api-key: {{x-api-key}}'
Response Response Example
{
  "status": "success",
  "files": {
    "_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-23T22%3A04%3A27Z&sp=r&sv=2023-11-03&sr=b&sig=Ye1XR0Uz4fBI1/X6ckahcIQvtbKhjV2IADoZ5UzVzTs%3D",
    "connector_id": "68060c4c064a778a5f18f9f7",
    "uploaded_on": 1745226829007
  }
}

Request

Path Params
projectID
string 
required
connector_id
string 
required
Header Params
x-api-key
string 
required
Example:
{{x-api-key}}

Responses

🟢200get files by connector_id
application/json
Body
status
string 
required
files
object 
required
_id
string 
required
projectID
string 
required
name
string 
required
mime_type
string 
required
location
string 
required
tags
array[string]
required
source_type
string 
required
size_in_kb
number 
required
container_name
string 
required
url
string 
required
connector_id
string 
required
uploaded_on
integer 
required
Modified at 2025-04-25 11:09:08
Previous
get connector by fileid
Next
get inbox