discovery_estimate
ActiveTool of Disco
Estimate the credits required to run a Disco analysis. Returns `required_credits` for public (always 0) and private, with private split by whether LLMs are enabled (use_llms=False is faster, use_llms=True adds smarter preprocessing, literature context and a written summary). Also returns per-visibility depth caps and accepted file formats. No authentication required — when an API key is supplied, also returns the caller's available credits. Call this before discovery_analyze whenever cost or feasibility is unclear. Args: file_size_mb: Size of the dataset in megabytes. num_columns: Number of columns in the dataset. analysis_depth: Search depth (1=fast, higher=deeper). Used to compute the private-run cost. Default 2. api_key: Disco API key (disco_...). Optional. When provided, the response includes `account.available_credits`.
Parameters schema
{
"type": "object",
"title": "discovery_estimateArguments",
"required": [
"file_size_mb",
"num_columns"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Api Key",
"default": null
},
"num_columns": {
"type": "integer",
"title": "Num Columns"
},
"file_size_mb": {
"type": "number",
"title": "File Size Mb"
},
"analysis_depth": {
"type": "integer",
"title": "Analysis Depth",
"default": 2
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Disco
https://github.com/leap-laboratories/discovery-engine
2/7 registries