Retrieve Run Prompt Options

Get available models, tools, output formats, and tool choices for run prompt configuration.

GET https://api.futureagi.com/model-hub/develops/retrieve_run_prompt_options/

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.

Response

200 OK
message string
Status message.
data object
Available run prompt configuration options.
models array
Available language models.
model_name string
Model identifier.
providers array
Provider names offering this model.
is_available boolean
Whether the model is currently available.
tool_config object
Tool configuration schema.
available_tools array
Available tool objects.
id string
UUID of the tool.
name string
Tool name.
config object
Tool configuration.
config_type string
Tool configuration type (e.g., function).
description string
Tool description.
output_formats array
Supported output format options with value and label.
tool_choices array
Supported tool choice options with value and label.

Errors

401 Unauthorized Optional
Invalid or missing API credentials.
500 Internal Server Error Optional
An unexpected error occurred on the server while retrieving run prompt options.
GET /
Authentication
REQUEST
 
RESPONSE