cliProvider-backed
Get radar credits
pipeline get-radar-credits
Read the selected workspace Radar credit balance. Pipeline BYOK operations are separate.
Parameters
workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
workspace_id
string
Workspace UUID
Example
CLI commandbash
pipeline get-radar-credits
Response
Success response schemajson schema
{"type": "object","properties": {"balance": {"type": "number"},"unit": {"type": "string"}},"required": ["balance","unit"]}
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.