Private beta · Early access
Platform
Logs
Logs list your skill runs and other calls. Read them in the dashboard or from the API.
Private beta. InferenceIndex is changing fast. Models, endpoints, pricing and these docs may change without notice, so check back before you build on a detail.
Each call you make to the API shows up in your logs. Read them in the dashboard, or with GET /v1/logs.
What a log shows
A skill run is one entry, with its steps, its cost, and its outcome. Every other request, such as one that names no skill, is an entry of its own. Each entry shows:
- When it ran
- Its tokens and cost
- For a skill run, whether it completed, fell short, or is still unanswered
A run is marked completed or fell short when your user answers its question with POST /v1/feedback, as on the quickstart. A run that is still going, or was left partway, shows as unfinished.
Logs keep tool and field names, margins, and counts. They do not keep your argument values or your tools' results.
Where to read them
Open https://app.inferenceindex.com and sign in. Logs are in the dashboard.
Read them from code
The same logs are on the API, with your key:
curl "https://api.inferenceindex.com/v1/logs?show=runs&status=fell_short" \
-H "Authorization: Bearer YOUR_KEY"GET /v1/logs lists your entries, newest first. Each query parameter is optional:
| Parameter | What it does |
|---|---|
show | runs for skill runs only, or requests for the other requests only |
skill_id | Only this skill's runs, skl_… |
status | unanswered, completed, or fell_short |
source | chat_completions for chat completions only |
limit | 1 to 200. The default is 50. |
before | An ISO date-time. Entries before it, for the next page. |
GET /v1/runs/run_… reads one run: its steps, each step's choice and margins, its checks and verdict, every answer to its question, and each step's charges. The run_id is the one in the run's inferenceindex.check.
Another account's run answers 404, the same as one that doesn't exist.
Logs are for reviewing your own calls. SOC 2 is in progress.