Run Prompt Stats

Get aggregated statistics for run prompt columns in a dataset.

GET https://api.futureagi.com/model-hub/dataset/{dataset_id}/run-prompt-stats/

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.

Path parameters

dataset_id UUID Required

The dataset ID.

Query parameters

prompt_ids string Optional

Comma-separated RunPrompter UUIDs to filter stats.

Response

200 OK
message string
Status message.
data object
Aggregated run prompt statistics.
avg_tokens number
Average tokens per execution.
avg_cost number
Average cost (USD) per execution.
avg_time number
Average response time (seconds) per execution.
prompts array
Per-prompt execution statistics.
id string
UUID of the RunPrompter.
name string
Column name.
model string
Language model identifier.
avg_tokens number
Average tokens per execution.
avg_cost number
Average cost (USD) per execution.
avg_time number
Average response time (seconds) per execution.
total_rows integer
Total rows to process.
completed_rows integer
Rows successfully processed.
failed_rows integer
Rows where execution failed.

Errors

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
Unexpected server error.
GET /
Authentication
REQUEST
 
RESPONSE