Get your API key
Sign up at app.pikarc.dev and copy your API key from Settings > API Key. The key format is
lg_<prefix>_<secret>.See it in the dashboard
Open your dashboard to see the run, step timeline, token usage, and cost breakdown.
What just happened?
guard.run()calledPOST /v1/runs/— Pikarc checked the kill switch, budgets, and concurrency limits. The run was ALLOWED.run.model_call()calledPOST /v1/runs/{id}/steps— Pikarc evaluated guardrails again before the model call.- After OpenAI responded, the SDK called
PATCH /v1/runs/{id}/steps/{step_id}to report token usage and duration. - When the
async withblock exited, the SDK calledPOST /v1/runs/{id}/endto mark the run as COMPLETED.
PikarcBlockedError would have been raised before the model call executed.
Next steps
- Add tool call guardrails — wrap tool executions too
- Configure budgets — set workspace and per-user daily limits
- Understand deny reasons — handle all 7 deny reason codes