> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Get Credits

- Component: `appmixer.cloro.core.GetCredits`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.cloro 1.0.0](https://connectors.appmixer.com/connector/appmixer.cloro/1.0.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.cloro/1.0.0/component/appmixer.cloro.core.GetCredits>

Get the credit balance of the connected cloro account. This call uses no credits.

## Input ports

### Port `in`

_No fields defined for this port._

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Remaining Credits (`remaining`) | integer | - |
| Credits Per Cycle (`perCycle`) | integer | - |
| Cycle Resets At (`cycleResetsAt`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.cloro.core.GetCredits",
  "label": "Get Credits",
  "description": "Get the credit balance of the connected cloro account. This call uses no credits.",
  "author": "cloro <info@cloro.dev>",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:cloro"
  },
  "quota": {
    "manager": "appmixer:cloro",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {}
      },
      "inspector": {
        "inputs": {}
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "schema": {
        "type": "object",
        "properties": {
          "remaining": {
            "type": "integer",
            "title": "Remaining Credits",
            "example": 12500
          },
          "perCycle": {
            "type": "integer",
            "title": "Credits Per Cycle",
            "example": 25000
          },
          "cycleResetsAt": {
            "type": "string",
            "title": "Cycle Resets At",
            "example": "2026-12-01T00:00:00.000Z"
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
