Wexa AI
  1. Tables
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
      • Configure connector
      • Get config
      • Retrieve linkedin params
      • 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
    • Actions
      • Customer
        • get customer
        • Get credit history
      • create action
      • get action
    • Files
      • Connectors and MCP Servers
      • upload files
      • get files by fileid
      • get connector by fileid
      • get files by connector_id
    • Inbox
      • Create inbox
      • Update inbox at runtime
      • Update anamoly detection inbox
      • Update Preview Inbox
      • get inbox
    • Tags
      • tags
    • Tasks
      • get tasks
      • get task by id
      • Pause running task
      • resume task
      • Stop task
    • Tables
      • Dashboard
        • get dashboard
        • refresh dashboard
        • delete component in dashboard
      • Insert row in a table
        POST
      • Get records
        GET
      • Get record by id
        GET
      • Update record by id
        PUT
      • create table
        POST
      • create database
        POST
      • get tables
        GET
      • get records list
        GET
      • get table names
        GET
      • delete record
        DELETE
      • delete a column
        DELETE
    • 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_summary
      • project_member
    • Available Connectors
      • Actions
    • Execution Details
      • Execution details
    • Knowledge Base
      • File Upload
    • Create apikey
      • Generate apikey
  1. Tables

create table

POST
https://api.wexa.ai/create/table
Last modified:2025-04-25 11:50:41

Create a New Table#

Use this endpoint to create a new table within your Wexa.ai environment. Tables serve as structured data repositories, allowing AI coworkers to store, retrieve, and process data efficiently in real time. This functionality is essential for managing datasets that require organization into rows and columns, facilitating seamless integration with ongoing processes and workflows.

Request

Query Params

Header Params

Body Params application/json

Examples

Responses

🟢200create table
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.wexa.ai/create/table?projectID=67fdea40aac77be632954f13' \
--header 'x-api-key: {{x-api-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "projectID": "67fdea40aac77be632954f13",
    "table_name": "Example table"
}'
Response Response Example
{
    "_id": "68071c551a9ea363140a26cd",
    "projectID": "67fdea40aac77be632954f13",
    "table_name": "Example table",
    "columns": [
        {
            "column_name": "_id",
            "column_type": "string",
            "column_id": "_id",
            "array_type": null,
            "default_value": "",
            "object_fields": null,
            "triggers": null,
            "enum_options": null
        },
        {
            "column_name": "Row ID",
            "column_type": "number",
            "column_id": "row_id",
            "array_type": null,
            "default_value": 1,
            "object_fields": null,
            "triggers": null,
            "enum_options": null
        },
        {
            "column_name": "User ID",
            "column_type": "string",
            "column_id": "coworker_user_id",
            "array_type": null,
            "default_value": "",
            "object_fields": null,
            "triggers": null,
            "enum_options": null
        }
    ],
    "connector_id": "68071c561a9ea363140a26ce",
    "triggers": null,
    "last_row_id": 0
}
Modified at 2025-04-25 11:50:41
Previous
Update record by id
Next
create database