Skip to main content

Pull agent usage data and import Ossie models

📊 Access usage and credit grants data​

Admins need a clearer picture of who’s using credits, and on what.

Agent Usage and Credit Spend API endpoints let Admins pull historical agent activity and credit purchase data from their Hex workspace.

Use the data to:

  • Create daily usage reports to track credit consumption trends
  • Attribute costs by user or group for chargebacks
  • Monitor budgets by setting up alerts for spending thresholds
  • Generate finance reports with detailed use and purchase data

Access this data via API, or pull it directly into your agent or terminal through the Hex MCP server or CLI.

Available to workspace Admins on Enterprise plans.

⬆️ Import Apache Ossie models​

If you’ve already defined your business logic in Apache Ossie, bringing it into Hex shouldn’t mean rebuilding the model by hand. Now you can convert an Ossie model into Hex semantic-project YAML with the Hex CLI:

hex context semantic-project convert \
--from=ossie \
--to=hex \
--input your-model.ossie.yaml \
--output ./hex-model/

This one-way conversion saves files locally for review.

To bring them into your workspace, configure sync for a semantic project in Settings → Data sources → Semantic projects. Test the changes on a dev branch, then merge to main to import them into Hex.