SuperAI Flow Platform

Sections

Theme switcher

Get database columns

Retrieve column names from a specific database.

Returns the list of columns available in the database, useful for:

  • Building query interfaces
  • Configuring data mappings
  • Validating field references in workflows

Use Cases: - Display available columns in query builder - Configure column mappings for data transformation - Validate workflow field references

Header Parameters

Authorizationstring

Path Parameters

db_idstring Required

Response

200
Object
Database columns retrieved successfully

Response Attributes

column_countinteger Required

Total number of columns

columnsarray Required

List of column names in the database

Show child attributes

database_idstring Required

Database identifier

401
Object
Unauthorized - Missing or invalid authentication credentials

Response Attributes

errorobject Required

Standard error detail structure.

This model matches the error format returned by the centralized exception handlers in app/api/errors/handlers.py.

Show child attributes

request_idnull
404
Object
Database or columns not found

Response Attributes

errorobject Required

Standard error detail structure.

This model matches the error format returned by the centralized exception handlers in app/api/errors/handlers.py.

Show child attributes

request_idnull
422
Object
Validation Error

Response Attributes

detailarray

Show child attributes

500
Object
Internal Server Error - An unexpected error occurred

Response Attributes

errorobject Required

Standard error detail structure.

This model matches the error format returned by the centralized exception handlers in app/api/errors/handlers.py.

Show child attributes

request_idnull
Was this section helpful?

What made this section unhelpful for you?

GET

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?

View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot