For Agents
Read Comet ML experiment metrics, parameters, and assets, and log new metric or parameter values for ongoing training runs.
Get started with Comet ML REST API in minutes using your preferred integration method.
# Add to your MCP client config (Claude Desktop, Cursor, Windsurf)
{
"jentic": {
"url": "https://api.jentic.com/mcp",
"auth": "oauth"
}
}
# Then ask your agent:
"fetch comet ml experiment metrics"
# → Jentic returns the GET /events tool with parameter schema, agent executes.What an agent can do with Comet ML REST API API.
List all experiments under a workspace and project
Retrieve metrics, parameters, and graph metadata for a specific experiment key
Fetch experiment assets and rendered HTML reports
Log new metric values to a running experiment via POST /write/experiment/metric
GET STARTED
Use for: I need to fetch the latest accuracy metric from a Comet experiment, List all experiments in a Comet project, Retrieve hyperparameters for a specific training run, Log a custom metric to an in-progress Comet experiment
Not supported: Does not handle model deployment, dataset hosting, or compute orchestration — use for experiment tracking and metric logging only.
Jentic publishes the only available OpenAPI document for Comet ML REST API, keeping it validated and agent-ready.
Jentic publishes the only available OpenAPI specification for Comet ML REST API, keeping it validated and agent-ready. The Comet ML REST API exposes experiment tracking and model management operations on the Comet platform, letting clients list and inspect experiments, read metrics and parameters, retrieve assets, and write new metric, parameter, and log-other entries. It is scoped to read access on experiments and projects plus write endpoints for logging during training runs. Use it to build dashboards, sync experiment data into other tooling, or let agents fetch the latest run metrics on demand.
Log hyperparameters to an experiment via POST /write/experiment/parameter
List projects available in a Comet workspace
Patterns agents use Comet ML REST API API for, with concrete tasks.
★ Sync Experiment Metrics to a Dashboard
Pull metric histories from Comet experiments into an internal BI dashboard or Notion page so non-ML stakeholders can see live training progress. The /experiments/{experimentKey}/metrics endpoint returns time-stamped metric values that can be aggregated or plotted alongside business KPIs. Refresh on a schedule or trigger from a webhook.
Fetch the last 100 metric points for experimentKey abc123 from /experiments/abc123/metrics and emit them as a CSV
Programmatic Run Logging from Custom Trainers
Some training pipelines run outside the official Comet Python SDK (custom Rust or Go trainers, edge devices, third-party schedulers). The REST write endpoints let those processes log metrics, parameters, and arbitrary key-value entries directly. Use POST /write/experiment/metric and /write/experiment/parameter with the experiment key returned from a prior create call.
POST a metric named val_loss with value 0.234 and step 50 to /write/experiment/metric for experimentKey abc123
Experiment Audit and Comparison
When evaluating multiple training runs against each other, an agent can list experiments under a project, pull metrics and parameters for each, and produce a comparison table without opening the Comet UI. The combination of /experiments and /experiments/{experimentKey}/metrics gives enough surface area to rank runs and surface the best configuration.
List all experiments in projectId proj_42, fetch each experiment's val_accuracy metric, and return the experiment key with the highest value
AI Agent Reporting Assistant via Jentic
An AI agent connected to Jentic can answer plain-English questions like 'how did our last fine-tune do?' by searching for the Comet operation, loading its schema, and calling /experiments/{experimentKey}/metrics. Jentic isolates the X-API-Key so the raw key never enters the agent context. Useful for Slack bots and internal copilots.
Use the Jentic search query 'fetch comet ml experiment metrics' to load the operation, then call it for experimentKey abc123 and summarise the final loss
12 endpoints — jentic publishes the only available openapi specification for comet ml rest api, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/experiments
List experiments
/experiments/{experimentKey}
Get experiment details
/experiments/{experimentKey}/metrics
Get experiment metrics
/experiments/{experimentKey}/parameters
Get experiment parameters
/experiments/{experimentKey}/assets
Get experiment assets
/projects
List projects
/write/experiment/metric
Log a metric to an experiment
/write/experiment/parameter
Log a parameter to an experiment
/experiments
List experiments
/experiments/{experimentKey}
Get experiment details
/experiments/{experimentKey}/metrics
Get experiment metrics
/experiments/{experimentKey}/parameters
Get experiment parameters
/experiments/{experimentKey}/assets
Get experiment assets
Three things that make agents converge on Jentic-routed access.
Credential isolation
The Comet X-API-Key is stored encrypted in the Jentic vault (MAXsystem). Agents receive scoped execution results — the raw key is never exposed in the agent's context window or logs.
Intent-based discovery
Agents search Jentic by intent (e.g., 'fetch comet ml experiment metrics') and Jentic returns the matching Comet operation with its full input schema, so the agent calls the right endpoint without browsing Comet docs.
Time to first call
Direct Comet REST integration: half a day for auth, schema reading, and error handling. Through Jentic: under 30 minutes — search, load, execute.
Alternatives and complements available in the Jentic catalogue.
Hugging Face Hub API
Hugging Face stores models and datasets; Comet tracks the experiments that produce them.
Use Hugging Face when the agent needs to push or pull a trained model artifact; use Comet when the agent needs the run metrics that produced it.
Kaggle API
Kaggle exposes its own competition and notebook metrics; Comet is general-purpose experiment tracking.
Choose Kaggle when the experiments live inside a Kaggle competition; choose Comet for in-house training runs.
OpenAI API
OpenAI runs the model; Comet records evaluation metrics across prompt or fine-tune iterations.
Pair with OpenAI when an agent is logging prompt-evaluation runs to Comet for later comparison.
Specific to using Comet ML REST API API through Jentic.
Why is there no official OpenAPI spec for Comet ML REST API?
Comet does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call Comet ML REST API via structured tooling. It is validated against the live API and kept up to date. Get started at https://app.jentic.com/sign-up.
What authentication does the Comet ML REST API use?
The API uses an API key passed in the X-API-Key header. Through Jentic, the key is stored encrypted in the MAXsystem vault and never enters the agent context — the agent only sees scoped execution results.
Can I log metrics to a running experiment with the Comet ML REST API?
Yes. POST to /write/experiment/metric with the experiment key, metric name, value, and step. Equivalent endpoints exist for parameters (/write/experiment/parameter) and log-other entries (/write/experiment/log-other).
What are the rate limits for the Comet ML REST API?
Comet does not document a hard public rate limit on the REST API; in practice, plan-based throttling applies and bursts above a few hundred requests per minute can be rejected. For high-volume metric logging, batch where possible and back off on 429 responses.
How do I fetch experiment metrics through Jentic?
Search Jentic for 'fetch comet ml experiment metrics', load the operation schema for GET /experiments/{experimentKey}/metrics, and execute with the target experiment key. The Jentic Python SDK pattern is await client.search(...), await client.load(...), await client.execute(...).
Does the Comet ML REST API support listing assets attached to an experiment?
Yes. GET /experiments/{experimentKey}/assets returns metadata for assets logged to the experiment, including images, models, and arbitrary files. Use the asset id from the response to download specific files.
/projects
List projects
/write/experiment/metric
Log a metric to an experiment
/write/experiment/parameter
Log a parameter to an experiment