cURL
curl --request GET \ --url https://cite.petal.org/api/ai/table/{ai_table_id}/column/list \ --header 'Authorization: Bearer <token>'
[ { "ai_table_id": 123, "id": 123, "meta": {}, "modified_at": "<string>", "name": "<string>", "order_id": 123, "query": "<string>" } ]
List all columns in an AI Table
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique ID of the AI Table
OK
The response is of type AIColumn · object[].
AIColumn · object[]