Get Column Values

Retrieve sample values from specified columns in a dataset for prompt preview.

POST https://api.futureagi.com/model-hub/get-column-values/

Authentication

X-Api-Key API Key Required

Your Future AGI API key used to authenticate requests. You can find and manage your API keys in the Dashboard under Settings.

X-Secret-Key Secret Key Required

Your Future AGI secret key, used alongside the API key for request authentication. This is generated when you create an API key in the Dashboard.

Request body

dataset_id string Required

The dataset ID.

column_placeholders object Required

Mapping of placeholder names to column UUIDs.

Response

200 OK
message string
Status message.
data object
Column values organized by placeholder name.
result object
Object keyed by placeholder name with column metadata and values.
column_id string
UUID of the column.
column_name string
Column name.
values array
Sample values from the column (up to 10).

Errors

400 Bad Request Optional
Invalid request parameters.
401 Unauthorized Optional
Invalid or missing API credentials.
404 Not Found Optional
The specified dataset was not found or does not belong to your organization.
500 Internal Server Error Optional
An unexpected error occurred on the server while retrieving column values.
GET /
Authentication
REQUEST
 
RESPONSE